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:
==5.0.2
->==6.1.1
==6.4
->==7.0.3
==3.25.0
->==4.2.6
Release Notes
sphinx-doc/sphinx
v6.1.1
Compare Source
=====================================
Bugs fixed
util.nodes.apply_source_workaround
forliteral_block
nodeswith no source information in the node or the node's parents.
v6.1.0
Compare Source
=====================================
Dependencies
Adopted the
Ruff
_ code linter... _Ruff: https://github.com/charliermarsh/ruff
Incompatible changes
get_translation
.This was unused and complicated other changes to
sphinx.locale
.Deprecated
sphinx.util
functions:sphinx.util.typing.stringify()
to
sphinx.util.typing.stringify_annotation()
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
X | Y
) display conventions fortyping.Optional
and
typing.Optional
types within the Python domain and autodoc.typing.NewType()
types as classes rather than'data'.
Bugs fixed
enum
module).TocTree.resolve()
through more efficient copying.to allow styling.
5.1.0
v6.0.1
Compare Source
=====================================
Dependencies
Bugs fixed
v6.0.0
Compare Source
=====================================
Dependencies
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 yourJavaScript 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 theextensions
list inconf.py
, or callapp.setup_extension("sphinxcontrib.jquery")
if you develop a Sphinx themeor 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
andunderscore.js
fromthe Sphinx repository
_ to yourstatic
directory,and add the following to your
layout.html
:.. code-block:: html+jinja
{%- block scripts %} <script src="{{ pathto('_static/jquery.js', resource=True) }}"></script> <script src="{{ pathto('_static/underscore.js', resource=True) }}"></script>
{{ super() }}
{%- endblock %}
.. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/
Patch by Adam Turner.
#10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See
:ref:
dev-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
andc_warn_on_allowed_pre_v3
. Patch by Adam Turner.Features added
See :confval:
latex_table_style
and thepre_border-radius
andpre_background-TeXcolor
:ref:additionalcss
for the former defaultsand how to re-enact them if desired.
Bugs fixed
latex_additional_files
behavior for fileswith
.tex
extension.v5.3.0
Compare Source
=====================================
latex_table_style
and support the'booktabs'
,'borderless'
, and'colorrows'
styles.(thanks to Stefan Wiehler for initial pull requests #6666, #6671)
:option:`--module=foobar```,
:option:--module[=foobar]``` or ``:option:
--module foobar```.Patch by Martin Liska.
directives (e.g. :rst:dir:
py:function
). Patch by Adam Turnerv5.2.3
Compare Source
=====================================
sphinx.ext.imgmath
:nocontentsentry:
flag and global domain table of contentsentry control option. Patch by Adam Turner
v5.2.2
Compare Source
=====================================
Patch by Dominic Davis-Foster.
v5.2.1
=====================================
Bugs fixed
pycon3
lexer topycon
.sphinx.ext.autosummary
with modules containing titles in themodule-level docstring.
v5.2.0.post0
===========================================
v5.2.0
Compare Source
===========================================
v5.1.1
Compare Source
=====================================
Bugs fixed
deque
basedsphinx.ext.napolean
iterator implementation.
v5.1.0
Compare Source
=====================================
Dependencies
Docutils 0.19
_. Patch by Adam Turner... _Docutils 0.19: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-19-2022-07-05
Deprecated
sphinx.util.stemmer
in favour ofsnowballstemmer
.Patch by Adam Turner.
sphinx.ext.napoleon.iterators
.Features added
stylesheet
setting in
theme.conf
or by settinghtml_style
to an iterable of strings.option
directives through a new :confval:
option_emphasise_placeholders
configurationoption.
making whitespace issues easier to identify.
conf.py
file. Patch byPradyun Gedam.
'sphinxsetup' <latexsphinxsetup>
keys allow to configure four separate border-widths, four paddings, four
corner radii, a shadow (possibly inset), colours for border, background, shadow
for each of the code-block, topic, attention, caution, danger, error and warning
directives.
<aside>
element whenusing Docutils 0.18 or later, to allow for easier styling. This matches the
behaviour introduced in Docutils 0.19. Patch by Adam Turner.
include_patterns
as the opposite ofexclude_patterns
.Patch by Adam Turner.
Bugs fixed
to missing
Node.findall()
(refs: #10251)
+
,-
,~
, and**
). Patch by Adam Turner (refs: #10551).agogo.css_t
.on next page
\color
commands in topic or admonition boxes maycause color leaks in PDF due to upstream
framed.sty <https://ctan.org/pkg/framed>
_bug
diffs using Pygments style
'manni'
) inherit thickness of code-block frame\label
is generated fordesc_signature
nodeeven if it has multiple node IDs
using
:any:
and autodoc.nedbat/coveragepy
v7.0.3
Compare Source
step could fail with
assert row is not None
using 7.0.2. This was due toa race condition that has always been possible and is still possible. In
7.0.1 and before, the error was silently swallowed by the combining code.
Now it will produce a message "Couldn't combine data file" and ignore the
data file as it used to do before 7.0.2. Closes
issue 1522
_... _issue 1522:https://github.com/nedbat/coveragepy/issues/15222
.. _changes_7-0-2:
v7.0.2
Compare Source
Fix: when using the
[run] relative_files = True
setting, a relative[paths]
pattern was still being made absolute. This is now fixed,closing
issue 1519
_.Fix: if Python doesn't provide tomllib, then TOML configuration files can
only be read if coverage.py is installed with the
[toml]
extra.Coverage.py will raise an error if TOML support is not installed when it sees
your settings are in a .toml file. But it didn't understand that
[tools.coverage]
was a valid section header, so the error wasn't reportedif you used that header, and settings were silently ignored. This is now
fixed, closing
issue 1516
_.Fix: adjusted how decorators are traced on PyPy 7.3.10, fixing
issue 1515
_.Fix: the
coverage lcov
report did not properly implement the--fail-under=MIN
option. This has been fixed.Refactor: added many type annotations, including a number of refactorings.
This should not affect outward behavior, but they were a bit invasive in some
places, so keep your eyes peeled for oddities.
Refactor: removed the vestigial and long untested support for Jython and
IronPython.
.. _issue 1515:https://github.com/nedbat/coveragepy/issues/15155
.. _issue 1516https://github.com/nedbat/coveragepy/issues/151616
.. _issue 151https://github.com/nedbat/coveragepy/issues/1519519
.. _changes_7-0-1:
v7.0.1
Compare Source
When checking if a file mapping resolved to a file that exists, we weren't
considering files in .whl files. This is now fixed, closing
issue 1511
_.File pattern rules were too strict, forbidding plus signs and curly braces in
directory and file names. This is now fixed, closing
issue 1513
_.Unusual Unicode or control characters in source files could prevent
reporting. This is now fixed, closing
issue 1512
_.The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing
issue 1510
_... _issue 1510:https://github.com/nedbat/coveragepy/issues/15100
.. _issue 1511https://github.com/nedbat/coveragepy/issues/151111
.. _issue 151https://github.com/nedbat/coveragepy/issues/1512512
.. _issue 15https://github.com/nedbat/coveragepy/issues/15131513
.. _changes_7-0-0:
v7.0.0
Compare Source
Nothing new beyond 7.0.0b1.
.. _changes_7-0-0b1:
v6.5.0
Compare Source
The JSON report now includes details of which branches were taken, and which
are missing for each file. Thanks,
Christoph Blessing <pull 1438_>
. Closesissue 1425
.Starting with coverage.py 6.2,
class
statements were marked as a branch.This wasn't right, and has been reverted, fixing
issue 1449
_. Note thiswill very slightly reduce your coverage total if you are measuring branch
coverage.
Packaging is now compliant with
PEP 517
, closingissue 1395
.A new debug option
--debug=pathmap
shows details of the remapping ofpaths that happens during combine due to the
[paths]
setting.Fix an internal problem with caching of invalid Python parsing. Found by
OSS-Fuzz, fixing their
bug 50381
_... _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
.. _PEP 517: https://peps.python.org/pep-0517/
.. _issue 139https://github.com/nedbat/coveragepy/issues/1395395
.. _issue 14https://github.com/nedbat/coveragepy/issues/14251425
.. _issue 1https://github.com/nedbat/coveragepy/issues/1449/1449
.. _pull https://github.com/nedbat/coveragepy/pull/1438l/1438
.. _changes_6-4-4:
v6.4.4
Compare Source
.. _changes_6-4-3:
v6.4.3
Compare Source
Fix a failure when combining data files if the file names contained glob-like
patterns. Thanks,
Michael Krebs and Benjamin Schubert <pull 1405_>
_.Fix a messaging failure when combining Windows data files on a different
drive than the current directory, closing
issue 1428
. Thanks,Lorenzo Micò <pull 1430_>
.Fix path calculations when running in the root directory, as you might do in
a Docker container. Thanks
Arthur Rio <pull 1403_>
_.Filtering in the HTML report wouldn't work when reloading the index page.
This is now fixed. Thanks,
Marc Legendre <pull 1413_>
_.Fix a problem with Cython code measurement, closing
issue 972
. Thanks,Matus Valo <pull 1347_>
... _issue 972:https://github.com/nedbat/coveragepy/issues/9722
.. _issue 1428https://github.com/nedbat/coveragepy/issues/142828
.. _pull 134https://github.com/nedbat/coveragepy/pull/1347347
.. _pull 14https://github.com/nedbat/coveragepy/issues/14031403
.. _pull 1https://github.com/nedbat/coveragepy/issues/1405/1405
.. _pull https://github.com/nedbat/coveragepy/issues/1413s/1413
.. _pullhttps://github.com/nedbat/coveragepy/pull/1430ll/1430
.. _changes_6-4-2:
v6.4.2
Compare Source
Updated for a small change in Python 3.11.0 beta 4: modules now start with a
line with line number 0, which is ignored. This line cannot be executed, so
coverage totals were thrown off. This line is now ignored by coverage.py,
but this also means that truly empty modules (like
__init__.py
) have nolines in them, rather than one phantom line. Fixes
issue 1419
_.Internal debugging data added to sys.modules is now an actual module, to
avoid confusing code that examines everything in sys.modules. Thanks,
Yilei Yang <pull 1399_>
_... _issue 1419:https://github.com/nedbat/coveragepy/issues/14199
.. _pull 1399https://github.com/nedbat/coveragepy/pull/139999
.. _changes_6-4-1:
v6.4.1
Compare Source
Greatly improved performance on PyPy, and other environments that need the
pure Python trace function. Thanks, Carl Friedrich Bolz-Tereick (
pull 1381
_ andpull 1388
). Slightly improved performance when using the Ctrace function, as most environments do. Closes
issue 1339
.The conditions for using tomllib from the standard library have been made
more precise, so that 3.11 alphas will continue to work. Closes
issue 1390
_... _issue 1339:https://github.com/nedbat/coveragepy/issues/13399
.. _pull 1381https://github.com/nedbat/coveragepy/pull/138181
.. _pull 138https://github.com/nedbat/coveragepy/pull/1388388
.. _issue 13https://github.com/nedbat/coveragepy/issues/13901390
.. _changes_64:
tox-dev/tox
v4.2.6
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.2.5...4.2.6
v4.2.5
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.2.4...4.2.5
v4.2.4
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.2.3...4.2.4
v4.2.3
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.2.2...4.2.3
v4.2.2
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.2.1...4.2.2
v4.2.1
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@4.2.0...4.2.1
v4.2.0
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.1.3...4.2.0
v4.1.3
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.1.2...4.1.3
v4.1.2
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.1.1...4.1.2
v4.1.1
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.1.0...4.1.1
v4.1.0
Compare Source
What's Changed
-f
for "OR" and to allow hyphenated factors by @sirosen in https://github.com/tox-dev/tox/pull/2786New Contributors
Full Changelog: tox-dev/tox@4.0.19...4.1.0
v4.0.19
Compare Source
v4.0.18
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.17...4.0.18
v4.0.17
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@4.0.16...4.0.17
v4.0.16
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.15...4.0.16
v4.0.15
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.14...4.0.15
v4.0.14
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.13...4.0.14
v4.0.13
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.12...4.0.13
v4.0.12
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@4.0.11...4.0.12
v4.0.11
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.10...4.0.11
v4.0.10
Compare Source
v4.0.9
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.8...4.0.9
v4.0.8
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.7...4.0.8
v4.0.7
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.6...4.0.7
v4.0.6
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@4.0.5...4.0.6
v4.0.5
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.4...4.0.5
v4.0.4
Compare Source
What's Changed
-U
is not longer valid when defining dependencies viadeps
by @jugmac00 in https://github.com/tox-dev/tox/pull/2651#
more discoverable by @jugmac00 in https://github.com/tox-dev/tox/pull/2663-v
adds debug info to--showconfig
and `--help-ini`` by @jugmac00 in https://github.com/tox-dev/tox/pull/2652New Contributors
Full Changelog: tox-dev/tox@4.0.3...4.0.4
v4.0.3
Compare Source
What's Changed
#
sign used incommands
by @jugmac00 in https://github.com/tox-dev/tox/pull/2621Full Changelog: tox-dev/tox@4.0.2...4.0.3
v4.0.2
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.1...4.0.2
v4.0.1
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.0...4.0.1
v4.0.0
Compare Source
What's Changed
Full Changelog: tox-dev/tox@4.0.0rc4...4.0.0
v3.28.0
Compare Source
What's Changed
Full Changelog: tox-dev/tox@3.27.1...3.28.0
v3.27.1
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@3.27.0...3.27.1
v3.27.0
Compare Source
What's Changed
install_command
only takes one command by @jugmac00 in https://github.com/tox-dev/tox/pull/2509New Contributors
Full Changelog: tox-dev/tox@3.26.0...3.27.0
v3.26.0
Compare Source
What's Changed
New Contributors
Full Changelog: tox-dev/tox@3.25.1...3.26.0
v3.25.1
Compare Source
What's Changed
Configuration
📅 Schedule: Branch creation - "after 7am and before 4pm on monday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 Mend Renovate. View repository job log here.