Repository navigation
chore(deps): update dependency packaging to v26.4 - #852
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
==26.3→==26.4Release Notes
pypa/packaging (packaging)
v26.4Compare Source
What's Changed
Removals
Features
prepare_environment()andMarker.evaluate_prepared()to evaluate many markers against one prepared environment.Pylock.select()now uses them. (#1469)__replace__toRequirement,Specifier, andSpecifierSet, forcopy.replace()on Python 3.13+. (#1377, #1457)VersionRange.from_bounds()to make a range from explicit bounds. (#1475)VersionRange.snap_bounds()to move range endpoints onto known versions. (#1477)VersionRange.relation()andRangeRelation, which give containment and disjointness in one pass. (#1473)interpreter_abi(). (#611)Marker.evaluate()accepts a set of names forextra, to evaluate a marker against several selected extras at once. (#1438)message,source, andspanattributes toInvalidRequirementandInvalidMarkerfor syntax errors. (#1547, #1554)Behavior adaptations
str()of markers joined with&or|has fewer parentheses when unambiguous. Evaluation and parsed markers do not change. (#1510)pylockanddirect_urldataclasses use__slots__. Pickles from 26.3 still load. (#1366, #1548)Version.__replace__()raisesTypeErrorfor unknown keyword arguments instead of ignoring them. (#1378)Fixes for versions and specifiers
SpecifierSet, and raiseTypeErrorfor elements that are notSpecifierorstr. (#1485)===) in specifiers and requirements. (#1430)~=pre, post, and dev segments. (#1384)VersionRange. (#1511)copyandpickleforVersionRange, which raisedTypeErrorbefore. (#1504)Fixes for requirements and markers
===followed by a comma and a spaced specifier in a requirement. (#1531)prereleasesoverride of each specifier when aRequirementis pickled or copied. (#1462)InvalidMarkerfor markers nested more than 200 levels deep. (#1450)&and|on markers flat, so long chains do not raise. (#1510)Marker.evaluate()raisesUndefinedComparisonwhenextrasordependency_groupsis a string instead of a set. (#1507)Fixes for metadata and licenses
Metadatasubclasses. (#1454)License-Filepaths likeC:LICENSE. (#1382)LicenseRef-identifier incanonicalize_license_expression(). (#1412)LicenseRef-identifiers before normalization. (#1481)Fixes for tags and filenames
platformsiterables incpython_tags(),generic_tags(), andcompatible_tags()instead of using the host platforms. (#1360)cpython_tags()when a generic ABI such asabi3ornonecomes first inabis, or whenabisholds onlyabi3t. (#1555)Fixes for pylock and dependency groups
Pylock.select()raisesPylockSelectErrorfor an explicitly emptyenvironmentslist (#1362), and for unknown extras and dependency groups. (#1376)pylockfile names from paths with mixed Windows path separators. (#1436)is_valid_pylock_path(). (#1446)lock-version2, such as2.0rc1. (#1522)Performance
Specifier. (#1372)str(Marker). (#1371, #1459)literal_evalfor plain marker strings. (#1429)VersionRangeconstruction, subtraction, comparison, disjointness checks, membership checks, and filtering. (#1458, #1460, #1471, #1506, #1542, #1551, #1556, #1558, #1562, #1563, #1564, #1568)Versionparsing, string conversion, and release validation. (#1520, #1523, #1524, #1538)Specifierparsing, string conversion, hashing, and equality. (#1529, #1544, #1571)Specifier.contains()for simple comparisons. (#1536)Documentation
pylockandrequirementsAPI reference (#1393), and forpackaging.tags.INTERPRETER_SHORT_NAMES. (#1491)Benchmarks
VersionRangeand PubGrub resolver benchmarks. (#1541, #1543, #1570)Internal
metadata. (#1488)VersioninSpecifier. (#1539)pylockanddirect_urlobjects. (#1550)New Contributors
Full Changelog: pypa/packaging@26.3...26.4
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
📚 Documentation preview 📚: https://objctypes--852.org.readthedocs.build/en/852/