Skip to content

Commit

Permalink
build/pkgs/babel/install-requires.txt: increase lower bound
Browse files Browse the repository at this point in the history
Require at least babel-2.11.0 for the bugfix,

  * Use email.Message for pofile header parsing instead of the deprecated
    cgi.parse_header function. :gh:`876` - Aarni Koskela

This avoids deprecation warnings that cause some of our doctests to
fail; for example,

  sage: sage_getdoc(foo)
  DeprecationWarning: 'cgi' is deprecated and slated for removal in Python
  3.13
  'Construct a Foo.\n'

in src/doc/en/developer/coding_basics.rst.
  • Loading branch information
orlitzky committed Aug 31, 2023
1 parent af2488f commit 0cb24ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/babel/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
babel >=2.6.0
babel >=2.11.0

0 comments on commit 0cb24ce

Please sign in to comment.