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

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


Branch: CURRENT, Version: 24.2, Package name: py312-packaging-24.2, 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: 160.107 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:57:45 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-packaging: update to 24.2.

24.2 - 2024-11-08
~~~~~~~~~~~~~~~~~

* PEP 639: Implement License-Expression and License-File (:issue:`828`)
* Use ``!r`` formatter for error messages with filenames (:issue:`844`)
* Add support for PEP 730 iOS tags (:issue:`832`)
* Fix prerelease detection for ``>`` and ``<`` (:issue:`794`)
* Fix uninformative error message (:issue:`830`)
* Refactor ``canonicalize_version`` (:issue:`793`)
* Patch python_full_version unconditionally (:issue:`825`)
* Fix doc for ``canonicalize_version`` to mention ``strip_trailing_zero`` and a \ 
typo in a docstring (:issue:`801`)
* Fix typo in Version ``__str__`` (:issue:`817`)
* Support creating a ``SpecifierSet`` from an iterable of ``Specifier`` objects \ 
(:issue:`775`)
   2024-03-17 13:56:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   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