NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #443 most downloaded on PyPI
Query metadata from sdists / bdists / installed packages
Latest stable
2.0
Last release 25 days ago
28 Oct 2026
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 53 of 53 stable releases
Nothing withdrawn
no release was ever pulled
18 years old
59 releases · first in 2009
Drag across the ruler to compare, or tap a release to open it.
No changes from v2.0b2.
No changes from v2.0b2.
Automate deploying release-versioned docs to GH Pages [#13, PR #21]
Documentation
Automate deploying release-versioned docs to GH Pages [#13, PR #21]
Link GH pages docs in 'README', dist metadata.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
No runtime dependency on wheel (used only for testing).
pkginfo 2.0b1
Packaging
Metadata modernization:
No runtime dependency on wheel (used only for testing).
Removed the testing extra: maintainer's tooling now managed as
PEP 735 dependency groups.
PEP 639 License-File metadata (Trove classifier dropped).
Long-form description now carries only the README.rst text:
changelog URL now points to the /releases page.
Features
Add Python 3.15 support [#4, PR #15]
... dropping support for EOL Python versions: 3.9, 3.10.
Refactoring
Adopt 'src/' layout + 'pyproject.toml' [#3, PR #16]
Prune a dead branch inside pkginfo.wheel.Wheel.
CI / Tests
Publish released distributions to PyPI [#6, #20]
Adopt 'tox-uv' for local testing [#17, PR #19]
Move 'tox' config into 'pyproject.toml', dropping 'tox.ini'
Split different CI groups for clarity, and to reduce footprint of disparate environments.
Adopt the same groups within the GHA CI workflows.
Document current development conventions / workflow.
Replace 'CHANGES.txt' with signed tags / GH releases [#8, PR #18]
Add GHA workflows [#5, PR #14]
Use pytest's 'tmp_path' fixture [#12]
... instead of broken local 'tmp_dir'.
Remove dead branch in 'wheel.Wheel._extract_purelib'.
This release is the last one whose changelog is tracked in CHANGES.txt.
Each future release will carry its changelog entries via the body of its signed tag, copied into the release notes the release added under the releases page.
Extract PEP 427 tags from wheel filename
Bug Fixes
Extract PEP 427 tags from wheel filename
Include a 'purelib' option as well, based on the 'Root-Is-Purelib'
setting in the 'WHEEL' metadata file.
Ref: lp#2015657
Ref: #11.
Use '-' boundary
... when scanning for 'egg-info' / 'dist-info'
Ref: #9
Ref lp:1974172
Tests
Assert actual distribution metadata
Ref #10.
Add Wheel support for exposing the PEP 427 tags encoded in the wheel
filename (python_tag, abi_tag, platform_tag, build_tag),
along with the Root-Is-Purelib setting read from the archive's
WHEEL file (purelib): the closest available signal for whether
a wheel contains native code. LP #2015657. GH #11
Anchor candidate matching for installed distribution metadata at the
<name>-<version> boundary, such that a package whose name is a
strict prefix of another installed package's name no longer has its
metadata masked by that other package (e.g. 'pyramid' vs.
'pyramid_chameleon'). LP #1974172. GH #9
Test installed distributions against the metadata version recorded in
their own PKG-INFO / METADATA files, rather than against
hardcoded literals which drift with the packaging toolchain.
LP #2103804. GH #10
Compare Installed w/ the fixture's own PKG-INFO [ #1 ]
CI / Tests
Compare Installed w/ the fixture's own PKG-INFO [#1]
... rather than against the version of the installed pkginfo package.
Develop tests now check the live project metadata against the
installed package's recorded version.
Fixes failures of the released sdist's test suite under other versions
(namespaced.dodgy egg-info carries a snapshot stamped during
development).
Installed distributions against the fixture's own PKG-INFO,
rather than against the version of the installed pkginfo package;
Develop tests now check the live project metadata against the
installed package's recorded version. Fixes failures of the released
sdist's test suite under other versions (namespaced.dodgy egg-info
carries a snapshot stamped during development). GH #1Support 'metadata_version' == '2.5' (PEP 794). LP #2165813
Support 'metadata_version' == '2.5' (PEP 794). LP #2165813
Add support for Python 3.14.
Drop support for Python 3.9.
Drop support for Python 3.8.
Fix *another* packaging error (more missing testcase data!). LP #2098833
Fix packaging error which prevents running tests from the released sdist.
Disuse the metadata of the installed 'pkginfo' package for testing: during creation of the various 'tox' environments, different versions of 'setuptoo
Declare content type of long description explicitly as 'text/x-rst'.
Declare content type of long description explicitly as 'text/x-rst'.
Support 'metadata_version' == '2.4' (PEP 639).
Add dependency ordering of tox environments FBO running tests in parallel.
Add dependency ordering of tox environments FBO running tests in parallel.
Fix tests broken by bump of 'metadata_version' in 'wheels' >= '0.44.0'. LP #2090840.
Swap order of zip/tarball checks to work around archives which fool 'zipfile.is_zipfile'. LP #2084140.
Update typing stubs, adding additional checks to 'tox -e mypy' to verify that they don't drift in the future. LP #2068777.
Emit warnings for distributions parsed with unknown metadata versions, or metadata versions newer than highest supported version. LP #2058697.
Add support for Python 3.13.
Drop support for Python 3.7.
Emit warnings for distributions parsed with unknown metadata versions, or metadata versions newer than highest supported version. LP #2058697.
Improve exception message when failing to find a valid 'PKG-INFO' file within an 'sdist' archive. LP #2064652.
Add support for Python 3.11 and 3.12.
Add support for Python 3.11 and 3.12.
Drop support for Python 3.6.
Declare explicit testing dependency on 'wheel'.
Add support for Metadata 2.3.
Fix various typos in docs / docstrings. LP #2002232.
Add stricter typing checks, matching those used in 'twine'.
Add stricter typing checks, matching those used in 'twine'.
Fix typing errors / gaps reported from 'twine' CI failure. LP #2002104.
Fix packaging of stub file for Python typing support.
Added stub files for Python typing support; verify using 'mypy'. LP #1876591.
Drop "universal" wheel support (should be redundant with 'python_requires >= 3.6', but just in case). LP #1998258.
Restore a deprecated alias for the '_must_decode' helper function, moved from 'pkginfo._compat.must_decode' to 'pkginfo.distribution._must_decode' in…
Restore a deprecated alias for the '_must_decode' helper function, moved from 'pkginfo._compat.must_decode' to 'pkginfo.distribution._must_decode' in 1.90.
Repair unit tests broken by dropping Python 2.7 classifier.
Switch to use 'pytest' vs. 'nose', which doesn't support Python > 3.9.
Drop support for Python 2.7.
Switch to use 'pytest' vs. 'nose', which doesn't support Python > 3.9.
Specify supported Python versions in 'setup.py' using 'python_requires'. LP #1977981.
Add fix for installed distributions with '__package__' set to an empty string. LP #1952946.
Add 'MANIFEST.in' to ensure example files used by tests are included in source distributions. LP #1951553.
Support new standard metadata location for installed dists. LP #1865286.
Support new standard metadata location for installed dists. LP #1865286.
Don't overwrite header-based 'description' with empty payload. LP #1885458.
Add support for Metadata-Version 2.2. LP #1928729.
Add support for uncompressed tarballs for sdists. LP #1951457.
Add support for Python 3.10.
Use Python3 to build docs, and fix doctest examples to use Python3- compatible syntax. LP #1933322.
- Add support for Python 3.9. - Drop support for Python 3.5.
Add support for Python 3.9.
Drop support for Python 3.5.
Adjust test classifiers to match supported Python versions. LP #1901127.
Add support for Python 3.8. LP #1869854.
Add support for Python 3.8. LP #1869854.
Drop support for Python 3.4.
Update tests to match setuptools' change, no longer reporting metadata version for installed packages w/o explicit metadata. LP #1870197.
Fix broken 'sdist'. LP #1639585.
Fix 'console_scripts' entry point syntax. LP #1810734.
Fix 'console_scripts' entry point syntax. LP #1810734.
Add support for JSON output from the CLI. LP #1700580.
Add support for installed wheels. E.g., 'dist-info/' dirs. LP #1700200.
Harden metadata extraction against unexpected encodings. LP #1780454.
Update tests to match pip/setuptools' use of new metadata version. LP #1772274.
Add support for Python 3.6 and 3.7.
Drop support for Python 3.3.
Use relative imports in pkginfo modules. Supports vendoring of the package into setuptools.
Use relative imports in pkginfo modules. Supports vendoring of the package into setuptools.
Add support for Provides-Extra and Description-Content-Type fields.
Per https://packaging.python.org/specifications/. See: PEP 566.
Remove support for old setuptools leaving PKG-INFO in the root of
the project directory.
Packaging only change (invalid sdist built for 1.4.0).
Relicense under MIT license: the PSF license is not suitable for third-party libraries.
Packaging-only change (automate fix for wheel built for 1.3.1).
Packaging-only change (invalid wheel built for 1.3.0).
Update homepage URL to point to Launchpad, rather than PyPI.
Update homepage URL to point to Launchpad, rather than PyPI.
Add support for building wheels.
Add support for Python 3.5.
Drop support for Python 2.6 and 3.2.
Add overlooked Trove classifier for Python 3.4.
Add support for Python 3.4, PyPy3.
Add support for Python 3.4, PyPy3.
Add 100% coverage for pkginfo.commandline module.
Add support for the "wheel" distribution format, along with minimal metadata 2.0 support (not including new PEP 426 JSON properties). Code (re-)borrow
twine package.Fix tests to pass with current PyPy releases.
Support "develop" packages which keep their *.egg-info in a subdirectory. See https://bugs.launchpad.net/pkginfo/+bug/919147.
Support "develop" packages which keep their *.egg-info in a subdirectory.
See https://bugs.launchpad.net/pkginfo/+bug/919147.
Add support for "unpacked SDists" (thanks to Mike Lundy for the patch).
- No changes from 1.0b2.
Suppress resource warning leaks reported against clients.
Suppress resource warning leaks reported against clients.
Fix 'commandline' module under Py3k.
Add support for Python 3.2 and 3.3, including testing them under tox.
Add support for Python 3.2 and 3.3, including testing them under tox.
Add support for PyPy, including testing it under tox.
Test supported Python versions under tox.
Drop support for Python 2.5.
Add a setup.py dev alias: runs setup.py develop and installs
testing extras (nose and coverage).
Fix test failure under Python >= 2.7, which is enforcing 'metadata_version == 1.1' because we have classifiers.
Fix introspection of installed namespace packages. They may be installed as eggs or via dist-installed 'egg-info' files. https://bugs.launchpad.net/pk
Fix introspection of installed namespace packages. They may be installed as eggs or via dist-installed 'egg-info' files. https://bugs.launchpad.net/pkginfo/+bug/934311
Avoid a regression in 0.8 under Python 2.6 / 2.7 when parsing unicode. https://bugs.launchpad.net/pkginfo/+bug/733827/comments/3
Work around Python 2.7's breakage of StringIO. Fixes https://bugs.launchpad.net/pkginfo/+bug/733827
Work around Python 2.7's breakage of StringIO. Fixes https://bugs.launchpad.net/pkginfo/+bug/733827
Fix bug in introspection of installed packages missing the
__package__ attribute.
Preserve newlines in the description field. Thanks to Sridhar Ratnakumar for the patch.
Preserve newlines in the description field. Thanks to Sridhar
Ratnakumar for the patch.
100% test coverage.
Replace use of StringIO.StringIO with io.StringIO, where available (Python >= 2.6).
Replace use of StringIO.StringIO with io.StringIO, where available
(Python >= 2.6).
Replace use of rfc822 stdlib module with email.parser, when
available (Python >= 2.5). Ensured that distributions "unfold" wrapped
continuation lines, stripping any leading / trailing whitespace, no matter
which module was used for parsing.
Remove bogus testing dependency on zope.testing.
Add tests that the "environment markers" spelled out in the approved PEP 345 are captured.
Add Project-URL for 1.2 PKG-INFO metadata (defined in the accepted
version of PEP 345).
Marked package as non-zip-safe.
Marked package as non-zip-safe.
Fix Trove metadata misspelling.
Restore compatibility with Python 2.4.
Note that the introspection of installed packages / modules works only in Python 2.6 or later.
Add Index class as an abstraction over a collection of distributions.
Add download_url_prefix argument to pkginfo script. If passed,
the script will use the prefix to synthesize a download_url for
distributions which do not supply that value directly.
Fix bugs in handling of installed packages which lack __file__ or PKG-INFO.
__file__
or PKG-INFO.Extend the console script to allow output as CSV or INI. Also, added arguments to specify the metadata version and other parsing / output policies.
Extend the console script to allow output as CSV or INI. Also, added arguments to specify the metadata version and other parsing / output policies.
Add support for the different metadata versions specified in PEPs
241, 314, and 345. Distributions now parse and expose only the attributes
corresponding to their metadata version, which defaults to the version
parsed from the PKG-INFO file. The programmer can override that version
when creating the distribution object.
Add support for introspection of "development eggs" (checkouts with PKG-INFO, perhaps created via setup.py develop).
Add support for introspection of "development eggs" (checkouts with
PKG-INFO, perhaps created via setup.py develop).
Add a console script, pkginfo, which takes one or more paths
on the command line and writes out the associated information. Thanks
to runeh for the patch!
Add get_metadata helper function, which dispatches a given path or
module across the available distribution types, and returns a distribution
object. Thanks to runeh for the patch!
Make distribution objects support iteration over the metadata fields.
Thanks to runeh for the patch!
Make Distribution and subclasses new-style classes. Thanks to runeh
for the patch!
Add support for introspection of bdist_egg binary distributions.
bdist_egg binary distributions.- Fix packaging errors.
- Initial release.
One column per quarter.