Up to [cvs.NetBSD.org] / pkgsrc / devel / py-packaging
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-packaging: updated to 24.1 24.1 pyupgrade/black/isort/flake8 → ruff Add support for Python 3.13 and drop EOL 3.7 Bump the github-actions group with 4 updates Fix typo in _parser docstring Modernise type annotations using FA rules from ruff Document markers.default_environment() Bump the github-actions group with 3 updates Work around platform.python_version() returning non PEP 440 compliant version for non-tagged CPython builds
py-packaging: updated to 24.0 24.0 - 2024-03-10 * Do specifier matching correctly when the specifier contains an epoch number and has more components than the version * Support the experimental ``--disable-gil`` builds in packaging.tags * BREAKING: Make optional ``metadata.Metadata`` attributes default to ``None`` * 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 * Fix a bug preventing the use of the built in ``ExceptionGroup`` on versions of Python that support it
py-packaging: switch to bootstrap.mk Bump PKGREVISION.
py-packaging: updated to 23.2 23.2 - 2023-10-01 * Document calendar-based versioning scheme (:issue:`716`) * Enforce that the entire marker string is parsed (:issue:`687`) * Requirement parsing no longer automatically validates the URL (:issue:`120`) * Canonicalize names for requirements comparison (:issue:`644`) * Introduce ``metadata.Metadata`` (along with ``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``; :issue:`570`) * Introduce the ``validate`` keyword parameter to ``utils.validate_name()`` (:issue:`570`) * Introduce ``utils.is_normalized_name()`` (:issue:`570`) * Make ``utils.parse_sdist_filename()`` and ``utils.parse_wheel_filename()`` raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``, respectively, when the version component of the name is invalid
py-packaging: updated to 23.1 23.1 What's Changed chore: add typed classifier Improve parser error messaging around mistakes in/around version specifiers Upgrade to latest mypy Delete print() from test_tags Update our linters Improve error for local version label with unsupported operators Parse raw metadata Handle prefix match with zeros at end of prefix correctly Relax typing of _key on _BaseVersion Replace spaces in platform names with underscores Import underlying parser function as an underscored variable
py-packaging: updated to 23.0 23.0 Allow "extra" to be None in the marker environment Refactor tags._generic_api to use EXT_SUFFIX Correctly handle trailing whitespace on URL requirements Fix typing for specifiers.BaseSpecifier.filter() Use stable Python 3.11 in tests Correctly handle non-normalised specifiers in requirements Move to src/ layout Remove __about__ file, in favour of keeping constants in __init__
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-packaging: updated to 21.3 21.3 * Add a ``pp3-none-any`` tag * Replace the blank pyparsing 3 exclusion with a 3.0.5 exclusion * Fix a spelling mistake
py-packaging: update to 21.2. 21.2 - 2021-10-29 ~~~~~~~~~~~~~~~~~ * Update documentation entry for 21.1. 21.1 - 2021-10-29 ~~~~~~~~~~~~~~~~~ * Update pin to pyparsing to exclude 3.0.0. 21.0 - 2021-07-03 ~~~~~~~~~~~~~~~~~ * PEP 656: musllinux support (:issue:`411`) * Drop support for Python 2.7, Python 3.4 and Python 3.5. * Replace distutils usage with sysconfig (:issue:`396`) * Add support for zip files in ``parse_sdist_filename`` (:issue:`429`) * Use cached ``_hash`` attribute to short-circuit tag equality comparisons (:issue:`417`) * Specify the default value for the ``specifier`` argument to ``SpecifierSet`` (:issue:`437`) * Proper keyword-only "warn" argument in packaging.tags (:issue:`403`) * Correctly remove prerelease suffixes from ~= check (:issue:`366`) * Fix type hints for ``Version.post`` and ``Version.dev`` (:issue:`393`) * Use typing alias ``UnparsedVersion`` (:issue:`398`) * Improve type inference for ``packaging.specifiers.filter()`` (:issue:`430`) * Tighten the return type of ``canonicalize_version()`` (:issue:`402`)
*: convert dependencies of py-pyparsing to versioned_dependencies.mk
py-packaging: update to 20.9. 20.9 - 2021-01-29 ~~~~~~~~~~~~~~~~~ * Run [isort](https://pypi.org/project/isort/) over the code base (:issue:`377`) * Add support for the ``macosx_10_*_universal2`` platform tags (:issue:`379`) * Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()`` (:issue:`387` and :issue:`389`)
py-packaging: update to 20.8. 20.8 - 2020-12-11 ~~~~~~~~~~~~~~~~~ * Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`) * Do not insert an underscore in wheel tags when the interpreter version number is more than 2 digits (:issue:`372`) 20.7 - 2020-11-28 ~~~~~~~~~~~~~~~~~ No unreleased changes. 20.6 - 2020-11-28 ~~~~~~~~~~~~~~~~~ .. note:: This release was subsequently yanked, and these changes were included in 20.7. * Fix flit configuration, to include LICENSE files (:issue:`357`) * Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (:issue:`361`) * Add some missing type hints to `packaging.requirements` (issue:`350`) 20.5 - 2020-11-27 ~~~~~~~~~~~~~~~~~ * Officially support Python 3.9 (:issue:`343`) * Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`) * Handle ``OSError`` on non-dynamic executables when attempting to resolve the glibc version string.
py-packaging: updated to 20.4 20.4: Canonicalize version before comparing specifiers. Change type hint for canonicalize_name to return packaging.utils.NormalizedName. This enables the use of static typing tools (like mypy) to detect mixing of normalized and un-normalized names. 20.3: Fix changelog for 20.2. 20.2: Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU (e.g. ARM-v8, aarch64), to report the wrong bitness. 20.1: Fix a bug caused by reuse of an exhausted iterator. 20.0: Add type hints Add proper trove classifiers for PyPy support Scale back depending on ctypes for manylinux support detection Use sys.implementation.name where appropriate for packaging.tags Expand upon the API provded by packaging.tags: interpreter_name(), mac_platforms(), compatible_tags(), cpython_tags(), generic_tags() Officially support Python 3.8 Add major, minor, and micro aliases to packaging.version.Version Properly mark packaging has being fully typed by adding a py.typed file
pytest from versioned deps.
py-packaging: updated to 19.2 19.2: * Remove dependency on ``attrs`` * Use appropriate fallbacks for CPython ABI tag * Add manylinux2014 support * Improve ABI detection * Properly handle debug wheels for Python 3.8 * Improve detection of debug builds on Windows
py-packaging: add full py-attrs dependency, this is needed at runtime. Fixes py-sphinx related build failures in other packages. Bump PKGREVISION. XXX: 'make test' needs 'make install' beforehand, please fix if you know how
py-packaging: updated to 19.1 19.1: * Add the packaging.tags module. * Correctly handle two-digit versions in python_version
py-packaging: updated to 19.0 19.0: * Fix string representation of PEP 508 direct URL requirements with markers. * Better handling of file URLs This allows for using file:///absolute/path, which was previously prevented due to the missing netloc. This allows for all file URLs that urlunparse turns back into the original URL to be valid.
py-packaging: updated to 18.0 18.0: Improve error messages when invalid requirements are given.
py-packaging: updated to 17.1 17.1: Fix utils.canonicalize_version when supplying non PEP 440 versions. 17.0: Drop support for python 2.6, 3.2, and 3.3. Define minimal pyparsing version to 2.0.2. Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion. Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release. Add utils.canonicalize_version to canonicalize version strings or Version instances
BOOTSTRAP_SETUPTOOLS is not necessary any longer. Leave it commented out for now.
Import py-packaging-16.8 as devel/py-packaging. Core utilities for Python packages.