Announcement: distlib 0.4.0 released on PyPI

Vinay Sajip via Python-list <[email protected]> Thu, 17 Jul 2025 17:08:41 +0000 (UTC)
Newsgroups gmane.comp.python.general,gmane.comp.python.distutils.devel
Message-ID <[email protected]>
Version 0.4.0 of distlib has recently been released on PyPI [1]. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools.

The main changes in this release are as follows:

* Add the ``interpret_parsed`` function to ``markers``.

* Fix #238: Add build tag to wheel metadata if specified.

* Fix #243: Update to support free-threading version of Python (3.13t).

* Fix #246: Support subdirectories in the dist-info directory. Thanks to Pieter P for the patch.

* Fix #248: Fix path normalization issue caused by the fix for #246.

* Move import in script wrapper to ``if __name__ == 'main'`` clause.

* Fix #245: Skip test_package_data if a ``SKIP_EXT_PACKAGE_DATA`` environment variable is present.

A more detailed change log is available at [2].

Please try it out, and if you find any problems or have any suggestions for improvements, please give some feedback using the issue tracker at [3].

Regards,

Vinay Sajip

[1] https://pypi.org/project/distlib/0.4.0/
[2] https://distlib.readthedocs.io/en/latest/overview.html#change-log-for-distlib
[3] https://github.com/pypa/distlib/issues/new/choose