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:
==7.2.2
->==7.2.5
==0.5.0
->==0.6.0
==1.4.2
->==1.4.3
==9.1.5
->==9.1.9
==5.0.1
->==5.0.2
==1.1.302
->==1.1.306
==7.2.2
->==7.3.1
==0.7.0
->==0.9.0
Release Notes
nedbat/coveragepy
v7.2.5
Compare Source
html_report()
could fail with an AttributeError onisatty
if runin an unusual environment where sys.stdout had been replaced. This is now
fixed.
.. _changes_7-2-4:
v7.2.4
Compare Source
PyCon 2023 sprint fixes!
Fix: with
relative_files = true
, specifying a specific file to include oromit wouldn't work correctly (
issue 1604
). This is now fixed, withtesting help by
Marc Gibbons <pull 1608_>
.Fix: the XML report would have an incorrect
<source>
element when usingrelative files and the source option ended with a slash (
issue 1541
).This is now fixed, thanks to
Kevin Brown-Silva <pull 1608_>
.When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser. Finishes
issue 1523
_ thanks toRicardo Newbery <pull 1613_>
_.Docs: a new :ref:
Migrating page <migrating>
with details about how tomigrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x. Thanks,
Brian Grohe <pull 1610_>
_... _issue 1523:https://github.com/nedbat/coveragepy/issues/15233
.. _issue 1541https://github.com/nedbat/coveragepy/issues/154141
.. _issue 160https://github.com/nedbat/coveragepy/issues/1604604
.. _pull 16https://github.com/nedbat/coveragepy/pull/16081608
.. _pull 1https://github.com/nedbat/coveragepy/pull/1609/1609
.. _pull https://github.com/nedbat/coveragepy/pull/1610l/1610
.. _pullhttps://github.com/nedbat/coveragepy/pull/1613ll/1613
.. _changes_7-2-3:
v7.2.3
Compare Source
Fix: the :ref:
config_run_sigterm
setting was meant to capture data if aprocess was terminated with a SIGTERM signal, but it didn't always. This was
fixed thanks to
Lewis Gaul <pull 1600_>
, closingissue 1599
.Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller. This closes
issue 1584
_ thanks toOleh Krehel <pull 1587_>
_.Development dependencies no longer use hashed pins, closing
issue 1592
_... _issue 1584:https://github.com/nedbat/coveragepy/issues/15844
.. _pull 1587https://github.com/nedbat/coveragepy/pull/158787
.. _issue 159https://github.com/nedbat/coveragepy/issues/1592592
.. _issue 15https://github.com/nedbat/coveragepy/issues/15991599
.. _pull 1https://github.com/nedbat/coveragepy/pull/1600/1600
.. _changes_7-2-2:
samuelcolvin/dirty-equals
v0.6.0
: 2023-04-28Compare Source
What's Changed
New Contributors
Full Changelog: samuelcolvin/dirty-equals@v0.5.0...v0.6.0
mkdocs/mkdocs
v1.4.3
Compare Source
Bugfix: for the
hooks
feature, modules no longer fail to load if using some advanced Python features like dataclasses (#3193)Bugfix: Don't create
None
sitemap entries if the page has no populated URL - affects sites that exclude some files from navigation (07a297b
)"readthedocs" theme:
hljs_style:
config, same as "mkdocs" theme (#3199)Translations:
zh_CN
translation (#3125)tr_TR
translation becomes justtr
- usage should remain unaffected (#3195)See commit log.
squidfunk/mkdocs-material
v9.1.9
: mkdocs-material-9.1.9Compare Source
v9.1.8
: mkdocs-material-9.1.8Compare Source
palette
is not defined (9.1.7 regression)v9.1.7
: mkdocs-material-9.1.7Compare Source
v9.1.6
: mkdocs-material-9.1.6Compare Source
testing-cabal/mock
v5.0.2
Compare Source
gh-102978: Fixes :func:
unittest.mock.patch
not enforcing functionsignatures for methods decorated with
@classmethod
or@staticmethod
when patch is called withautospec=True
.gh-103329: Regression tests for the behaviour of
unittest.mock.PropertyMock
were added.RobertCraigie/pyright-python
v1.1.306
Compare Source
v1.1.305
Compare Source
v1.1.304
Compare Source
v1.1.303
Compare Source
pytest-dev/pytest
v7.3.1
Compare Source
pytest 7.3.1 (2023-04-14)
Improvements
RuntimeError: TestResult has no addDuration method
when runningunittest
tests.shutil.rmtree(onerror=...)
deprecation warning when usingtmp_path
{.interpreted-text role="fixture"}.Bug Fixes
tmp_path
{.interpreted-text role="fixture"} and the newtmp_path_retention_policy
{.interpreted-text role="confval"} option.INTERNALERROR IndexError: list index out of range
which happens when displaying an exception where all entries are hidden.This reverts the change "Correctly handle
__tracebackhide__
for chained exceptions." introduced in version 7.3.0.v7.3.0
Compare Source
pytest 7.3.0 (2023-04-08)
Features
@classmethod
can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods.console_output_style
{.interpreted-text role="confval"} now supportsprogress-even-when-capture-no
to force the use of the progress output even when capture is disabled. This is useful in large test suites where capture may have significant performance impact.--log-disable
CLI option added to disable individual loggers.tmp_path_retention_count
{.interpreted-text role="confval"} andtmp_path_retention_policy
{.interpreted-text role="confval"} configuration options to control how directories created by thetmp_path
{.interpreted-text role="fixture"} fixture are kept.Improvements
ExceptionGroup
of them instead of discarding all but the last.-p
arguments to include spaces (eg:-p no:logging
instead of-pno:logging
). Mostly useful in theaddopts
section of the configurationfile.
start
andstop
timestamps toTestReport
objects.rootdir
,config file
andtestpaths
so each has its own line.the hidden text. The line number shown has also been fixed.
Bug Fixes
tmp_path
{.interpreted-text role="fixture"} fixture always raisingOSError
{.interpreted-text role="class"} onemscripten
platform due to missingos.getuid
{.interpreted-text role="func"}.__tracebackhide__
for chained exceptions.Improved Documentation
goodpractices
{.interpreted-text role="ref"}:pip install -e .
requires aversion
entry inpyproject.toml
to run successfully.Trivial/Internal Changes
tiangolo/typer
v0.9.0
Compare Source
Features
Annotated
for specifying options and arguments. Initial PR #584 by @ryangalamb....
to mark a CLI Argument or CLI Option as required.Annotated
fortyper.Option()
andtyper.Argument()
.Annotated
.Docs
Annotated
, fix overloads fortyper.Argument
. PR #594 by @tiangolo.Internal
v0.8.0
Compare Source
Features
Upgrades
Docs
Internal
exclude_lines
to coverage configuration. PR #585 by @dmontagu.sys.executable
to run subprocesses, needed by OpenSUSE. PR #408 by @theMarix.PYTHONPATH
is set properly when testing the tutorial scripts. PR #407 by @theMarix.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.