Bump twine from 6.1.0 to 6.2.0
Bumps twine from 6.1.0 to 6.2.0.
Changelog
Sourced from twine's changelog.
twine 6.2.0 (2025-09-04)
Features ^^^^^^^^
Automatically refresh short-lived PyPI token in long running Trusted Publishing uploads.
In the event that a trusted publishing upload job is taking longer than the validity period of a trusted publishing token (15 minutes at the time of this writing), and we are already 10 minutes into that validity period, we will begin to attempt to replace the token on each subsequent request. (
[#1246](https://github.com/pypa/twine/issues/1246) <https://github.com/pypa/twine/issues/1246>_)Bugfixes ^^^^^^^^
- Fix compatibility kludge for invalid License-File metadata entries emitted by build backends to work also with
packagingversion 24.0. ([#1217](https://github.com/pypa/twine/issues/1217) <https://github.com/pypa/twine/issues/1217>_)- Fix a couple of incorrectly rendered error messages. (
[#1224](https://github.com/pypa/twine/issues/1224) <https://github.com/pypa/twine/issues/1224>_)twinenow enforceskeyring >= 21.2.0, which was previously implicitly required by API usage. ([#1229](https://github.com/pypa/twine/issues/1229) <https://github.com/pypa/twine/issues/1229>_)twinenow catchesconfigparser.Errorto prevent accidental leaks of secret tokens or passwords to the user's console. ([#1240](https://github.com/pypa/twine/issues/1240) <https://github.com/pypa/twine/issues/1240>_)Deprecations and Removals ^^^^^^^^^^^^^^^^^^^^^^^^^
Remove hacks that support
--skip-existingfor indexes other than PyPI and TestPyPI.To date, these hacks continue to accrue and there have been numerous issues with them, not the least of which being that every time we update them, the paid index providers change things to break the compatibility we implement for them. Beyond that, these hacks do not work when text is internationalized in the response from the index provider.
For a sample of past issues, see:
pypa/twine#332 (
[#1251](https://github.com/pypa/twine/issues/1251) <https://github.com/pypa/twine/issues/1251>_)
... (truncated)
Commits
14ceb29Update changelog for 6.2.0 (#1264)60e377bbuild(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#1263)88821f2feat(package): remove MD5 hashing entirely (#1262)ce5fe53build(deps): bump actions/download-artifact from 4.3.0 to 5.0.06a696edPEP 639 compliance9175334rename 1247.misc.rst to changelog/1247.misc.rstd94a475fix(tests): update expected error messagec1c02d1Remove --skip-existing support for non-PyPI indicesa24d308Set trusted publishing logging to INFO/WARN (#1247)becf1a8Fix py3.9 mypy error in__init__aroundPackageMetadata- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.