#17546 closed enhancement (fixed)

Update all python modules after merge

Reported by: pierre Owned by: pierre
Priority: normal Milestone: 11.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

A lot of python modules are out of date after merge, because the merge was done 4 months after the branch creation. See https://www.linuxfromscratch.org/~bdubbs/chapter13.html.

Update them all now. Then the policy should be to not update the modules in the python-dependencies directory, unless it is needed for the primary modules.

Change History (28)

comment:1 by pierre, 14 months ago

GI-DocGen 2022.2

Changes since 2022.1


  • Use const.*.html instead of constant.*.html for search index links
  • Remove "terms" from index.json, rewrite commandline search to work without it
  • Add interface type description
  • Fix failure to generate link to error domain
  • Make log.log() thread safe
  • Quote string constant values
  • Set the license of the generated documentation
  • Support (scope forever)
  • Add a way to frame images
  • Use the appropriate namespace for indices
  • Fix type annotations for Repository packages and c_includes
  • Add py.typed to comply with PEP561
  • Add links to external classes in the hierarchy
  • Use definition lists for callable arguments
  • Improve styles
  • Use definition lists for callable arguments
  • Clarify generated description for GError arguments
  • Clarify generated description for nullable in/out arguments
  • Add emblems for versions and stability
  • Require a sufficient minimum dependency of markdown
  • Add a "serve" command

Gi-docgen 2023.1

Added


  • Use tomlib for Python >= 3.11 and tomli/toml for Python < 3.11

Fixed


  • Use the proper link fragment for interface prerequisite

comment:2 by pierre, 14 months ago

tomllib is a core module in python-3.11. We'll be able to remove toml from python-dependencies.

comment:3 by Xi Ruoyao, 14 months ago

But are all downstream packages aware of using tomllib instead of toml?

in reply to:  3 ; comment:4 by pierre, 14 months ago

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

in reply to:  4 ; comment:5 by Xi Ruoyao, 14 months ago

Replying to pierre:

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

Ok, I'd like to add meson-python into the book later to install dbus-python "properly".

comment:6 by pierre, 14 months ago

pytest 7.2.1 (2023-01-13)

Bug Fixes

#!10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in Python 3.12.

#!10457: If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location.

#!10506: Fix bug where sometimes pytest would use the file system root directory as rootdir on Windows.

#!10607: Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel.

#!10641: Fix a race condition when creating or updating the stepwise plugin’s cache, which could occur when multiple xdist worker nodes try to simultaneously update the stepwise plugin’s cache.

pytest 7.2.0 (2022-10-23)

Deprecations

#!10012: Update pytest.PytestUnhandledCoroutineWarning to a deprecation; it will raise an error in pytest 8.

#!10396: pytest no longer depends on the py library. pytest provides a vendored copy of py.error and py.path modules but will use the py library if it is installed. If you need other py.* modules, continue to install the deprecated py library separately, otherwise it can usually be removed as a dependency.

#!4562: Deprecate configuring hook specs/impls using attributes/marks.

Instead use pytest.hookimpl() and pytest.hookspec(). For more details, see the docs.

#!9886: The functionality for running tests written for nose has been officially deprecated.

This includes:

Plain setup and teardown functions and methods: this might catch users by surprise, as setup() and teardown() are not pytest idioms, but part of the nose support.

Setup/teardown using the @with_setup decorator.

For more details, consult the deprecation docs.

#!7337: A deprecation warning is now emitted if a test function returns something other than None. This prevents a common mistake among beginners that expect that returning a bool (for example return foo(a, b) == result) would cause a test to pass or fail, instead of using assert. The plan is to make returning non-None from tests an error in the future.

Features

#!9897: Added shell-style wildcard support to testpaths.

Improvements

#!10218: @pytest.mark.parametrize() (and similar functions) now accepts any Sequence[str] for the argument names, instead of just list[str] and tuple[str, ...].

(Note that str, which is itself a Sequence[str], is still treated as a comma-delimited name list, as before).

#!10381: The --no-showlocals flag has been added. This can be passed directly to tests to override --showlocals declared through addopts.

#!3426: Assertion failures with strings in NFC and NFD forms that normalize to the same string now have a dedicated error message detailing the issue, and their utf-8 representation is expressed instead.

#!8508: Introduce multiline display for warning matching via pytest.warns() and enhance match comparison for _pytest._code.ExceptionInfo.match() as returned by pytest.raises().

#!8646: Improve pytest.raises(). Previously passing an empty tuple would give a confusing error. We now raise immediately with a more helpful message.

#!9741: On Python 3.11, use the standard library’s tomllib to parse TOML.

tomli is no longer a dependency on Python 3.11.

#!9742: Display assertion message without escaped newline characters with -vv.

#!9823: Improved error message that is shown when no collector is found for a given file.

#!9873: Some coloring has been added to the short test summary.

#!9883: Normalize the help description of all command-line options.

#!9920: Display full crash messages in short test summary info, when running in a CI environment.

#!9987: Added support for hidden configuration file by allowing .pytest.ini as an alternative to pytest.ini.

Bug Fixes

#!10150: sys.stdin now contains all expected methods of a file-like object when capture is enabled.

#!10382: Do not break into pdb when raise unittest.SkipTest() appears top-level in a file.

#!7792: Marks are now inherited according to the full MRO in test classes. Previously, if a test class inherited from two or more classes, only marks from the first super-class would apply.

When inheriting marks from super-classes, marks from the sub-classes are now ordered before marks from the super-classes, in MRO order. Previously it was the reverse.

When inheriting marks from super-classes, the pytestmark attribute of the sub-class now only contains the marks directly applied to it. Previously, it also contained marks from its super-classes. Please note that this attribute should not normally be accessed directly; use pytest.Node.iter_markers() instead.

#!9159: Showing inner exceptions by forcing native display in ExceptionGroups even when using display options other than --tb=native. A temporary step before full implementation of pytest-native display for inner exceptions in ExceptionGroups.

#!9877: Ensure caplog.get_records(when) returns current/correct data after invoking caplog.clear().

Improved Documentation

#!10344: Update information on writing plugins to use pyproject.toml instead of setup.py.

#!9248: The documentation is now built using Sphinx 5.x (up from 3.x previously).

#!9291: Update documentation on how pytest.warns() affects DeprecationWarning.

Trivial/Internal Changes

#!10313: Made _pytest.doctest.DoctestItem export pytest.DoctestItem for type check and runtime purposes. Made _pytest.doctest use internal APIs to avoid circular imports.

#!9906: Made _pytest.compat re-export importlib_metadata in the eyes of type checkers.

#!9910: Fix default encoding warning (EncodingWarning) in cacheprovider

#!9984: Improve the error message when we attempt to access a fixture that has been torn down. Add an additional sentence to the docstring explaining when it’s not a good idea to call getfixturevalue.

comment:7 by Xi Ruoyao, 14 months ago

flit-core is now 3.8.0.

in reply to:  5 ; comment:8 by pierre, 14 months ago

Replying to Xi Ruoyao:

Replying to pierre:

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

Ok, I'd like to add meson-python into the book later to install dbus-python "properly".

Sure, but please let me finish this update

comment:9 by pierre, 14 months ago

Looks like pytest does not require tomli anymore (using the core module tomllib too).

in reply to:  8 ; comment:10 by pierre, 14 months ago

Owner: changed from blfs-book to pierre
Status: newassigned

Replying to pierre:

Replying to Xi Ruoyao:

Replying to pierre:

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

Ok, I'd like to add meson-python into the book later to install dbus-python "properly".

Sure, but please let me finish this update

Hmmm, maybe I should accept the ticket :)

comment:11 by Xi Ruoyao, 14 months ago

and packaging is now 23.0.

in reply to:  10 ; comment:12 by Xi Ruoyao, 14 months ago

Replying to pierre:

Replying to pierre:

Replying to Xi Ruoyao:

Replying to pierre:

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

Ok, I'd like to add meson-python into the book later to install dbus-python "properly".

Sure, but please let me finish this update

Hmmm, maybe I should accept the ticket :)

Note to myself: I'll need to add meson_python (a Python module), pyproject-metadata (a Python module needed by meson_python), and patchelf (an utility can be used to alter rpath etc., needed by meson_python at runtime).

in reply to:  12 comment:13 by pierre, 14 months ago

Replying to Xi Ruoyao:

Replying to pierre:

Replying to pierre:

Replying to Xi Ruoyao:

Replying to pierre:

Replying to Xi Ruoyao:

But are all downstream packages aware of using tomllib instead of toml?

All the packages in the book, yes (gi-docgen was the only user actually)

Ok, I'd like to add meson-python into the book later to install dbus-python "properly".

Sure, but please let me finish this update

Hmmm, maybe I should accept the ticket :)

Note to myself: I'll need to add meson_python (a Python module), pyproject-metadata (a Python module needed by meson_python), and patchelf (an utility can be used to alter rpath etc., needed by meson_python at runtime).

patchelf could be handy in treating another problem I have seen with some rpaths of installed packages pointing to the source directory; But it should go into another ticket.

comment:14 by pierre, 14 months ago

Setuptools_scm v7.1.0

  • #748: use tomllib from stdlib
  • fix #762: handle non-ascii in setup.cfg
  • #752: implement fallback file finders for archives
  • #765: removed coding header in python template
  • declared Python 3.11 support
  • fix #759: update .git_archival.txt templates match git-describe invocation
  • fix #772: fix handling of .git-archival.txt from tagged commit

comment:15 by pierre, 14 months ago

Packaging 22.0 - 2022-12-07

  • Explicitly declare support for Python 3.11 (:issue:587)
  • Remove support for Python 3.6 (:issue:500)
  • Remove LegacySpecifier and LegacyVersion (:issue:407)
  • Add __hash__ and __eq__ to Requirement (:issue:499)
  • Add a cpNNN-none-any tag (:issue:541)
  • Adhere to PEP 685 when evaluating markers with extras (:issue:545)
  • Allow accepting locally installed prereleases with SpecifierSet (:issue:515)
  • Allow pre-release versions in marker evaluation (:issue:523)
  • Correctly parse ELF for musllinux on Big Endian (:issue:538)
  • Document packaging.utils.NormalizedName (:issue:565)
  • Document exceptions raised by functions in packaging.utils (:issue:544)
  • Fix compatible version specifier incorrectly strip trailing 0 (:issue:493)
  • Fix macOS platform tags with old macOS SDK (:issue:513)
  • Forbid prefix version matching on pre-release/post-release segments (:issue:563)
  • Normalize specifier version for prefix matching (:issue:561)
  • Improve documentation for packaging.specifiers and packaging.version. (:issue:572)
  • Marker.evaluate will now assume evaluation environment with empty extra. Evaluating markers like "extra == 'xyz'" without passing any extra in the environment will no longer raise an exception (:issue:550)
  • Remove dependency on pyparsing, by replacing it with a hand-written parser. This package now has no runtime dependencies (:issue:468)
  • Update return type hint for Specifier.filter and SpecifierSet.filter to use Iterator instead of Iterable (:issue:584)

Packaging 23.0 - 2023-01-08

  • Allow "extra" to be None in the marker environment (:issue:650)
  • Refactor tags._generic_api to use EXT_SUFFIX (:issue:607)
  • Correctly handle trailing whitespace on URL requirements (:issue:642)
  • Fix typing for specifiers.BaseSpecifier.filter() (:issue:643)
  • Use stable Python 3.11 in tests (:issue:641)
  • Correctly handle non-normalised specifiers in requirements (:issue:634)
  • Move to src/ layout (:issue:626)
  • Remove __about__ file, in favour of keeping constants in __init__ (:issue:626)

comment:16 by pierre, 14 months ago

Requests 2.28.2 (2023-01-12)

Dependencies

Requests now supports charset_normalizer 3.x. (#6261)

Bugfixes

Updated MissingSchema exception to suggest https scheme rather than http. (#6188)

comment:17 by pierre, 14 months ago

charset-normalizer 3.0.0 (2022-10-20)

Added

  • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
  • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
  • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
  • normalizer --version now specify if the current version provides extra speedup (meaning mypyc compilation whl)

Changed

  • Build with static metadata (not pyproject.toml yet)
  • Make language detection stricter
  • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

Fixed

  • CLI with opt --normalize fail when using full path for files
  • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha characters have been fed to it
  • Sphinx warnings when generating the documentation

Removed

  • Coherence detector no longer returns 'Simple English' instead returns 'English'
  • Coherence detector no longer returns 'Classical Chinese' instead returns 'Chinese'
  • Breaking: Method first() and best() from CharsetMatch
  • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflicts with ASCII)
  • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
  • Breaking: Top-level function normalize
  • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
  • Support for the backport unicodedata2

This is the last version (3.0.x) to support Python 3.6 We plan to drop it for 3.1.x

charset-normalizer 3.0.1 (2022-11-18) Fixed

Multi-bytes cutter/chunk generator did not always cut correctly (PR #233)

Changed

Speedup provided using mypy/c 0.990 on Python >= 3.7

comment:18 by pierre, 14 months ago

alabaster release:0.7.13 <2023-01-13>

:support:- backported Modernized the project: s/Travis/Circle/ for CI, README badges, setup.cfg removal, metadata refresh, etc.

:support:- backported Dropped support for Python 2 and Python <3.6. This includes various minor updates to work correctly with modern versions of Sphinx (1.6 at the very least). Thanks to Adam Turner for a pile of patches here.

Warning

This change is backwards incompatible if you're on an old Python version.

:support:- backported Tweak CSS somewhat for compatibility with modern Sphinx versions' base stylesheet.

comment:19 by pierre, 14 months ago

attrs 22.2.0 - 2022-12-21

Backwards-incompatible Changes

Python 3.5 is not supported anymore. #988

Deprecations

Python 3.6 is now deprecated and support will be removed in the next release. #1017

Changes

attrs.field() now supports an alias option for explicit __init__ argument names.

Get __init__ signatures matching any taste, peculiar or plain! The PEP 681 compatible alias option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides. #950

attrs.NOTHING is now an enum value, making it possible to use with e.g. typing.Literal. #983

Added missing re-import of attr.AttrsInstance to the attrs namespace. #987

Fix slight performance regression in classes with custom __setattr__ and speedup even more. #991

Class-creation performance improvements by switching performance-sensitive templating operations to f-strings.

You can expect an improvement of about 5% – even for very simple classes. #995

attrs.has() is now a TypeGuard for AttrsInstance. That means that type checkers know a class is an instance of an attrs class if you check it using attrs.has() (or attr.has()) first. #997

Made attrs.AttrsInstance stub available at runtime and fixed type errors related to the usage of attrs.AttrsInstance in Pyright. #999

On Python 3.10 and later, call abc.update_abstractmethods() on dict classes after creation. This improves the detection of abstractness. #1001

attrs’s pickling methods now use dicts instead of tuples. That is safer and more robust across different versions of a class. #1009

Added attrs.validators.not_(wrapped_validator) to logically invert wrapped_validator by accepting only values where wrapped_validator rejects the value with a ValueError or TypeError (by default, exception types configurable). #1010

The type stubs for attrs.cmp_using() now have default values. #1027

To conform with PEP 681, attr.s() and attrs.define() now accept unsafe_hash in addition to hash. #1065

comment:20 by pierre, 14 months ago

Babel Version 2.11.0

Upcoming deprecation

This version, Babel 2.11, is the last version of Babel to support Python 3.6. Babel 2.12 will require Python 3.7 or newer.

Improvements

  • Support for hex escapes in JavaScript string literals :gh:877 - Przemyslaw Wegrzyn
  • Add support for formatting decimals in compact form :gh:909 - Jonah Lawrence
  • Adapt parse_date to handle ISO dates in ASCII format :gh:842 - Eric L.
  • Use ast instead of eval for Python string extraction :gh:915 - Aarni Koskela

This also enables extraction from static f-strings. F-strings with expressions are silently ignored (but won't raise an error as they used to).

Infrastructure

  • Tests: Use regular asserts and pytest.raises() :gh:875 – Aarni Koskela
  • Wheels are now built in GitHub Actions :gh:888 – Aarni Koskela
  • Small improvements to the CLDR downloader script :gh:894 – Aarni Koskela
  • Remove antiquated nonzero methods :gh:896 - Nikita Sobolev
  • Remove superfluous unicode declarations :gh:905 - Lukas Juhrich
  • Mark package compatible with Python 3.11 :gh:913 - Aarni Koskela
  • Quiesce pytest warnings :gh:916 - Aarni Koskela

Bugfixes

  • Use email.Message for pofile header parsing instead of the deprecated cgi.parse_header function. :gh:876 – Aarni Koskela
  • Remove determining time zone via systemsetup on macOS :gh:914 - Aarni Koskela

Documentation

  • Update Python versions in documentation :gh:898 - Raphael Nestler
  • Align BSD-3 license with OSI template :gh:912 - Lukas Kahwe Smith

comment:21 by pierre, 14 months ago

flit_core Version 3.8

  • A project name containing hyphens is now automatically translated to use underscores for the import name (:ghpull:566).
  • New option :option:flit install --only-deps to install the dependencies of the package, but not the package itself.
  • Add support for recursive globbing (**) in sdist includes and excludes (:ghpull:550).
  • Python's bytecode cache files (pycache folders and .pyc files) are now always excluded from sdists (:ghpull:581).
  • Use tomllib in Python 3.11, rather than tomli (:ghpull:573, :ghpull:604).
  • Fix crash when unable to get a password from keyring (:ghpull:567).
  • Fix including modified files in sdist when using Mercurial (:ghpull:541).
  • Fix for some cases of determining whether a package supports Python 2 or not (:ghpull:593).
  • Fix parsing version number from code using multiple assignments (:ghpull:474).
  • Document how to use a PyPI token with :envvar:FLIT_PASSWORD (:ghpull:602).
  • Fix link to information about environment variables for pip (:ghpull:576).
  • Link to the docs for the latest stable version in package metadata (:ghpull:589).
  • Remove a mention of the toml package, which is no longer needed, from the :doc:development page (:ghpull:601).
  • The :doc:bootstrap <bootstrap> install script for flit_core accepts a new --install-root option.
  • Ensure the license file is included in packages on PyPI (:ghpull:603).

comment:22 by pierre, 14 months ago

iniconfig 2.0.0

  • add support for Python 3.7-3.11
  • drop support for Python 2.6-3.6
  • add encoding argument defaulting to utf-8
  • inline and clarify type annotations
  • move parsing code from inline to extra file
  • add typing overloads for helper methods

note:

major release due to the major changes in python versions supported + changes in packaging

the api is expected to be compatible

comment:23 by pierre, 14 months ago

Looks like building iniconfig requires hatchling instead of setuptools_scm. This brings in editables and pathspec modules, in addition to others that we already have. It also needs hatch-vcs. This one depends on hatchling and setuptools_scm...

comment:24 by pierre, 14 months ago

Sphinx Release 6.1.3 (released Jan 10, 2023)

Bugs fixed

#11116: Reverted to previous Sphinx 5 node copying method

#11117: Reverted changes to parallel image processing from Sphinx 6.1.0

#11119: Supress ValueError in the linkcheck builder

Release 6.1.2 (released Jan 07, 2023)

Bugs fixed

#11101: LaTeX: div.topic_padding key of sphinxsetup documented at 5.1.0 was implemented with name topic_padding

#11099: LaTeX: shadowrule key of sphinxsetup causes PDF build to crash since Sphinx 5.1.0

#11096: LaTeX: shadowsize key of sphinxsetup causes PDF build to crash since Sphinx 5.1.0

#11095: LaTeX: shadow of topic and contents boxes not in page margin since Sphinx 5.1.0

#11100: Fix copying images when running under parallel mode.

Release 6.1.1 (released Jan 05, 2023)

Bugs fixed

#11091: Fix util.nodes.apply_source_workaround for literal_block nodes with no source information in the node or the node’s parents.

Release 6.1.0 (released Jan 05, 2023)

Dependencies

Adopted the Ruff code linter.

Incompatible changes

#10979: gettext: Removed support for pluralisation in get_translation. This was unused and complicated other changes to sphinx.locale.

Deprecated

sphinx.util functions:

Renamed sphinx.util.typing.stringify() to sphinx.util.typing.stringify_annotation()

Moved sphinx.util.xmlname_checker() to sphinx.builders.epub3._XML_NAME_PATTERN

Moved to sphinx.util.display:

sphinx.util.status_iterator

sphinx.util.display_chunk

sphinx.util.SkipProgressMessage

sphinx.util.progress_message

Moved to sphinx.util.http_date:

sphinx.util.epoch_to_rfc1123

sphinx.util.rfc1123_to_epoch

Moved to sphinx.util.exceptions:

sphinx.util.save_traceback

sphinx.util.format_exception_cut_frames

Features added

Cache doctrees in the build environment during the writing phase.

Make all writing phase tasks support parallel execution.

#11072: Use PEP 604 (X | Y) display conventions for typing.Optional and typing.Optional types within the Python domain and autodoc.

#10700: autodoc: Document typing.NewType() types as classes rather than ‘data’.

Cache doctrees between the reading and writing phases.

Bugs fixed

#10962: HTML: Fix the multi-word key name lookup table.

Fixed support for Python 3.12 alpha 3 (changes in the enum module).

#11069: HTML Theme: Removed outdated “shortcut” link relation keyword.

#10952: Properly terminate parallel processes on programme interuption.

#10988: Speed up TocTree.resolve() through more efficient copying.

#6744: LaTeX: support for seealso directive should be via an environment to allow styling.

#11074: LaTeX: Can’t change sphinxnote to use sphinxheavybox starting with 5.1.0

Release 6.0.1 (released Jan 05, 2023)

Dependencies

Require Pygments 2.13 or later.

Bugs fixed

#10944: imgmath: Fix resolving image paths for files in nested folders.

Release 6.0.0 (released Dec 29, 2022)

Dependencies

#10468: Drop Python 3.6 support

#10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and Docutils 0.17 support. Patch by Adam Turner

Incompatible changes

#7405: Removed the jQuery and underscore.js JavaScript frameworks.

These frameworks are no longer be automatically injected into themes from Sphinx 6.0. If you develop a theme or extension that uses the jQuery, $, or $u global objects, you need to update your JavaScript to modern standards, or use the mitigation below.

The first option is to use the sphinxcontrib.jquery extension, which has been developed by the Sphinx team and contributors. To use this, add sphinxcontrib.jquery to the extensions list in conf.py, or call app.setup_extension("sphinxcontrib.jquery") if you develop a Sphinx theme or extension.

The second option is to manually ensure that the frameworks are present. To re-add jQuery and underscore.js, you will need to copy jquery.js and underscore.js from the Sphinx repository to your static directory, and add the following to your layout.html:

{%- block scripts %}

<script src="{{ pathto('_static/jquery.js', resource=True) }}"></script> <script src="{{ pathto('_static/underscore.js', resource=True) }}"></script> {{ super() }}

{%- endblock %}

Patch by Adam Turner.

#10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See Deprecated APIs for details. Patch by Adam Turner.

#10901: C Domain: Remove support for parsing pre-v3 style type directives and roles. Also remove associated configuration variables c_allow_pre_v3 and c_warn_on_allowed_pre_v3. Patch by Adam Turner.

Features added

#10924: LaTeX: adopt better looking defaults for tables and code-blocks. See latex_table_style and the pre_border-radius and pre_background-TeXcolor Additional CSS-like 'sphinxsetup' keys for the former defaults and how to re-enact them if desired.

Bugs fixed

#10984: LaTeX: Document latex_additional_files behavior for files with .tex extension.

Release 5.3.0 (released Oct 16, 2022)

#10759: LaTeX: add latex_table_style and support the 'booktabs', 'borderless', and 'colorrows' styles. (thanks to Stefan Wiehler for initial pull requests #6666, #6671)

#10840: One can cross-reference including an option value like :option:--module=foobar, :option:--module[=foobar] or :option:--module foobar. Patch by Martin Liska.

#10881: autosectionlabel: Record the generated section label to the debug log.

#10268: Correctly URI-escape image filenames.

#10887: domains: Allow sections in all the content of all object description directives (e.g. py:function). Patch by Adam Turner

Release 5.2.3 (released Sep 30, 2022)

#10878: Fix base64 image embedding in sphinx.ext.imgmath

#10886: Add :nocontentsentry: flag and global domain table of contents entry control option. Patch by Adam Turner

comment:25 by pierre, 14 months ago

sphinx_rtd_theme 1.1.1

Fixes

Fix wrapping bug on cross references (#1368)

1.1.0

Dependency Changes

Many documentation projects depend on sphinx-rtd-theme without specifying a version of the theme (unpinned) while also depending on unpinned versions of Sphinx. The latest version of sphinx-rtd-theme ideally always supports the latest version of Sphinx, but this is now guaranteed.

This release adds upper bounds to direct dependencies Sphinx and docutils which will safeguard from mixing with possibly incompatible future versions of Sphinx & docutils.

Sphinx versions supported: 1.6 to 5.2.x

Sphinx<6 (#1332)

docutils<0.18 (unchanged, but will be bumped in an upcoming release)

Features

Nicer styles for <kbd> (#967)

New styling for breadcrumbs (#1073)

Fixes

Suffixes in Sphinx version caused build errors (#1345)

Table cells with multiple paragraphs gets wrong formatting (#289)

Definition lists rendered wrongly in api docs (#1052)

Citation not styled properly (#1078)

Long URLs did not wrap (#1193)

Minor Changes

Sphinx 5.2 added to test matrix (#1348)

Python 3.10 added to test matrix (#1334)

Supplemental Docker setup for development (#1319)

Most of setup.py migrated to setup.cfg (#1116)

Jinja2 context variable sphinx_version_info is now (major, minor, -1), the patch component is always -1. Reason: It’s complicated. (#1345)

Incompatible Changes

There are no known incompatible changes in this release. Support for docutils versions 0.18 and 0.19 are scheduled for our next release.

comment:26 by pierre, 14 months ago

pytz 2022.5 has been released containing the IANA 2022e database release. There are no code changes.

pytz 2022.6, containing the 2022f IANA database, has been released. There are no code changes.

pytz 2022.7 has been released, including the IANA 2022g timezone database release. This release contains some code changes, improving runtime performance in many common use cases.

pytz 2022.7.1 has been released, containing a bug fix for a thread safety issue introduced in 2022.7. The included IANA database remains at release 2022g.

comment:27 by pierre, 14 months ago

urllib3 1.26.13

  • Deprecated the HTTPResponse.getheaders() and HTTPResponse.getheader() methods.
  • Fixed an issue where parsing a URL with leading zeroes in the port would be rejected even when the port number after removing the zeroes was valid.
  • Fixed a deprecation warning when using cryptography v39.0.0.
  • Removed the <4 in the Requires-Python packaging metadata field.

urllib3 1.26.14 Latest

  • Fixed parsing of port 0 (zero) returning None, instead of 0 (#2850)
  • Removed deprecated HTTPResponse.getheaders() calls in urllib3.contrib module.

comment:28 by pierre, 14 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits 658a4b405, 8f65da99, 10761353, and b112f0432

Note: See TracTickets for help on using tickets.