Skip to content

Update pylatexenc requirement from <=2.10,>=2.0 to <=2.10,>=2.10 in the minor_packages group across 1 directory#2210

Draft
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/minor_packages-588120ea0c
Draft

Update pylatexenc requirement from <=2.10,>=2.0 to <=2.10,>=2.10 in the minor_packages group across 1 directory#2210
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/minor_packages-588120ea0c

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Updates the requirements on pylatexenc to permit the latest version.
Updates pylatexenc to 2.10

Release notes

Sourced from pylatexenc's releases.

pylatexenc v2.10

Your usual share of a few bugfixes sprinkled with tweaks (see changelog for details).

Install using pip:

pip install pylatexenc

See full documentation at http://pylatexenc.readthedocs.io/.

Changelog

Sourced from pylatexenc's changelog.

pylatexenc 2.10

  • Added :py:class:pylatexenc.latexencode.PartialLatexToLatexEncoder which can help to avoid double-escaping some existing LaTeX expressions in the string that we want to LaTeX-encode.

  • The :py:class:pylatexenc.latexencode.UnicodeToTextConversionRule now has a :py:attr:~pylatexenc.latexencode.UnicodeToTextConversionRule.replacement_text_protection field which can be used to override the default replacement_text_protection set on a :py:class:pylatexenc.latexencode.UnicodeToTextEncoder object. Also the replacement_text_protection fields accept an arbitrary callable object.

  • added some known macro definitions for :py:mod:~pylatexenc.latexwalker and :py:mod:~pylatexenc.latex2text, such as \definecolor and \textcolor.

  • Bug fixes (including :issue:57)

pylatexenc 2.9

  • Bug fixes (including issues :issue:49, :issue:51, :pr:52, :pr:53, :pr:54)

pylatexenc 2.8

  • latex2text module: Basic support for array and matrix environments. Matrices are represented inline, in the form [ a b; c d ].

  • latexencode bugfix (issue :issue:44)

pylatexenc 2.7

  • Bug fix: the parser now disambiguates $$ as either a display math delimiter or two inline math delimiters as in $a$$b$ (issue :issue:43)

pylatexenc 2.6

  • In latex2text:

    • Bug fix: default behavior of the strict_latex_spaces option in the :py:class:pylatexenc.latex2text.LatexNodes2Text() constructor

    • fix \le, \ge, \leqslant, \geqslant (issue :issue:41)

    • reorganized the default latex symbol categories

... (truncated)

Commits
  • 4acd5ad version 2.10
  • a15ab26 bumped version 2.10b
  • 2a7d396 latexencode: replacement_latex_protection fields now accept a callable
  • 5a51a8e parsing support for some symbols & arrows
  • fb72666 some updates to macro definitions, added xcolor-related macros
  • cfe656b Merge pull request #61 from phfaist/partial-latex-encoder
  • 9ef8e31 removed unused imports
  • 82d46d7 fix for python2
  • 846f04c PartialLatexToLatexEncoder; also UnicodeToLatexConversionRule-s enable overri...
  • 0b59eb1 moved code in latexencode/init.py into separate internal source file
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Issue related to libraries we depend on and how we interface with them run_benchmarks Run timing benchmarks on this PR against current master branch skip_changelog No need to update changelog on this PR labels May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

Memory benchmark result

|               Test Name                |      %Δ      |    Master (MB)     |      PR (MB)       |    Δ (MB)    |    Time PR (s)     |  Time Master (s)   |
| -------------------------------------- | ------------ | ------------------ | ------------------ | ------------ | ------------------ | ------------------ |
  test_objective_jac_w7x                 |    4.28 %    |     3.921e+03      |     4.089e+03      |    167.84    |       32.36        |       29.95        |
  test_proximal_jac_w7x_with_eq_update   |    1.42 %    |     6.577e+03      |     6.671e+03      |    93.35     |       158.45       |       153.89       |
  test_proximal_freeb_jac                |    0.24 %    |     1.335e+04      |     1.338e+04      |    32.59     |       79.73        |       79.02        |
  test_proximal_freeb_jac_blocked        |    0.59 %    |     7.629e+03      |     7.674e+03      |    45.20     |       70.10        |       69.78        |
  test_proximal_freeb_jac_batched        |   -0.67 %    |     7.647e+03      |     7.596e+03      |    -51.03    |       69.38        |       68.38        |
  test_proximal_jac_ripple               |   -1.27 %    |     3.498e+03      |     3.453e+03      |    -44.31    |       53.54        |       53.06        |
  test_proximal_jac_ripple_bounce1d      |    1.62 %    |     3.720e+03      |     3.780e+03      |    60.29     |       69.57        |       66.94        |
  test_eq_solve                          |   -0.37 %    |     2.031e+03      |     2.023e+03      |    -7.59     |       88.33        |       87.95        |

For the memory plots, go to the summary of Memory Benchmarks workflow and download the artifact.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.34%. Comparing base (c119da0) to head (98712df).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2210   +/-   ##
=======================================
  Coverage   94.34%   94.34%           
=======================================
  Files         101      101           
  Lines       28845    28845           
=======================================
  Hits        27213    27213           
  Misses       1632     1632           

see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@YigitElma YigitElma marked this pull request as draft May 13, 2026 01:50
@dependabot dependabot Bot changed the title Update pylatexenc requirement from <=2.10,>=2.0 to <=2.10,>=2.10 in the minor_packages group Update pylatexenc requirement from <=2.10,>=2.0 to <=2.10,>=2.10 in the minor_packages group across 1 directory May 19, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/minor_packages-588120ea0c branch from e0b5669 to 87a51c1 Compare May 19, 2026 02:51
Updates the requirements on [pylatexenc](https://github.com/phfaist/pylatexenc) to permit the latest version.

Updates `pylatexenc` to 2.10
- [Release notes](https://github.com/phfaist/pylatexenc/releases)
- [Changelog](https://github.com/phfaist/pylatexenc/blob/main/doc/changes.rst)
- [Commits](phfaist/pylatexenc@v2.0...v2.10)

---
updated-dependencies:
- dependency-name: pylatexenc
  dependency-version: '2.10'
  dependency-type: direct:production
  dependency-group: minor_packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/minor_packages-588120ea0c branch from 87a51c1 to 98712df Compare May 20, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issue related to libraries we depend on and how we interface with them run_benchmarks Run timing benchmarks on this PR against current master branch skip_changelog No need to update changelog on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants