* 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`)
[#178](https://github.com/pytest-dev/pluggy/issues/178) <https://github.com/pytest-dev/pluggy/issues/178>_: Add support for deprecating specific hook parameters, or more generally, for issuing a warning whenever a hook implementation requests certain parameters.
See :ref:warn_on_impl for details.
Bug Fixes
[#481](https://github.com/pytest-dev/pluggy/issues/481) <https://github.com/pytest-dev/pluggy/issues/481>_: PluginManager.get_plugins() no longer returns None for blocked plugins.
📝 Update console output with Click 8 messages. PR #789 by @svlandeg.
📝 Remove references to a .rst README generated by poetry new. PR #632 by @jonasmmiguel.
0.12.1
Now you don't need to install typer[all]. When you install typer it comes with the default optional dependencies and the typer command.
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
Now the package typer-cli doesn't add anything on top of what typer has, it only depends on typer, and is there only for backwards compatibility, so that projects that depend on typer-cli can get the latest features of the typer command while they upgrade their dependencies to require typer directly.
Features
✨ Add support for typer ./someprogram.py utils docs --title. PR #782 by @tiangolo.
Fixes
🐛 Fix broken installation when upgrading from typer <0.12.0 to typer >=0.12.0, make typer independent of typer-slim, include typer command in typer package. PR #791 by @tiangolo.
This fixes a problem that would break the typer installation directory when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790.
By installing the latest version (0.12.1) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.
Internal
👷 Add cron to run test once a week on monday. PR #783 by @estebanx64.
0.12.0
In version 0.12.0, the typer package depends on typer-slim[standard] which includes the default dependencies (instead of typer[all]) and typer-cli (that provides the typer command).
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
📝 Update console output with Click 8 messages. PR #789 by @svlandeg.
📝 Remove references to a .rst README generated by poetry new. PR #632 by @jonasmmiguel.
0.12.1
Now you don't need to install typer[all]. When you install typer it comes with the default optional dependencies and the typer command.
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
Now the package typer-cli doesn't add anything on top of what typer has, it only depends on typer, and is there only for backwards compatibility, so that projects that depend on typer-cli can get the latest features of the typer command while they upgrade their dependencies to require typer directly.
Features
✨ Add support for typer ./someprogram.py utils docs --title. PR #782 by @tiangolo.
Fixes
🐛 Fix broken installation when upgrading from typer <0.12.0 to typer >=0.12.0, make typer independent of typer-slim, include typer command in typer package. PR #791 by @tiangolo.
This fixes a problem that would break the typer installation directory when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790.
By installing the latest version (0.12.1) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.
Internal
👷 Add cron to run test once a week on monday. PR #783 by @estebanx64.
[#221](https://github.com/Kozea/cairocffi/issues/221) <https://github.com/Kozea/cairocffi/pull/225>_:
Add environment variable to set folder where DLLs are installed on Windows
[#225](https://github.com/Kozea/cairocffi/issues/225) <https://github.com/Kozea/cairocffi/pull/225>_:
Use Ruff instead of Flake8 and isort
Version 1.6.1
.............
Released on 2023-07-24
[#217](https://github.com/Kozea/cairocffi/issues/217) <https://github.com/Kozea/cairocffi/issues/217>_:
Repair installation with PyInstaller
Version 1.6.0
.............
Released on 2023-06-12
This version uses a new CFFI mode that may break your program.
CairoCFFI now uses Flit for packaging and is also distributed as a Python
wheel.
Please test carefully and don’t hesitate to report issues before using it in
production.
[#216](https://github.com/Kozea/cairocffi/issues/216) <https://github.com/Kozea/cairocffi/pull/216>_:
Use ABI-level in-line CFFI mode
Version 1.5.1
.............
Released on 2023-04-15
[#212](https://github.com/Kozea/cairocffi/issues/212) <https://github.com/Kozea/cairocffi/issues/212>_:
Bring back XCB support during wheel generation
Added initial support for function and class reporting in the HTML report.
There are now three index pages which link to each other: files, functions,
and classes. Other reports don't yet have this information, but it will be
added in the future where it makes sense. Feedback gladly accepted!
Finishes issue 780_.
Other HTML report improvements:
There is now a "hide covered" checkbox to filter out 100% files, finishing
issue 1384_.
The index page is always sorted by one of its columns, with clearer
indications of the sorting.
The "previous file" shortcut key didn't work on the index page, but now it
does, fixing issue 1765_.
The debug output showing which configuration files were tried now shows
absolute paths to help diagnose problems where settings aren't taking effect,
and is renamed from "attempted_config_files" to the more logical
"config_files_attempted."
Fix: in some cases, even with [run] relative_files=True, a data file
could be created with absolute path names. When combined with other relative
data files, it was random whether the absolute file names would be made
relative or not. If they weren't, then a file would be listed twice in
reports, as detailed in issue 1752_. This is now fixed: absolute file
names are always made relative when combining. Thanks to Bruno Rodrigues dos
Santos for support.
Fix: the last case of a match/case statement had an incorrect message if the
branch was missed. It said the pattern never matched, when actually the
branch is missed if the last case always matched.
Fix: clicking a line number in the HTML report now positions more accurately.
This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
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>_
1.1.1
Worked around
CPython issue [#98778](https://github.com/agronholm/exceptiongroup/issues/98778) <https://github.com/python/cpython/issues/98778>_,
urllib.error.HTTPError(..., fp=None) raises KeyError on unknown attribute
access, on affected Python versions. (PR by Zac Hatfield-Dodds)
Bumps the dependencies group with 33 updates in the /.config directory:
3.1.42
3.1.43
1.1.1
1.2.1
23.2
24.0
1.4.0
1.5.0
0.9.0
0.12.3
1.6.1
1.7.0
7.4.3
7.5.0
0.20.1
0.21.2
1.2.0
1.2.1
3.13.1
3.13.4
3.6
3.7
7.0.2
7.1.0
3.3.1
3.4.0
24.3.1
25.2.0
3.5.2
3.6
1.8.0
1.8.1
1.5.3
1.6.0
1.2.0
1.2.1
9.5.13
9.5.19
0.2.15
0.2.17
10.2.0
10.3.0
2.16.1
2.18.1
4.2.0
4.2.1
2.21
2.22
10.7.1
10.8.1
8.1.1
8.2.0
0.6.1
0.7.0
2023.12.25
2024.4.16
1.2.1
1.3.0
4.14.1
4.15.0
4.10.0
4.11.0
20.25.1
20.26.0
3.17.0
3.18.1
Updates
gitpython
from 3.1.42 to 3.1.43Release notes
Sourced from gitpython's releases.
Commits
5364053
bump version to 3.1.434e626bd
Merge pull request #1886 from EliahKagan/deprecation-warningsf6060df
Add GitMeta alias8327b45
Test GitMeta aliasf92f4c3
Clarify security risk in USE_SHELL doc and warningsc7675d2
update security policy, to use GitHub instead of emailcf2576e
Make/use test.deprecation.lib; abandon idea to filter by module7cd3aa9
Make test.performance.lib docstring more specificb51b080
Explain the approach in test.deprecation to static checkingbdabb21
Expand USE_SHELL docstring; clarify a test usageUpdates
build
from 1.1.1 to 1.2.1Release notes
Sourced from build's releases.
Changelog
Sourced from build's changelog.
Commits
1e67c06
chore: bump version number to 1.2.1e5072e3
fix: support min width not detectable (#761)d5fb6fb
chore: prepare for 1.2.0 (#758)1ae6eb1
pre-commit: bump repositories (#757)a1f005d
pre-commit: bump repositories (#756)5076a56
uv: support double verbosity flag5662669
chore: bump mypy24c513d
chore: reformat using Black 2024 style08cdb76
ruff: bump version and update config97ea57b
perf: avoid compiling unused bytecode (#752)Updates
packaging
from 23.2 to 24.0Release notes
Sourced from packaging's releases.
Changelog
Sourced from packaging's changelog.
Commits
7a983f7
Bump for release4d85340
Add riscv64 as a supported manylinux architecture (#751)4dce761
Apply some ruff suggestions (#772)57a6a7f
Appply some bugbear suggestions (#761)7bcd6d8
Apply some refurb suggestions (#763)d0067e9
[StepSecurity] ci: Harden GitHub Actions (#1) (#758)eae70dd
feat: Create dependabot.yml (#757)241bb35
Update URLs (#764)7698237
Remove coverage ignore for non-existent file (#752)b271d2b
Replace PEP references with PUG links (#750)Updates
pluggy
from 1.4.0 to 1.5.0Changelog
Sourced from pluggy's changelog.
Commits
f8aa4a0
Preparing release 1.5.0b4a8c92
Merge pull request #495 from bluetech/warn-on-impl-args6f6ea68
Add support deprecating hook parameters91f88d2
Merge pull request #496 from bluetech/codecov-action89ce829
ci: replace upload-coverage script with codecov github action29f104d
Lift pluggy (#493)c2b36b4
Merge pull request #491 from pytest-dev/pre-commit-ci-update-config2b533c9
[pre-commit.ci] pre-commit autoupdate04d1bcd
[pre-commit.ci] pre-commit autoupdate (#490)f74e94b
[pre-commit.ci] pre-commit autoupdate (#489)Updates
typer
from 0.9.0 to 0.12.3Release notes
Sourced from typer's releases.
... (truncated)
Changelog
Sourced from typer's changelog.
... (truncated)
Commits
525c777
🔖 Release version 0.12.3718a899
📝 Update release notes3bc7d25
🐛 Fix Rich formatting with no commands (#796)c9bc93c
🔖 Release version 0.12.2c99a950
📝 Update release notescfae1d2
✨ Improve column help display, ensure commands column width is the same on al...475359f
📝 Update release notesa0209aa
🐛 Add support for an argument of typeOptional[Tuple]
and default value `No...5cee0af
📝 Update release notescb78113
📝 Update release notesUpdates
cairocffi
from 1.6.1 to 1.7.0Changelog
Sourced from cairocffi's changelog.
... (truncated)
Commits
4bafdd7
Version 1.7.0a535d50
Merge pull request #225 from Kozea/ruffaa240d3
Use ruff instead of flake8 and isort33501f0
Fix CI tests on macOSee7186b
Drop Python 3.7, support Python 3.12dbb62b0
Clean and fix tests8a8d35a
Update tests on GitHub Actions290b5db
Merge pull request #221 from Li-Xiang-Ideal/patch-13e3dafd
Add missing importf4ebc6e
Add documentation about CAIROCFFI_DLL_DIRECTORIESUpdates
coverage
from 7.4.3 to 7.5.0Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
5f4e034
docs: sample HTML for 7.5.0ed97cfb
docs: prep for 7.5.041e01d3
build: use macos 13 for 3.8 and 3.9 while GitHub rolls out macos 14583f0c0
test: add a test for skipping covered functionsb115ed3
refactor: keep Analysis private40a052e
docs: document CodeRegion and its plugin methods2ff9933
docs: remove comment that now explains nothing.a6ba1c8
fix: html report pages fully validate74c87a8
fix: previous page shortcut works in index page. #1765e016967
feat: main index page links to other index pagesUpdates
docutils
from 0.20.1 to 0.21.2Updates
exceptiongroup
from 1.2.0 to 1.2.1Release notes
Sourced from exceptiongroup's releases.
Changelog
Sourced from exceptiongroup's changelog.
... (truncated)
Commits
b91b7a3
Added the release version521f02f
Fixed type errors, added type tests (#118)4639b1e
Fixed test failure on Python 3.12.3684b79a
Have tox install the package in editable mode9ebe9f5
Updated GitHub actionse57b07f
[pre-commit.ci] pre-commit autoupdate (#115)8d2f627
[pre-commit.ci] pre-commit autoupdate (#113)ee53e9f
BaseExceptionGroup.derive should not copy notes (#112)2f23259
Corrected the type annotation for the exception handler callback (#109)0c89199
[pre-commit.ci] pre-commit autoupdate (#110)Updates
filelock
from 3.13.1 to 3.13.4Release notes
Sourced from filelock's releases.
Commits
000a3fa
Raise error on incompatible singleton timeout and mode args (#320)312fb4e
[pre-commit.ci] pre-commit autoupdate (#321)f50a337
[pre-commit.ci] pre-commit autoupdate (#319)3f6df70
Make singleton class instance dict unique per subclass (#318)9a64375
[BugFix] fix permission denied error when lock file is placed in/tmp
(#317)e2f121b
Update index.rst to improve the demo usage (#314)a46ea71
[pre-commit.ci] pre-commit autoupdate (#312)766e12d
[pre-commit.ci] pre-commit autoupdate (#311)f641eb6
Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (#310)9048580
Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 (#308)Updates
idna
from 3.6 to 3.7Release notes
Sourced from idna's releases.
Changelog
Sourced from idna's changelog.
Commits
1d365e1
Release v3.7c1b3154
Merge pull request #172 from kjd/optimize-contextj0394ec7
Merge branch 'master' into optimize-contextjcd58a23
Merge pull request #152 from elliotwutingfeng/dev5beb28b
More efficient resolution of joiner contexts1b12148
Update ossf/scorecard-action to v2.3.1d516b87
Update Github actions/checkout to v4c095c75
Merge branch 'master' into dev60a0a4c
Fix typo in GitHub Actions workflow key5918a0e
Merge branch 'master' into devUpdates
importlib-metadata
from 7.0.2 to 7.1.0Changelog
Sourced from importlib-metadata's changelog.
Commits
f5d6b5f
Finalize2ef3b5f
Merge commit '1711b2c198'1711b2c
Need to include names from test.support for py312 compat.47b14ac
Make MetadataPathFinder.find_distributions a classmethod for consistency with...adc4b12
Ensure tests do not leak references in sys.modules.07d894d
... _Description has been truncated_