Fix: coverage used to fail when measuring code using :func:runpy.run_path <python:runpy.run_path> with a :class:Path <python:pathlib.Path> argument.
This is now fixed, thanks to Ask Hjorth Larsen <pull 1819_>_.
Fix: backslashes preceding a multi-line backslashed string could confuse the
HTML report. This is now fixed, thanks to LiuYinCarl <pull 1828_>_.
Now we publish wheels for Python 3.13, both regular and free-threaded.
Exclusion patterns can now be multi-line, thanks to Daniel Diniz <pull 1807_>. This enables many interesting exclusion use-cases, including those
requested in issues 118 <issue 118_> (entire files), 996 <issue 996_>_ (multiple lines only when appearing together), 1741 <issue 1741_>_ (remainder of a function), and 1803 <issue 1803_>_
(arbitrary sequence of marked lines). See the :ref:multi_line_exclude
section of the docs for more details and examples.
The JSON report now includes per-function and per-class coverage information.
Thanks to Daniel Diniz <pull 1809_>_ for getting the work started. This
closes issue 1793_ and issue 1532_.
Fixed an incorrect calculation of "(no class)" lines in the HTML classes
report.
This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
1.2.2
Removed an assert in exceptiongroup._formatting that caused compatibility
issues with Sentry ([#123](https://github.com/agronholm/exceptiongroup/issues/123) <https://github.com/agronholm/exceptiongroup/issues/123>_)
1.2.1
Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
Corrected the type annotation of the exception handler callback to accept a
BaseExceptionGroup instead of BaseException
Fixed type errors on Python < 3.10 and the type annotation of suppress()
(PR by John Litborn)
1.2.0
Added special monkeypatching if Apport <https://github.com/canonical/apport>_ has
overridden sys.excepthook so it will format exception groups correctly
(PR by John Litborn)
Added a backport of contextlib.suppress() from Python 3.12.1 which also handles
suppressing exceptions inside exception groups
Fixed bare raise in a handler reraising the original naked exception rather than
an exception group which is what is raised when you do a raise in an except*
handler
1.1.3
catch() now raises a TypeError if passed an async exception handler instead of
just giving a RuntimeWarning about the coroutine never being awaited. (#66, PR by
John Litborn)
Fixed plain raise statement in an exception handler callback to work like a
raise in an except* block
Fixed new exception group not being chained to the original exception when raising an
exception group from exceptions raised in handler callbacks
Fixed type annotations of the derive(), subgroup() and split() methods to
match the ones in typeshed
1.1.2
Changed handling of exceptions in exception group handler callbacks to not wrap a
single exception in an exception group, as per
CPython issue 103590 <https://github.com/python/cpython/issues/103590>_
Add many Meta option to Schema so it expects a collection by default (:issue:2270).
Thanks :user:himalczyk for reporting and :user:deckar01 for the PR.
Refactor hooks (:pr:2279).
Thanks :user:deckar01 for the PR.
3.21.3 (2024-06-05)
Bug fixes:
Fix memory leak that prevented schema instances from getting GC'd (:pr:2277).
Thanks :user:mrcljx for the PR.
Do specifier matching correctly when the specifier contains an epoch number
and has more components than the version (:issue:683)
Support the experimental --disable-gil builds in packaging.tags
(:issue:727)
BREAKING: Make optional metadata.Metadata attributes default to None (:issue:733)
Fix errors when trying to access the description_content_type, keywords,
and requires_python attributes on metadata.Metadata when those values
have not been provided (:issue:733)
Fix a bug preventing the use of the built in ExceptionGroup on versions of
Python that support it (:issue:725)
Bumps the python-packages group with 22 updates:
3.0.3
3.3.2
24.2.0
24.8.0
5.3.2
5.5.0
7.4.1
7.6.1
0.6.6
0.6.7
1.2.0
1.2.2
3.13.1
3.15.4
3.21.2
3.22.0
23.2
24.1
10.2.0
10.4.0
4.2.0
4.2.2
1.4.0
1.5.0
3.0.3
3.2.7
1.6.1
1.7.1
8.0.1
8.3.2
4.1.0
5.0.0
2.8.2
2.9.0.post0
1.2.5
1.3.2
0.12.3
0.13.2
4.13.0
4.18.0
4.9.0
4.12.2
20.25.0
20.26.3
Updates
astroid
from 3.0.3 to 3.3.2Changelog
Sourced from astroid's changelog.
... (truncated)
Commits
4ae4617
Bump astroid to 3.3.2, update changelogb00b86c
[PY313] Add stubs for soft-deprecated typing members (#2503)de58003
Bump astroid to 3.3.1, update changelog8357bd3
Fix pylint regression with invalid format strings (#2496) (#2497)47030b1
Bump astroid to 3.3.0, update changelogf37549e
Fix release tests92baf78
[pre-commit.ci] auto fixes from pre-commit.com hooks4122248
[pre-commit.ci] pre-commit autoupdatec687595
[PY312] Add support for ssl.OP_LEGACY_SERVER_CONNECT (#2489)ed4276b
Bump furo from 2024.5.6 to 2024.7.18 (#2480)Updates
black
from 24.2.0 to 24.8.0Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
b965c2a
Prepare release 24.8.0 (#4426)9ccf279
Documentfind_project_root
ignoringpyproject.toml
without[tool.black]
...14b6e61
fix: Enhace black efficiently to skip directories listed in .gitignore (#4415)b1c4dd9
fix: respect braces better in f-string parsing (#4422)4b4ae43
Fix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
docs: fix the installation command of extra for blackd (#4413)8827acc
Bump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
Bump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
fix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
Updateactions/checkout
to v4 to stop node deprecation warnings (#4379)Updates
cachetools
from 5.3.2 to 5.5.0Changelog
Sourced from cachetools's changelog.
Commits
6c78a8f
Bump version.8841efd
Release v5.5.0.f2ccaca
Format tests with black.237ad80
Fix #278: Improve TLRUCache docs.e960781
Fix #302: Improve cachetools.keys unit tests.ea158fc
Bump actions/setup-python from 5.1.0 to 5.1.18a38daf
Update expire docs.7be40f0
TLRUCache.expire() returns iterable of expired (key, value) pairs.c22fc7d
Fix #292, fix #205, fix #103: TTLCache.expire() returns iterable of expired (...990665b
Release v5.4.0.Updates
coverage
from 7.4.1 to 7.6.1Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
29f5898
docs: sample HTML for 7.6.19b829f1
docs: prep for 7.6.1ebbb6a2
build: wheels for 3.13rc13872525
chore: make upgrade7a27f40
test: fix a test on free-threading, use abiflags to get site-packages path co...2b53664
build: include gil/nogil in the version bannerda1682f
docs: changelog and contributor for #1828dc819ff
test: two tests for #18289aaa404
fix: properly handle backslash before multi-line string (#1828)9c50270
chore: make upgradeUpdates
dataclasses-json
from 0.6.6 to 0.6.7Release notes
Sourced from dataclasses-json's releases.
Commits
dc63902
Warn about buggy type resolution (#529)538ff15
feat: support abstract collections (#532)Updates
exceptiongroup
from 1.2.0 to 1.2.2Release notes
Sourced from exceptiongroup's releases.
Changelog
Sourced from exceptiongroup's changelog.
... (truncated)
Commits
2399d54
Added the release versionbec9651
Removed problematic assert that caused compatibility issuesf3f0ff6
Updated Ruff configurationbb43ee0
Fixed formatting tests failing on Python 3.13eb8fbbc
[pre-commit.ci] pre-commit autoupdate (#129)6ff8300
[pre-commit.ci] pre-commit autoupdate (#128)761933f
[pre-commit.ci] pre-commit autoupdate (#127)1b43294
[pre-commit.ci] pre-commit autoupdate (#125)dd87018
[pre-commit.ci] pre-commit autoupdate (#124)54d8b8d
[pre-commit.ci] pre-commit autoupdate (#121)Updates
filelock
from 3.13.1 to 3.15.4Release notes
Sourced from filelock's releases.
... (truncated)
Commits
9a979df
Pass file_lock as positional argument (#347)3a79343
Fix `TypeError: _CountedFileLock.init() got an unexpected keyword argumen...81d4cf9
Add test for virtualenv stability (#344)192f1ef
Use a metaclass to implement the singleton pattern (#340)48788c5
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#341)7bd3b7b
[pre-commit.ci] pre-commit autoupdate (#342)3d7b1a6
Hotfix: Restore init method; more robust initialization for singleton loc...c64787f
Don't initialize BaseFileLock when just returning existing instance (#334)87453f3
asyncio support (#332)0ee2e3c
[pre-commit.ci] pre-commit autoupdate (#333)Updates
marshmallow
from 3.21.2 to 3.22.0Changelog
Sourced from marshmallow's changelog.
Commits
fbad345
Bump version and update changelog78cbc09
Merge pull request #2271 from deckar01/2270-meta-many7609530
Merge pull request #2279 from deckar01/simplify-hooksbbbd7af
Reduce pre-commit.ci updates to monthly (#2300)1d21132
[pre-commit.ci] pre-commit autoupdate8ceb4b3
[pre-commit.ci] pre-commit autoupdate (#2298)ac13e0d
Add sponsors to docs7ebdc7b
Fix logo image for pypi rendering7c2f1ca
Add Route4Me as sponsor01f8432
Bump alabaster from 0.7.16 to 1.0.0 (#2292)Updates
packaging
from 23.2 to 24.1Release notes
Sourced from packaging's releases.
Changelog
Sourced from packaging's changelog.
Commits
85442b8
Bump for release3e67fc7
Work aroundplatform.python_version()
returning non PEP 440 compliant versi...32deafe
Bump the github-actions group with 3 updates (#789)e0dda88
Documentmarkers.default_environment()
(#753)cc938f9
Modernise type annotations using FA rules from ruff (#785)757f559
Fix typo in_parser
docstring (#784)ec9f203
Bump the github-actions group with 4 updates (#782)5cbe1e4
Add support for Python 3.13 and drop EOL 3.7 (#783)cb8fd38
pyupgrade/black/isort/flake8 → ruff (#769)e8002b1
Bump for developmentUpdates
pillow
from 10.2.0 to 10.4.0Release notes
Sourced from pillow's releases.
... (truncated)
Changelog
Sourced from pillow's changelog.
... (truncated)
Commits
9b4fae7
10.4.0 version bumpb55d74b
Update CHANGES.rst [ci skip]8daf550
Merge pull request #8178 from radarhere/imageshowc6d8c58
Merge pull request #7965 from Yay295/patch-3c9ec76a
Raise FileNotFoundError if show_file() path does not existb48d175
Update CHANGES.rst [ci skip]4d6dff3
Merge pull requestQuality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
See analysis details on SonarCloud