Skip to content

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

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/minor_packages-85add193c8
Open

Update pylatexenc requirement from <=2.10,>=2.0 to >=2.0,<=2.11 in the minor_packages group across 1 directory#2275
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/pip/minor_packages-85add193c8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

Sourced from pylatexenc's releases.

pylatexenc v2.11

This release pulls in some tiny fixes. The main reason to provide this release is to distribute a wheel for pip installs of the 2.x version series.

Install using pip:

pip install pylatexenc

See full documentation at http://pylatexenc.readthedocs.io/. (Note doc refers to v3alpha version.)

Changelog

Sourced from pylatexenc's changelog.

pylatexenc 2.11

  • This release pulls in some tiny fixes. The main reason to provide this release is to distribute a wheel for pip installs of the 2.x version series.

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.UnicodeToLatexConversionRule now has a :py:attr:~pylatexenc.latexencode.UnicodeToLatexConversionRule.replacement_latex_protection field which can be used to override the default replacement_latex_protection set on a :py:class:pylatexenc.latexencode.UnicodeToLatexEncoder object. Also the replacement_latex_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

... (truncated)

Commits
  • 0e936a1 doc: changelog entry for 2.11
  • cf079c3 latex2text: support \ensuremath{...}
  • 8823bec bump version to 2.11
  • ba1e58e latexencode: bring character map up to date with the v3 alpha tables
  • 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
  • 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 Jul 27, 2026
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Memory benchmark result

|               Test Name                |      %Δ      |    Master (MB)     |      PR (MB)       |    Δ (MB)    |    Time PR (s)     |  Time Master (s)   |
| -------------------------------------- | ------------ | ------------------ | ------------------ | ------------ | ------------------ | ------------------ |
  test_objective_jac_w7x                 |    2.06 %    |     4.050e+03      |     4.133e+03      |    83.27     |       33.77        |       29.53        |
  test_proximal_jac_w7x_with_eq_update   |   -0.05 %    |     6.591e+03      |     6.588e+03      |    -3.27     |       148.96       |       148.32       |
  test_proximal_freeb_jac                |    0.37 %    |     1.332e+04      |     1.336e+04      |    49.14     |       84.98        |       83.90        |
  test_proximal_freeb_jac_blocked        |    0.31 %    |     7.647e+03      |     7.671e+03      |    24.04     |       74.44        |       75.42        |
  test_proximal_freeb_jac_batched        |   -0.00 %    |     7.694e+03      |     7.694e+03      |    -0.33     |       74.84        |       75.61        |
  test_proximal_jac_ripple               |    2.48 %    |     3.520e+03      |     3.607e+03      |    87.21     |       52.10        |       51.60        |
  test_proximal_jac_ripple_bounce1d      |    0.84 %    |     3.701e+03      |     3.732e+03      |    31.02     |       66.39        |       64.78        |
  test_eq_solve                          |   -0.53 %    |     2.093e+03      |     2.082e+03      |    -11.05    |       52.77        |       51.96        |
  test_objective_quadratic_flux_jac      |   -0.71 %    |     2.537e+03      |     2.518e+03      |    -18.09    |       55.60        |       55.36        |

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

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.35%. Comparing base (d4ddab0) to head (fcf98d0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2275      +/-   ##
==========================================
+ Coverage   94.31%   94.35%   +0.04%     
==========================================
  Files         101      101              
  Lines       28897    28897              
==========================================
+ Hits        27254    27267      +13     
+ Misses       1643     1630      -13     

see 7 files with indirect coverage changes

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

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor
|             benchmark_name             |         dt(%)          |         dt(s)          |        t_new(s)        |        t_old(s)        | 
| -------------------------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- |
 test_build_transform_fft_lowres         |     +0.59 +/- 2.95     | +5.00e-03 +/- 2.52e-02 |  8.58e-01 +/- 1.8e-02  |  8.53e-01 +/- 1.8e-02  |
 test_equilibrium_init_lowres            |     -0.34 +/- 2.48     | -2.23e-02 +/- 1.65e-01 |  6.62e+00 +/- 8.0e-02  |  6.64e+00 +/- 1.4e-01  |
 test_objective_compile_atf              |     -0.73 +/- 4.48     | -4.26e-02 +/- 2.63e-01 |  5.83e+00 +/- 2.0e-01  |  5.87e+00 +/- 1.7e-01  |
 test_objective_compute_atf              |     +2.34 +/- 11.18    | +6.08e-05 +/- 2.90e-04 |  2.66e-03 +/- 2.3e-04  |  2.60e-03 +/- 1.7e-04  |
 test_objective_jac_atf                  |     +0.11 +/- 5.35     | +1.89e-03 +/- 9.58e-02 |  1.79e+00 +/- 5.2e-02  |  1.79e+00 +/- 8.0e-02  |
 test_perturb_1                          |     -0.03 +/- 1.67     | -3.75e-03 +/- 1.96e-01 |  1.18e+01 +/- 1.8e-01  |  1.18e+01 +/- 8.8e-02  |
 test_proximal_jac_atf                   |     +0.05 +/- 2.17     | +2.89e-03 +/- 1.20e-01 |  5.53e+00 +/- 8.4e-02  |  5.53e+00 +/- 8.6e-02  |
 test_proximal_freeb_compute             |     -2.66 +/- 5.00     | -3.94e-03 +/- 7.40e-03 |  1.44e-01 +/- 4.5e-03  |  1.48e-01 +/- 5.9e-03  |
 test_solve_fixed_iter                   |     -0.19 +/- 2.79     | -4.79e-02 +/- 7.07e-01 |  2.53e+01 +/- 4.3e-01  |  2.53e+01 +/- 5.6e-01  |
 test_LinearConstraintProjection_build   |     -0.74 +/- 5.70     | -4.91e-02 +/- 3.77e-01 |  6.55e+00 +/- 2.1e-01  |  6.60e+00 +/- 3.1e-01  |
 test_objective_compute_ripple           |     -2.03 +/- 5.73     | -4.60e-03 +/- 1.30e-02 |  2.22e-01 +/- 9.8e-03  |  2.27e-01 +/- 8.5e-03  |
 test_objective_grad_ripple              |     +1.25 +/- 2.52     | +1.25e-02 +/- 2.52e-02 |  1.01e+00 +/- 1.4e-02  |  1.00e+00 +/- 2.1e-02  |
 test_objective_quadratic_flux_compute   |     -2.28 +/- 16.28    | -1.42e-03 +/- 1.02e-02 |  6.10e-02 +/- 6.7e-03  |  6.24e-02 +/- 7.7e-03  |
 test_build_transform_fft_midres         |     -1.55 +/- 3.22     | -1.35e-02 +/- 2.80e-02 |  8.58e-01 +/- 1.6e-02  |  8.71e-01 +/- 2.3e-02  |
 test_build_transform_fft_highres        |     -0.92 +/- 3.99     | -1.06e-02 +/- 4.62e-02 |  1.15e+00 +/- 2.7e-02  |  1.16e+00 +/- 3.7e-02  |
 test_equilibrium_init_medres            |     -2.54 +/- 4.18     | -1.78e-01 +/- 2.93e-01 |  6.82e+00 +/- 2.3e-01  |  7.00e+00 +/- 1.9e-01  |
 test_objective_compile_dshape_current   |     -1.46 +/- 2.10     | -5.76e-02 +/- 8.26e-02 |  3.88e+00 +/- 6.1e-02  |  3.94e+00 +/- 5.6e-02  |
 test_objective_compute_dshape_current   |     -1.48 +/- 18.09    | -9.48e-06 +/- 1.16e-04 |  6.31e-04 +/- 8.7e-05  |  6.40e-04 +/- 7.7e-05  |
 test_objective_jac_dshape_current       |     +3.64 +/- 24.89    | +8.38e-04 +/- 5.73e-03 |  2.39e-02 +/- 4.6e-03  |  2.30e-02 +/- 3.4e-03  |
 test_perturb_2                          |     -1.89 +/- 2.24     | -2.88e-01 +/- 3.42e-01 |  1.50e+01 +/- 2.6e-01  |  1.53e+01 +/- 2.2e-01  |
 test_proximal_jac_atf_with_eq_update    |     -0.52 +/- 1.33     | -6.40e-02 +/- 1.66e-01 |  1.24e+01 +/- 8.2e-02  |  1.24e+01 +/- 1.4e-01  |
 test_proximal_freeb_jac                 |     -0.05 +/- 5.85     | -2.48e-03 +/- 2.72e-01 |  4.64e+00 +/- 1.2e-01  |  4.65e+00 +/- 2.4e-01  |
 test_solve_fixed_iter_compiled          |     +3.02 +/- 2.73     | +1.82e-01 +/- 1.64e-01 |  6.20e+00 +/- 1.2e-01  |  6.02e+00 +/- 1.1e-01  |
 test_objective_compute_ripple_bounce1d  |     -0.79 +/- 7.06     | -2.24e-03 +/- 2.01e-02 |  2.82e-01 +/- 1.1e-02  |  2.84e-01 +/- 1.7e-02  |
 test_objective_grad_ripple_bounce1d     |     +0.01 +/- 2.24     | +1.27e-04 +/- 2.20e-02 |  9.82e-01 +/- 1.3e-02  |  9.82e-01 +/- 1.7e-02  |
 test_objective_quadratic_flux_jac       |     -0.43 +/- 0.87     | -3.70e-02 +/- 7.44e-02 |  8.52e+00 +/- 5.0e-02  |  8.55e+00 +/- 5.5e-02  |

Github CI performance can be noisy. When evaluating the benchmarks, developers should take this into account.

@dependabot dependabot Bot changed the title Update pylatexenc requirement from <=2.10,>=2.0 to >=2.0,<=2.11 in the minor_packages group Update pylatexenc requirement from <=2.10,>=2.0 to >=2.0,<=2.11 in the minor_packages group across 1 directory Jul 28, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/minor_packages-85add193c8 branch 2 times, most recently from 2d489ad to 9deef87 Compare July 29, 2026 17:23
Updates the requirements on [pylatexenc](https://github.com/phfaist/pylatexenc) to permit the latest version.

Updates `pylatexenc` to 2.11
- [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.11)

---
updated-dependencies:
- dependency-name: pylatexenc
  dependency-version: '2.11'
  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-85add193c8 branch from 9deef87 to a432db6 Compare July 30, 2026 17:23
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.

2 participants