Sourced from twine's changelog.
Twine 6.1.0 (2025-01-17)
Features ^^^^^^^^
- Twine now has preliminary built-in support for
Trusted Publishing <https://docs.pypi.org/trusted-publishers/>
_ as an authentication mechanism. ([#1194](https://github.com/pypa/twine/issues/1194) <https://github.com/pypa/twine/pull/1194>
_)Deprecations and Removals ^^^^^^^^^^^^^^^^^^^^^^^^^
Remove support for
egg
andwininst
distribution types. These are not accepted by PyPI and not produced by any modern build-backends. ([#1195](https://github.com/pypa/twine/issues/1195) <https://github.com/pypa/twine/issues/1195>
_)Twine no longer supports
.tar.bz2
source distributions. ([#1200](https://github.com/pypa/twine/issues/1200) <https://github.com/pypa/twine/pull/1200>
_)Misc ^^^^
packaging
is used instead ofpkginfo
for parsing and validating metadata. This aligns metadata validation to the one performed by PyPI.packaging
version 24.0 or later is required. Support for metadata version 2.4 requirespackaging
24.2 or later.pkginfo
is not a dependency anymore. ([#1180](https://github.com/pypa/twine/issues/1180) <https://github.com/pypa/twine/issues/1180>
_)Use
"source"
instead ofNone
aspyversion
forsdist
uploads. This is what PyPI (and most likely other package indexes) expects. ([#1191](https://github.com/pypa/twine/issues/1191) <https://github.com/pypa/twine/issues/1191>
_)
aa3a910
Update changelog for 6.1.0 (#1214)4406034
Merge pull request #1208 from
dnicolodi/rm-setuptools2ca55db
Simplify generation of test packages used in test_checkbffd296
Move build_archive() from test_sdist to common helpers modulefd0646e
Merge pull request #1206 from
dnicolodi/rm-binary-blobs-part1ab4ec8c
Merge pull request #1211 from
pypa/dependabot/github_actions/actions/upload-a...b562f74
build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0b2832de
Remove tests/fixtures/twine-1.5.0.zip970851d
Remove tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl2386ca5
build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#1205)