Update dependency packaging to v23
This MR contains the following updates:
Package | Update | Change |
---|---|---|
packaging | major |
==21.3 -> ==23.2
|
Release Notes
pypa/packaging (packaging)
v23.2
What's Changed
- parse_marker should consume the entire source string by @mwerschy in https://github.com/pypa/packaging/pull/687
- Create a Security Policy file by @joycebrum in https://github.com/pypa/packaging/pull/695
- Add python 3.12 to CI by @mayeut in https://github.com/pypa/packaging/pull/689
- Remove URL validation from requirement parsing by @uranusjr in https://github.com/pypa/packaging/pull/684
- Add types for packaging.version._Version by @hauntsaninja in https://github.com/pypa/packaging/pull/665
- Add PyPy 3.10 to CI by @mayeut in https://github.com/pypa/packaging/pull/699
- Remove unused argument in
_manylinux._is_compatible
by @mayeut in https://github.com/pypa/packaging/pull/700 - Canonicalize names for requirements comparison by @astrojuanlu in https://github.com/pypa/packaging/pull/696
- Add platform tag support for LoongArch by @loongson-zn in https://github.com/pypa/packaging/pull/693
- Ability to install
armv7l manylinux/musllinux
wheels onarmv8l
by @mayeut in https://github.com/pypa/packaging/pull/690 - Include CHANGELOG.rst in sdist by @astrojuanlu in https://github.com/pypa/packaging/pull/704
- Update pyupgrade to Python 3.7+ by @fangchenli in https://github.com/pypa/packaging/pull/580
- Fix version pattern pre-releases by @deathaxe in https://github.com/pypa/packaging/pull/705
- Fix typos found by codespell by @DimitriPapadopoulos in https://github.com/pypa/packaging/pull/706
- Support enriched metadata by @brettcannon in https://github.com/pypa/packaging/pull/686
- Correct rST syntax in CHANGELOG.rst by @atugushev in https://github.com/pypa/packaging/pull/709
- fix: platform tag for GraalPy by @mayeut in https://github.com/pypa/packaging/pull/711
- Document that this library uses a calendar-based versioning scheme by @faph in https://github.com/pypa/packaging/pull/717
- fix: Update copyright date for docs by @garrypolley in https://github.com/pypa/packaging/pull/713
- Bump pip version to avoid known vulnerabilities by @joycebrum in https://github.com/pypa/packaging/pull/720
- Typing annotations fixed in version.py by @jolaf in https://github.com/pypa/packaging/pull/723
- parse_{sdist,wheel}_filename: don't raise InvalidVersion by @SpecLad in https://github.com/pypa/packaging/pull/721
- Fix code blocks in CHANGELOG.md by @edmorley in https://github.com/pypa/packaging/pull/724
New Contributors
- @mwerschy made their first contribution in https://github.com/pypa/packaging/pull/687
- @joycebrum made their first contribution in https://github.com/pypa/packaging/pull/695
- @astrojuanlu made their first contribution in https://github.com/pypa/packaging/pull/696
- @loongson-zn made their first contribution in https://github.com/pypa/packaging/pull/693
- @fangchenli made their first contribution in https://github.com/pypa/packaging/pull/580
- @deathaxe made their first contribution in https://github.com/pypa/packaging/pull/705
- @DimitriPapadopoulos made their first contribution in https://github.com/pypa/packaging/pull/706
- @atugushev made their first contribution in https://github.com/pypa/packaging/pull/709
- @faph made their first contribution in https://github.com/pypa/packaging/pull/717
- @garrypolley made their first contribution in https://github.com/pypa/packaging/pull/713
- @jolaf made their first contribution in https://github.com/pypa/packaging/pull/723
- @SpecLad made their first contribution in https://github.com/pypa/packaging/pull/721
- @edmorley made their first contribution in https://github.com/pypa/packaging/pull/724
Full Changelog: https://github.com/pypa/packaging/compare/23.1...23.2
v23.1
What's Changed
- chore: add typed classifier by @miketheman in https://github.com/pypa/packaging/pull/655
- Improve parser error messaging around mistakes in/around version specifiers by @pradyunsg in https://github.com/pypa/packaging/pull/662
- Upgrade to latest mypy by @hauntsaninja in https://github.com/pypa/packaging/pull/664
- Delete print() from test_tags by @nikodemas in https://github.com/pypa/packaging/pull/668
- Update our linters by @pradyunsg in https://github.com/pypa/packaging/pull/676
- Improve error for local version label with unsupported operators by @pradyunsg in https://github.com/pypa/packaging/pull/675
- Parse raw metadata by @brettcannon in https://github.com/pypa/packaging/pull/671
- Handle prefix match with zeros at end of prefix correctly by @pradyunsg in https://github.com/pypa/packaging/pull/674
- Relax typing of
_key
on_BaseVersion
by @di in https://github.com/pypa/packaging/pull/669 - Replace spaces in platform names with underscores by @tucked in https://github.com/pypa/packaging/pull/620
- Import underlying parser function as an underscored variable by @pradyunsg in https://github.com/pypa/packaging/pull/663
New Contributors
- @miketheman made their first contribution in https://github.com/pypa/packaging/pull/655
- @nikodemas made their first contribution in https://github.com/pypa/packaging/pull/668
- @tucked made their first contribution in https://github.com/pypa/packaging/pull/620
Full Changelog: https://github.com/pypa/packaging/compare/23.0...23.1
v23.0
What's Changed
- Remove unused LPAREN token from tokenizer by @hrnciar in https://github.com/pypa/packaging/pull/630
- Reorganise the project layout and version management by @pradyunsg in https://github.com/pypa/packaging/pull/626
- Correctly handle non-normalised specifiers in requirements by @pradyunsg in https://github.com/pypa/packaging/pull/634
- Use stable Python 3.11 in tests by @153957 in https://github.com/pypa/packaging/pull/641
- Fix typing for
specifiers.BaseSpecifier.filter()
by @henryiii in https://github.com/pypa/packaging/pull/643 - Correctly handle trailing whitespace on URL requirements by @pradyunsg in https://github.com/pypa/packaging/pull/642
- refactor _generic_api to use EXT_SUFFIX by @mattip in https://github.com/pypa/packaging/pull/607
- Allow
"extra"
to beNone
in the marker environment by @pradyunsg in https://github.com/pypa/packaging/pull/650 - Fix typos by @kianmeng in https://github.com/pypa/packaging/pull/648
- Update changelog for release by @pradyunsg in https://github.com/pypa/packaging/pull/656
New Contributors
- @153957 made their first contribution in https://github.com/pypa/packaging/pull/641
- @kianmeng made their first contribution in https://github.com/pypa/packaging/pull/648
Full Changelog: https://github.com/pypa/packaging/compare/22.0...23.0
v22.0
What's Changed
- Fix compatible version specifier incorrectly strip trailing '0' by @kasium in https://github.com/pypa/packaging/pull/493
- Remove support for Python 3.6 by @abravalheri in https://github.com/pypa/packaging/pull/500
- Use concurrency limit in ci by @blink1073 in https://github.com/pypa/packaging/pull/510
- Fix issue link in changelog. by @bdice in https://github.com/pypa/packaging/pull/509
- chore: test with PyPy 3.8 & 3.9 by @mayeut in https://github.com/pypa/packaging/pull/512
- Accept locally installed prereleases by @q0w in https://github.com/pypa/packaging/pull/515
- Always run GHA workflows when they change by @mayeut in https://github.com/pypa/packaging/pull/516
- Add
__hash__
/__eq__
to requirements by @abravalheri in https://github.com/pypa/packaging/pull/499 - Upgrade to
setup-python
v3 and use caching for GHA by @brettcannon in https://github.com/pypa/packaging/pull/521 - allow pre-release versions in marker evaluation by @graingert in https://github.com/pypa/packaging/pull/523
- Error out from workflow on missing interpreter by @mayeut in https://github.com/pypa/packaging/pull/525
- chore: update pre-commit config to the latest repos' versions by @mayeut in https://github.com/pypa/packaging/pull/534
- chore: remove Windows PyPy 3.9 workaround on GHA by @mayeut in https://github.com/pypa/packaging/pull/533
- Use pipx to run nox / build in GHA workflows by @mayeut in https://github.com/pypa/packaging/pull/517
- Run tests with all PyPy versions locally by @mayeut in https://github.com/pypa/packaging/pull/535
- Adhere to PEP 685 when evaluating markers with extras by @hroncok in https://github.com/pypa/packaging/pull/545
- chore: update mypy and move to toml by @henryiii in https://github.com/pypa/packaging/pull/547
- Normalize extra comparison in markers for output by @brettcannon in https://github.com/pypa/packaging/pull/549
- Evaluate markers under environment with empty "extra" by @MrMino in https://github.com/pypa/packaging/pull/550
- Do not set extra in default_environment() by @sbidoul in https://github.com/pypa/packaging/pull/554
- Update extlinks strings to use a format string by @mayeut in https://github.com/pypa/packaging/pull/555
- Update CI test workflow to use setup-python@v4 by @mayeut in https://github.com/pypa/packaging/pull/556
- CI: Update
actions/*
to their latest major versions by @mayeut in https://github.com/pypa/packaging/pull/557 - Fix a spelling mistake by @venthur in https://github.com/pypa/packaging/pull/558
- fix: macOS platform tags with old macOS SDK by @mayeut in https://github.com/pypa/packaging/pull/513
- Correctly parse ELF for musllinux on Big Endian by @uranusjr in https://github.com/pypa/packaging/pull/538
- A
metadata
module with a data class for core metadata by @brettcannon in https://github.com/pypa/packaging/pull/518 - Document
utils.NormalizedName
by @brettcannon in https://github.com/pypa/packaging/pull/565 - Drop
LegacySpecifier
andLegacyVersion
by @pradyunsg in https://github.com/pypa/packaging/pull/407 - Move
metadata
,versions
andspecifiers
API documentation tosphinx.ext.autodoc
by @pradyunsg in https://github.com/pypa/packaging/pull/572 - Demonstrate behaviour of
SpecifierSet.__iter__
by @hauntsaninja in https://github.com/pypa/packaging/pull/575 - Handwritten parser for parsing requirements by @hrnciar in https://github.com/pypa/packaging/pull/484
- Add changelog entry for removal of pyparsing dependency by @hroncok in https://github.com/pypa/packaging/pull/581
- Use Iterator instead of Iterable for specifier filter methods by @ichard26 in https://github.com/pypa/packaging/pull/584
- Better output on linter failure by @henryiii in https://github.com/pypa/packaging/pull/478
- Add a "cpNNN-none-any" tag by @joonis in https://github.com/pypa/packaging/pull/541
- Document exceptions raised by functions in utils by @MrMino in https://github.com/pypa/packaging/pull/544
- Refactor ELF parsing logic to standlone class by @uranusjr in https://github.com/pypa/packaging/pull/553
- Forbid prefix version matching on pre-release/post-release segments by @mayeut in https://github.com/pypa/packaging/pull/563
- Update coverage to
>=5.0.0
by @mayeut in https://github.com/pypa/packaging/pull/586 - Normalize specifier version for prefix matching by @mayeut in https://github.com/pypa/packaging/pull/561
- Add python 3.11 by @mayeut in https://github.com/pypa/packaging/pull/587
- Fix prefix version matching by @mayeut in https://github.com/pypa/packaging/pull/564
- Remove duplicate
namedtuple
by @layday in https://github.com/pypa/packaging/pull/589 - Update changelog by @pradyunsg in https://github.com/pypa/packaging/pull/595
- Change email-related fields in
Metadata
tostr
by @brettcannon in https://github.com/pypa/packaging/pull/596 - Add
versionchanged
for 21.3 by @brettcannon in https://github.com/pypa/packaging/pull/599 - refactor: use flit as a backend by @henryiii in https://github.com/pypa/packaging/pull/546
- Remove
packaging.metadata
by @pradyunsg in https://github.com/pypa/packaging/pull/603 - Refactor nox requirements to use requirements files (#601) by @strokirk in https://github.com/pypa/packaging/pull/609
- Improve Requirement/Marker parser with context-sensitive tokenisation by @pradyunsg in https://github.com/pypa/packaging/pull/624
New Contributors
- @kasium made their first contribution in https://github.com/pypa/packaging/pull/493
- @abravalheri made their first contribution in https://github.com/pypa/packaging/pull/500
- @blink1073 made their first contribution in https://github.com/pypa/packaging/pull/510
- @bdice made their first contribution in https://github.com/pypa/packaging/pull/509
- @q0w made their first contribution in https://github.com/pypa/packaging/pull/515
- @graingert made their first contribution in https://github.com/pypa/packaging/pull/523
- @hrnciar made their first contribution in https://github.com/pypa/packaging/pull/484
- @ichard26 made their first contribution in https://github.com/pypa/packaging/pull/584
- @joonis made their first contribution in https://github.com/pypa/packaging/pull/541
- @strokirk made their first contribution in https://github.com/pypa/packaging/pull/609
Full Changelog: https://github.com/pypa/packaging/compare/21.3...22.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.