./devel/py-packaging, Core utilities for Python packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 23.2nb1, Package name: py311-packaging-23.2nb1, Maintainer: pkgsrc-users

Core utilities for Python packages.


Required to run:
[devel/py-setuptools] [devel/py-pyparsing] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 143.275 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-26 00:25:54 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-packaging: switch to bootstrap.mk

Bump PKGREVISION.
   2023-10-04 19:14:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2023-04-13 16:35:10 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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
   2023-02-14 17:09:11 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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__
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-11-22 10:46:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2021-11-09 21:35:14 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
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`)
   2021-11-01 19:58:33 by Thomas Klausner | Files touched by this commit (6)
Log message:
*: convert dependencies of py-pyparsing to versioned_dependencies.mk