Improve caching to include caching of remote $ref downloads. This should improve performance in cases where a schema has many remote refs and is used in repeat invocations. The $ref cache can be disabled via the same --no-cache flag which disables use of the pre-existing cache. Thanks @alex1701c! (#452, #454)
Fix an ordering bug which caused caching to be ineffective, resulting in repeated downloads of remote schemas even when the cache was populated. Thanks @alex1701c for reporting! (#453)
Improve caching to include caching of remote $ref downloads. This should
improve performance in cases where a schema has many remote refs and is used
in repeat invocations. The $ref cache can be disabled via the same
--no-cache flag which disables use of the pre-existing cache. Thanks
:user:alex1701c! (:issue:452, :pr:454)
Fix an ordering bug which caused caching to be ineffective, resulting in
repeated downloads of remote schemas even when the cache was populated.
Thanks :user:alex1701c for reporting! (:issue:453)
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>_
Bumps the dependencies group with 17 updates in the /.config directory:
24.6.1
24.7.0
24.6.1
24.7.0
3.2.2
3.2.3
2024.6.2
2024.7.4
0.28.6
0.29.0
7.5.4
7.6.0
1.2.1
1.2.2
2.5.36
2.6.0
4.22.0
4.23.0
9.5.27
9.5.28
10.3.0
10.4.0
2.23.0
2.23.1
0.18.1
0.19.0
0.5.0
0.5.1
0.12.5
0.13.0
4.15.1
4.16.0
4.22.0.20240610
4.23.0.20240712
Updates
ansible-compat
from 24.6.1 to 24.7.0Release notes
Sourced from ansible-compat's releases.
Commits
37f2158
chore: pre-commit autoupdate (#389)557e744
Minor code quality improvements (#390)Updates
ansible-lint
from 24.6.1 to 24.7.0Release notes
Sourced from ansible-lint's releases.
Commits
95382d3
Linting fixes for command_instead_of* rules (ruff:D102) (#4252)22041b4
Bump the dependencies group in /.config with 4 updates (#4249)b7f69e3
Bump the dependencies group in /.config with 5 updates (#4238)0a4ff6d
Bump the dependencies group in /.config with 16 updates (#4231)Updates
astroid
from 3.2.2 to 3.2.3Changelog
Sourced from astroid's changelog.
Commits
30ea720
Bump astroid to 3.2.3, update changelog (#2465)a2d8470
Fix AssertionError when inferring a property consisting of a partial function...006b1ac
Upgrade pylint in pre-commit config (#2440)7c7c1b3
Pin numpy below 2.0.076be7ea
Fix unreachable-codeUpdates
certifi
from 2024.6.2 to 2024.7.4Commits
bd81538
2024.07.04 (#295)06a2cbf
Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#294)13bba02
Bump actions/checkout from 4.1.6 to 4.1.7 (#293)e8abcd0
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#292)Updates
check-jsonschema
from 0.28.6 to 0.29.0Release notes
Sourced from check-jsonschema's releases.
Changelog
Sourced from check-jsonschema's changelog.
Commits
5341df5
Bump version for release0fa7d91
Add missing changelog entryddc6341
Merge pull request #459 from python-jsonschema/enhance-testing08d04a7
Refactor CLI unit tests + add deprecation testsb016212
Add a missing test case for '--validator-class'245bf10
Add simple non-string examples to format testse31b55f
Merge pull request #457 from python-jsonschema/cache-refs761a2b2
Merge pull request #458 from python-jsonschema/vendor-schemas-auto64b6ba0
[vendor-schemas] automated update037c2b2
Refactor cache-related fixturesUpdates
coverage
from 7.5.4 to 7.6.0Changelog
Sourced from coverage's changelog.
Commits
59a3cd7
docs: sample HTML for 7.6.07f27fa7
docs: prep for 7.6.06a268b0
docs: issues closed by the json region reporting5bfe9e7
chore: bump actions/setup-python from 5.1.0 to 5.1.1 (#1814)ab609ef
docs: mention json region reporting in the changes92d96b9
fix: json report needs 'no class' and 'no function' alsoe47e7e7
refactor: move duplicate code into methods3d6be2b
fix: json format should bump for regionsa9992d2
test: add a test of json regions with branches8b89764
test: json expectations should have explicit format numberUpdates
exceptiongroup
from 1.2.1 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
identify
from 2.5.36 to 2.6.0Commits
577bfe1
v2.6.02e9f390
Merge pull request #468 from harrymander/fix-index-error-with-env-shebang0853fe3
Merge pull request #457 from wircho/adolfo-add-ejson818c07f
Add ejson extension909fd82
Merge pull request #469 from pre-commit/pre-commit-ci-update-configa9fd388
[pre-commit.ci] pre-commit autoupdate90c7a1e
Fix IndexError when shebang is just '#!/usr/bin/env'437ef92
Merge pull request #467 from pre-commit/pre-commit-ci-update-config525954b
[pre-commit.ci] pre-commit autoupdate0651fca
Merge pull request #464 from pre-commit/pre-commit-ci-update-configUpdates
jsonschema
from 4.22.0 to 4.23.0Release notes
Sourced from jsonschema's releases.
Changelog
Sourced from jsonschema's changelog.
Commits
cfe8a40
Document the other change, and call this 4.23.0.25127a1
Merge pull request #1282 from rominf/rominf-python3.1340410c4
Declare support for 3.133a44b4b
Merge pull request #1276 from python-jsonschema/pre-commit-ci-update-config6a00e35
[pre-commit.ci] pre-commit autoupdate84fee43
Merge pull request #1273 from python-jsonschema/pre-commit-ci-update-configa90d6e2
[pre-commit.ci] pre-commit autoupdatec3a8641
Merge pull request #1272 from python-jsonschema/pre-commit-ci-update-configdeb5398
[pre-commit.ci] pre-commit autoupdate7fd28c3
Update the (ancient draft3) color format for newer webcolors.Updates
mkdocs-material
from 9.5.27 to 9.5.28Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
1b78c2c
Prepare 9.5.28 releasec5fd98c
Fixed links in sponsors sectionfa04d0c
Updated dependencies845fc61
Fixed improved tooltips mounted when disabled12a8e82
Removed all references to polyfill.io436860f
Bump docker/build-push-action from 5 to 6b048469
Switched to ES2018 targeteff555a
Updated dependencies610be26
Updated READMEf1ffead
DocumentationUpdates
pillow
from 10.3.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 request #8031 from radarhere/imagingcms_modes70b3815
Merge pull request #8127 from radarhere/multiple_exif_markers88cd6d4
Rearranged comments41426a6
Merge pull request #8110 from radarhere/exififdUpdates
pipdeptree
from 2.23.0 to 2.23.1Release notes
Sourced from pipdeptree's releases.
Commits
f0999f9
Allow pre-releases when detecting version conflicts (#394)02f4f26
[pre-commit.ci] pre-commit autoupdate (#392)91188b3
Readd# noqa: S603
to _detect_env to resolve Ruff error (#388)6fb5619
[pre-commit.ci] pre-commit autoupdate (#387)59de13e
Use is_missing property in ReqPackage.is_conflicting() for DRYness (#385)5eabebe
Use__contains__
to avoidKeyError
with importlib_metadata==8.0.0 (#384)8c56559
[pre-commit.ci] pre-commit autoupdate (#383)Updates
rpds-py
from 0.18.1 to 0.19.0Release notes
Sourced from rpds-py's releases.
Commits
4e347fc
Bump to 0.19.0974af19
Update requirements.6c32fc2
Merge pull request #79 from FlickerSoul/dev605215e
Update PyO3 from 0.22.0 to 0.22.10c600b8
Use #[derive(FromPyObject)] instead of manual impl6c7cdd2
Remove redundant Python::wiht_gil calls5e986af
Add Python 3.13 to GitHub actions CId462f1d
Fix clippy warnings1984200
Remove redundant Python::with_gil calls8ecb460
Fix formattingUpdates
ruff
from 0.5.0 to 0.5.1Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
3a72400
Rename publish workflow file extension (yaml
->yml
) (#12206)1b3bff0
Bump version to 0.5.1 (#12205)0f6f73e
[red-knot] Require thatFileSystem
objects implementDebug
(#12204)7910bee
Consider the content of the new cells during notebook sync (#12203)f3ccd15
Revert "Remove--preview
as a required argument forruff server
(#12053)"...1e07bfa
[pycodestyle
] Whitespace after decorator (E204
) (#12140)5e7ba05
docs(*): fix a few typos, consistency issues and links (#12193)d12570e
docs(options): fix some typos and improve consistency (#12191)