Skip to content

Scheduled weekly dependency update for week 18#18

Closed
pyup-bot wants to merge 4 commits intomainfrom
pyup-scheduled-update-2022-05-02
Closed

Scheduled weekly dependency update for week 18#18
pyup-bot wants to merge 4 commits intomainfrom
pyup-scheduled-update-2022-05-02

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented May 2, 2022

Update Babel from 2.9.1 to 2.10.1.

Changelog

2.10.1

--------------

This is a bugfix release for Babel 2.10.0.

* Messages: Fix ``distutils`` import. Regressed in :gh:`843`. (:gh:`852`) - Nehal J Wani
* The wheel file is no longer marked as universal, since Babel only supports Python 3.

2.10.0

--------------

Upcoming deprecation
~~~~~~~~~~~~~~~~~~~~

* The ``get_next_timezone_transition()`` function is marked deprecated in this version and will be removed
likely as soon as Babel 2.11.  No replacement for this function is planned; based on discussion in
:gh:`716`, it's likely the function is not used in any real code. (:gh:`852`) - Aarni Koskela, Paul Ganssle

Improvements
~~~~~~~~~~~~

* CLDR: Upgrade to CLDR 41.0. (:gh:`853`) - Aarni Koskela

* The ``c`` and ``e`` plural form operands introduced in CLDR 40 are parsed, but otherwise unsupported. (:gh:`826`)
* Non-nominative forms of units are currently ignored.

* Messages: Implement ``--init-missing`` option for ``pybabel update`` (:gh:`785`) - ruro
* Messages: For ``extract``, you can now replace the built-in ``.*`` / ``_*`` ignored directory patterns
with ones of your own. (:gh:`832`) - Aarni Koskela, Kinshuk Dua
* Messages: Add ``--check`` to verify if catalogs are up-to-date (:gh:`831`) - Krzysztof Jagiełło
* Messages: Add ``--header-comment`` to override default header comment (:gh:`720`) - Mohamed Hafez Morsy, Aarni Koskela
* Dates: ``parse_time`` now supports 12-hour clock, and is better at parsing partial times.
(:gh:`834`) - Aarni Koskela, David Bauer, Arthur Jovart
* Dates: ``parse_date`` and ``parse_time`` now raise ``ParseError``, a subclass of ``ValueError``, in certain cases.
(:gh:`834`) - Aarni Koskela
* Dates: ``parse_date`` and ``parse_time`` now accept the ``format`` parameter.
(:gh:`834`) - Juliette Monsel, Aarni Koskela

Infrastructure
~~~~~~~~~~~~~~

* The internal ``babel/_compat.py`` module is no more (:gh:`808`) - Hugo van Kemenade
* Python 3.10 is officially supported (:gh:`809`) - Hugo van Kemenade
* There's now a friendly GitHub issue template. (:gh:`800`) – Álvaro Mondéjar Rubio
* Don't use the deprecated format_number function internally or in tests - Aarni Koskela
* Add GitHub URL for PyPi (:gh:`846`) - Andrii Oriekhov
* Python 3.12 compatibility: Prefer setuptools imports to distutils imports (:gh:`843`) - Aarni Koskela
* Python 3.11 compatibility: Add deprecations to l*gettext variants (:gh:`835`) - Aarni Koskela
* CI: Babel is now tested with PyPy 3.7. (:gh:`851`) - Aarni Koskela

Bugfixes
~~~~~~~~

* Date formatting: Allow using ``other`` as fallback form (:gh:`827`) - Aarni Koskela
* Locales: ``Locale.parse()`` normalizes variant tags to upper case (:gh:`829`) - Aarni Koskela
* A typo in the plural format for Maltese is fixed. (:gh:`796`) - Lukas Winkler
* Messages: Catalog date parsing is now timezone independent. (:gh:`701`) - rachele-collin
* Messages: Fix duplicate locations when writing without lineno (:gh:`837`) - Sigurd Ljødal
* Messages: Fix missing trailing semicolon in plural form headers (:gh:`848`) - farhan5900
* CLI: Fix output of ``--list-locales`` to not be a bytes repr (:gh:`845`) - Morgan Wahl

Documentation
~~~~~~~~~~~~~

* Documentation is now correctly built again, and up to date (:gh:`830`) - Aarni Koskela
Links

Update docutils from 0.17.1 to 0.18.1.

Changelog

0.18.1

==============

.. Note::

Docutils 0.18.x is the last version supporting Python 2.7, 3.5, and 3.6.

* nodes.Node.traverse() returns a list again to restore
backwards compatibility (fixes bug 431).

* Small bugfixes (see HISTORY_).

0.18

=========================

* Output changes:

Identifiers:
 During `identifier normalization`_, leading number and hyphen
 characters are no longer stripped from a `reference name`_, if the
 id_prefix_ setting is non-empty.

 Example:
   with ``--id-prefix="DU-"``, a section with title "34. May"
   currently gets the identifier key ``DU-may`` and after the
   change the identifier key ``DU-34-may``.

 The default value for the auto_id_prefix_ setting changed to ``%``:
 "use the tag name as prefix for auto-generated IDs".
 Set auto_id_prefix_ to ``id`` for unchanged auto-IDs.

HTML5:
 Use the semantic tag <aside> for footnote text and citations, topics
 (except abstract and toc), admonitions, and system messages.
 Use <nav> for the Table of Contents.

 Make "auto" table column widths the default: Only specify column
 widths, if the `"widths" option`_ is set and not "auto".
 The table-style__ setting "colwidths-grid" restores the current default.

 .. _"widths" option: __ docs/ref/rst/directives.htmltable
 __ docs/user/config.htmltable-style

 Items of a definition list with class argument "details" are
 converted to `details disclosure elements`_. Example::

   ..class:: details

   Summary
     This additional information should be hidden.

 Do not add "compound-first", "compound-middle", or "compound-last" to
 elements nested in a compound. Use child selector and ":first-child",
 ":last-child" pseudo classes instead.
 Use class value "backrefs" instead of "fn-backref" for a span of
 back-references.

 Write footnote brackets and field term colons to HTML, so that they
 are present also without CSS and when copying text.

 Move space character between section number and heading into
 "sectnum" span.

math-output: html
 Support more commands, fix mapping of commands to Unicode characters.
 Scale variable sized operators and big delimiters with CSS.
 Don't use <tt> element (deprecated in HTML5).
 Use STIX fonts if available.

LaTeX:
  `legacy_class_functions`_ setting default changed to "False",
  admonitions are now environments.

* New standard Docutils doctree node: <meta__>.

* New configuration settings:
[latex writers] legacy_column_widths_ and
[html5 writer] image_loading_.

* Removed files:
``iepngfix.htc`` and ``blank.gif`` (IE 6 workaround for `s5_html`).

* Removed sub-module:
``parsers.rst.directives.html``
(Meta directive moved to ``parsers.rst.directives.misc``.)

* Removed function: utils.unique_combinations()
(obsoleted by itertools.combinations()).

* Removed attribute: ``HTMLTranslator.topic_classes``
(check node.parent.classes instead).

* Major refactoring and fixes/additions in
``docutils/utils/math/math2html.py`` and
``docutils/utils/math/latex2mathml.py``
(mathematical notation in HTML, cf. `LaTeX syntax for mathematics`_).

* nodes.Node.traverse() returns an iterator instead of a list.

* Various bugfixes and improvements (see HISTORY_).

Fix spelling errors in documentation and docstrings.
Thanks to Dimitri Papadopoulos.

__ docs/ref/doctree.htmlmeta
.. _identifier normalization:
docs/ref/rst/directives.htmlidentifier-normalization
.. _id_prefix: docs/user/config.htmlid-prefix
.. _auto_id_prefix: docs/user/config.htmlauto-id-prefix
.. _details disclosure elements:
 https://www.w3.org/TR/html52/interactive-elements.html#the-details-element
.. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
.. _legacy_column_widths: docs/user/config.htmllegacy-column-widths
Links

Update Jinja2 from 3.1.1 to 3.1.2.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update Pygments from 2.11.2 to 2.12.0.

Changelog

2.12.0

--------------
(released April 24th, 2022)

- Added lexers:

* Cplint (2045)
* Macaulay2 (1791)
* Minecraft (2107)
* Qlik (1925)
* ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` (2112)

- Updated lexers:

* Agda: Update keyword list (2017)
* C family: Fix identifiers after ``case`` statements (2084)
* Clojure: Highlight ratios (2042)
* Csound: Update to 6.17 (2064)
* CSS: Update the list of properties (2113)
* Elpi:

 - Fix catastrophic backtracking (2053, 2061)
 - Fix handling of ``->`` (2028)

* Futhark: Add missing tokens (2118)
* Gherkin: Add ``But`` (2046)
* Inform6: Update to 6.36 (2050)
* JSON: Support C comments in JSON (2049). Note: This doesn't mean the JSON parser now supports JSONC or JSON5 proper, just that it doesn't error out when seeing a ``/* */`` or ``//`` style comment. If you need proper comment handling, consider using the ``JavaScript`` lexer.
* LilyPond:

 - Fix incorrect lexing of names containing a built-in (2071)
 - Fix properties containing dashes (2099)

* PHP: Update builtin function and keyword list (2054, 2056)
* Scheme: Various improvements (2060)
* Spice: Update the keyword list, add new types (2063, 2067)
* Terraform:

 - Support non-idiomatic comments (2065, 2066)
 - Fix class name lexing (2097)

- Add ``plugins`` argument to ``get_all_lexers()``.
- Bump minimal Python version to 3.6 (2059)
- Fix multiple lexers marking whitespace as ``Text`` (2025)
- Remove various redundant uses of ``re.UNICODE`` (2058)
- Associate ``.resource`` with the Robot framework (2047)
- Associate ``.cljc`` with Clojure (2043)
- Associate ``.tpp`` with C++ (2031)
- Remove traces of Python 2 from the documentation (2039)
- The ``native`` style was updated to meet the WCAG AAA contrast guidelines (2038)
- Fix various typos (2030)
- Fix ``Groff`` formatter not inheriting token styles correctly (2024)
- Various improvements to the CI (2036)
- The Ada lexer has been moved to a separate file (2117)
- When ``linenos=table`` is used, the ``<table>`` itself is now wrapped with a ``<div class="highlight">`` tag instead of placing it inside the ``<td class="code">`` cell (632.) With this change, the output matches the documented behavior.

.. note::

If you have subclassed ``HtmlFormatter.wrap``, you may have to adjust the logic.
Links

@pyup-bot pyup-bot added the update label May 2, 2022
@veit veit closed this Jun 27, 2022
@veit veit deleted the pyup-scheduled-update-2022-05-02 branch June 27, 2022 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants