Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4
->v5
==2.1.5
->==3.0.2
v2
->v3
1.25.0
->1.29.0
1.25.0
->1.29.0
14.7-alpine
->17.2-alpine
^5.0.0
->^6.0.0
>=3.9,<3.13
->>=3.13,<3.14
2.9.0.post0
->2.9.0
20241120
->20250101
24.0.2
->26.0.7
^7.1.1
->^8.0.0
Release Notes
actions/setup-python (actions/setup-python)
v5
Compare Source
pallets/markupsafe (markupsafe)
v3.0.2
Compare Source
Released 2024-10-18
__str__
returns astr
subclass. :issue:472
475
v3.0.1
Compare Source
Released 2024-10-08
466
467
v3.0.0
Compare Source
Released 2024-10-07
461
pyproject.toml
instead ofsetup.cfg
.:pr:
348
distutils
imports tosetuptools
. :pr:399
400
Markup
methods to matchstr
signatures. Usepositional-only arguments. :pr:
400
str
methods onMarkup
no longer escape their argument:strip
,lstrip
,rstrip
,removeprefix
,removesuffix
,partition
, andrpartition
;replace
only escapes itsnew
argument. These methods are conceptually linked to search methods such as
in
,find
, andindex
, which already do not escape their argument.:issue:
401
__version__
attribute is deprecated. Use feature detection, orimportlib.metadata.version("markupsafe")
, instead. :pr:402
434
437
nick-invision/retry (nick-invision/retry)
v3
Compare Source
pytest-dev/pytest-cov (pytest-cov)
v6.0.0
Compare Source
Now it will perform the check just like
coverage report
would.--cov-precision
cli option that can override the value set in your coverage configuration.containerbase/python-prebuild (python)
v3.13.1
Compare Source
Bug Fixes
v3.13.0
Compare Source
Bug Fixes
dateutil/dateutil (python-dateutil)
v2.9.0
Compare Source
Version 2.9.0 (2024-02-29)
Data updates
Features
dateutil
submodules lazily imported using PEP 562. On Python 3.7+, things likeimport dateutil; dateutil.tz.gettz("America/New_York")
will now work without explicitly importingdateutil.tz
, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier. Fixed by Orson Adams. (gh issue #771, gh pr #1007)Bugfixes
datetime.utcfromtimestamp
, which is deprecated as of Python 3.12. Reported by Hugo van Kemenade (gh pr #1284), fixed by Thomas Grainger (gh pr #1285).Documentation changes
sphinx-doc/sphinx (sphinx)
v8.1.3
: Sphinx 8.1.3Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes/8.1.html
Bugs fixed
cut_lines()
with no object type. Patch by Adam Turner.v8.1.2
: Sphinx 8.1.2Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes/8.1.html
Bugs fixed
sphinx.errors.ExtensionError
insphinx.util
for backwards compatibility. This will be removed in Sphinx 9, as exposing the exception insphinx.util
was never intentional.ExtensionError
has been part ofsphinx.errors
since Sphinx 0.9. Patch by Adam Turner.v8.1.1
: Sphinx 8.1.1Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes/8.1.html
Bugs fixed
the
:cve:
role.Patch by Hugo van Kemenade.
fontawesome
orfontawesome5
packages are not installed.Patch by Jean-François B.
v8.1.0
: Sphinx 8.1.0Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes/8.1.html
Dependencies
sphinxcontrib-*
dependencies.Patch by Adam Turner.
parskip
package from 2001 to 2018.Patch by Jean-François B.
Incompatible changes
sphinx.util.Tee
.Patch by Adam Turner.
fvset
default is changed to'\\fvset{fontsize=auto}'
from'\\fvset{fontsize=\\small}'
.Code-blocks are unchanged as FreeMono is now loaded with
Scale=0.9
.An adjustment to existing projects is needed only if they used a custom
fontpkg
configuration and did not setfvset
.Patch by Jean-François B.
zh_CN
andzh_TW
by default.Patch by A. Rafey Khan.
Deprecated
sphinx.util.import_object
.Use
importlib.import_module()
instead.Patch by Adam Turner.
sphinx.util.FilenameUniqDict
and
sphinx.util.DownloadFiles
.Patch by Adam Turner.
Features added
output files.
Patch by James Addison.
contents
,topic
,and
sidebar
directives separately customizable for PDF output.Patch by Jean-François B. and Bénédikt Tran.
Patch by Tim Hoffmann.
math_numsep
support to latex builder.Patch by Thomas Fanning and Jean-François B.
--fail-on-warning
is used.Instead, exit with a non-zero status if any warnings were generated
during the build.
Patch by Adam Turner.
sphinx-build --exception-on-warning
,to raise an exception when warnings are emitted during the build.
Patch by Adam Turner and Jeremy Maitin-Shepard.
html_last_updated_use_utc
to allow usinguniversal time (GMT/UTC) instead of local time for the date-time
supplied to
html_last_updated_fmt
.Patch by Adam Turner.
'%Y'
placeholderto substitute the current year.
This is helpful for reducing the reliance on Python modules
such as
time
ordatetime
inconf.py
.Patch by Adam Turner.
:cve:
)and CWEs (
:cwe:
).Patch by Hugo van Kemenade.
Patch by Jakub Stasiak and Adam Turner.
.Builder.supported_linkcode
attributefor builders to enable use of
sphinx.ext.linkcode
-generatedreferences.
Patch by James Knight.
This can be helpful in diagnosing the cause of a full rebuild.
Patch by Adam Turner.
Bugs fixed
intersphinx_cache_limit
.Patch by Shengyu Zhang.
Overfull \hbox
from too longstrings in a codeline when the problem has actually been solved thanks
to
latexsphinxsetupforcewraps
.Patch by Jean-François B.
UnreferencedFootnotesDetector
transform has been improvedto more consistently detect unreferenced footnotes.
Note, the priority of the transform has been changed from 200 to 622,
so that it now runs after the docutils
Footnotes
resolution transform.Patch by Chris Sewell.
'sphinxsetup'
div.topic_box-shadow
key if used with only one dimension set bothx-offset and y-offset as per documentation.
Patch by Jean-François B.
resolution occurs due to duplicate targets that differ case-insensitively.
Patch by James Addison.
Patch by Hugo van Kemenade.
Patch by Jeremy Bowman.
-q
(quiet) option forsphinx-build -M latexpdf
ormake latexpdf
(O=-q
)get passed to
latexmk
. Let-Q
(silent) apply as well to the PDF build phase.
Patch by Jean-François B.
rise to nested
\DUrole
's, rather than a single one with comma separatedclasses.
Patch by Jean-François B.
Patch by Jean-François B.
references in the sense of RFC 3986, §4.4,
e.g.,
index.html#foo
becomes#foo
.(note: continuation of a partial fix added in Sphinx 7.3.0)
Patch by James Addison (with reference to prior work by Eric Norige).
Patch by Jean-François B. and Bénédikt Tran.
file URL (user-defined base URL of an intersphinx project are left untouched
even if they end with double forward slashes).
Patch by Bénédikt Tran.
even if there are fewer than 6 documents.
Patch by Matthias Geier.
:noindex:
for thejs:module
and
py:module
directives.Patch by Stephen Finucane.
_t
suffix during
apidoc
RST rendering (regression in 7.4.0).Patch by James Addison.
SOURCE_DATE_EPOCH
for entries that match the current system clock year,and disallow substitution of future years.
Patch by James Addison and Adam Turner.
intersphinx_cache_limit
,which always kept the cache for positive values, and always refreshed it for
negative ones.
Patch by Nico Madysa.
and ensure deterministic resolution of global toctree in parallel builds
by choosing the lexicographically greatest parent document.
Patch by A. Rafey Khan
for Chinese languages.
Patch by Adam Turner.
.Builder.write
is typed asfinal
, meaning that thewrite-started
event may be relied upon by extensions.A new
.Builder.write_documents
method has been added tocontrol how documents are written.
This is intended for builders that do not output a file for each document.
Patch by Adam Turner.
Testing
karma
JavaScript test framework tothe actively-maintained
jasmine
framework. Test coverage is unaffected.Patch by James Addison.
v8.0.2
: Sphinx 8.0.2Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes.html
v8.0.1
: Sphinx 8.0.1Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes.html
v8.0.0
: Sphinx 8.0.0Compare Source
Changelog: https://www.sphinx-doc.org/en/master/changes.html
Dependencies
Incompatible changes
Remove deprecated functions from
sphinx.util
:sphinx.util.path_stabilize
(use
sphinx.util.osutil.path_stabilize
).sphinx.util.display_chunk
(use
sphinx.util.display.display_chunk
).sphinx.util.status_iterator
(use
sphinx.util.display.status_iterator
).sphinx.util.SkipProgressMessage
(use
sphinx.util.display.SkipProgressMessage
).sphinx.util.progress_message
(use
sphinx.util.display.progress_message
).sphinx.util.epoch_to_rfc1123
(use
sphinx.http_date.epoch_to_rfc1123
).sphinx.util.rfc1123_to_epoch
(use
sphinx.http_date.rfc1123_to_epoch
).sphinx.util.save_traceback
(use
sphinx.exceptions.save_traceback
).sphinx.util.format_exception_cut_frames
(use
sphinx.exceptions.format_exception_cut_frames
).sphinx.util.xmlname_checker
(use
sphinx.builders.epub3._XML_NAME_PATTERN
).Patch by Adam Turner.
Removed
sphinx.util.osutil.cd
(use
contextlib.chdir
).Patch by Adam Turner.
Removed
sphinx.util.typing.stringify
(use
sphinx.util.typing.stringify_annotation
).Patch by Adam Turner.
#12593: Raise an error for invalid
html_sidebars
values.Patch by Adam Turner.
#12593: Raise an error in
Theme.get_config
for invalid sections.Patch by Adam Turner.
#11693: Remove support for old-style
Makefile
andmake.bat
output in
sphinx-quickstart
.#11693: Remove the
--no-use-make-mode
,-M
,--use-make-mode
, and-m
optionsfrom
sphinx-quickstart
.Patch by Adam Turner.
Removed the tuple interface to
sphinx.ext.autodoc.ObjectMember
.Patch by Adam Turner.
#12630: Sphinx 8 makes two changes to the
linkcheck
configuration defaults:linkcheck_allow_unauthorized
is nowFalse
by default.linkcheck_report_timeouts_as_broken
is nowFalse
by default.Patch by James Addison.
#12597: Change the default of
show_warning_types
from
False
toTrue
.Patch by Chris Sewell.
#12083: Remove support for the old (2008--2010) Sphinx 0.5 and Sphinx 0.6
intersphinx_mapping
format.Patch by Bénédikt Tran and Adam Turner.
#12096: Do not overwrite user-supplied files when copying assets
unless forced with
force=True
.Patch by Adam Turner.
#12646: Remove
sphinx.util.inspect.isNewType
.Use
isinstance(obj, typing.NewType)
instead on Python 3.10 and newer.Patch by Adam Turner.
Remove the long-deprecated (since Sphinx 2) alias
to
VersionChange
insphinx.directives.other
(Deprecated since Sphinx 2).
Use
sphinx.domains.changeset.VersionChange
directly.Patch by Adam Turner.
Deprecated
sphinx.ext.intersphinx.normalize_intersphinx_mapping
to
sphinx.ext.intersphinx.validate_intersphinx_mapping
.The old name will be removed in Sphinx 10.
Patch by Adam Turner.
pathlib.Path
objects to Sphinx 9.Use
os.fspath
to convert :py:class:~pathlib.Path
objects to strings,or
pathlib.Path
's methods to work with path objects.Patch by Adam Turner.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.