From 5f5b9c9c6c01072546d5340f54097c7b39ca4c95 Mon Sep 17 00:00:00 2001 From: Pranav Zinzurde Date: Tue, 18 Aug 2026 20:15:07 +0530 Subject: [PATCH] fix(release): pin twine to 6.2.0 to fix PyPI upload metadata error twine 5.1.1 bundles pkginfo, which cannot parse the Metadata-Version 2.4 files emitted by modern setuptools (unpinned in the release Makefile's venv target). pkginfo silently drops Name/Version, so twine upload rejects the wheel with "Metadata is missing required fields: Name, Version" (pypa/twine#1216) even though the built wheel is valid. twine>=6.1.0 replaced pkginfo with packaging for metadata validation, fixing this. 6.2.0 is used instead of the open dependabot PR's 7.0.0 bump, since 7.0.0 requires Python>=3.10 and breaks the Test(3.9) CI job. --- development.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development.txt b/development.txt index 6531b68..0ca1006 100644 --- a/development.txt +++ b/development.txt @@ -1,4 +1,4 @@ httpretty==1.1.* pylint==2.* -twine==5.1.1 +twine==6.2.0 coverage==7.*