Skip to content

Conversation

dnicolodi
Copy link
Contributor

Fixes #1216.

@dnicolodi dnicolodi force-pushed the fix-license-files-packaging-24 branch 3 times, most recently from 3680db0 to 3ea3455 Compare January 22, 2025 10:46
@dnicolodi
Copy link
Contributor Author

dnicolodi commented Jan 22, 2025

The issue was not caught by the tests because they run with a more recent packaging. I can extend the CI matrix to cover a couple of versions of packaging but I would like to know if the maintainers think that this is a good idea before putting in the work...

Copy link
Member

@sigmavirus24 sigmavirus24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test coverage for this

@dnicolodi dnicolodi force-pushed the fix-license-files-packaging-24 branch 5 times, most recently from 71addd7 to fc6d0ce Compare January 22, 2025 13:51
@dnicolodi
Copy link
Contributor Author

@sigmavirus24 done. My tox-fu is very limited, thus I am not sure the way I am adding the versioned dependency is the best one. Let me know if you think there is a better way.

@dnicolodi
Copy link
Contributor Author

Ping?

@dnicolodi
Copy link
Contributor Author

Is there any maintainer that can have a look at this?

@dnicolodi dnicolodi force-pushed the fix-license-files-packaging-24 branch from fc6d0ce to baba88c Compare March 10, 2025 09:34
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dnicolodi, this approach LGTM. My tox-fu is also not the strongest, but this looks relatively idiomatic from other projects I've used it on.

@dnicolodi
Copy link
Contributor Author

dnicolodi commented Mar 10, 2025

@woodruffw What is missing to merge this? @sigmavirus24 approval was conditional to the addition of tests and coverage in CI, which are there now.

@woodruffw
Copy link
Member

What is missing to merge this? @sigmavirus24 approval was conditional to the addition of tests and coverage in CI, which are there now.

Nothing on my end, I was just giving @sigmavirus24 a chance to re-review as well if he wants.

@sigmavirus24 sigmavirus24 dismissed their stale review March 10, 2025 22:20

No longer relevant

@dnicolodi dnicolodi force-pushed the fix-license-files-packaging-24 branch from baba88c to 98b8eca Compare April 2, 2025 20:14
@dnicolodi dnicolodi force-pushed the fix-license-files-packaging-24 branch from 98b8eca to fee6b71 Compare April 2, 2025 20:16
@dnicolodi
Copy link
Contributor Author

@woodruffw Can this be merged now? @sigmavirus24 has withdrawn his objections.

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dnicolodi!

@woodruffw woodruffw merged commit 2962150 into pypa:main Apr 2, 2025
24 checks passed
github-actions bot pushed a commit to aio-libs/aiosignal that referenced this pull request Sep 5, 2025
Bumps [twine](https://github.com/pypa/twine) from 6.1.0 to 6.2.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/twine/blob/main/docs/changelog.rst">twine's
changelog</a>.</em></p>
<blockquote>
<h2>twine 6.2.0 (2025-09-04)</h2>
<p>Features
^^^^^^^^</p>
<ul>
<li>
<p>Automatically refresh short-lived PyPI token in long running Trusted
Publishing uploads.</p>
<p>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), <em>and</em> we are already 10 minutes into that validity
period, we will
begin to attempt to replace the token on each subsequent request.
(<code>[#1246](pypa/twine#1246)
&lt;https://github.com/pypa/twine/issues/1246&gt;</code>_)</p>
</li>
</ul>
<p>Bugfixes
^^^^^^^^</p>
<ul>
<li>Fix compatibility kludge for invalid License-File metadata entries
emitted by
build backends to work also with <code>packaging</code> version 24.0.
(<code>[#1217](pypa/twine#1217)
&lt;https://github.com/pypa/twine/issues/1217&gt;</code>_)</li>
<li>Fix a couple of incorrectly rendered error messages.
(<code>[#1224](pypa/twine#1224)
&lt;https://github.com/pypa/twine/issues/1224&gt;</code>_)</li>
<li><code>twine</code> now enforces <code>keyring &gt;= 21.2.0</code>,
which was previously
implicitly required by API usage.
(<code>[#1229](pypa/twine#1229)
&lt;https://github.com/pypa/twine/issues/1229&gt;</code>_)</li>
<li><code>twine</code> now catches <code>configparser.Error</code> to
prevent accidental
leaks of secret tokens or passwords to the user's console.
(<code>[#1240](pypa/twine#1240)
&lt;https://github.com/pypa/twine/issues/1240&gt;</code>_)</li>
</ul>
<p>Deprecations and Removals
^^^^^^^^^^^^^^^^^^^^^^^^^</p>
<ul>
<li>
<p>Remove hacks that support <code>--skip-existing</code> for indexes
other than PyPI and
TestPyPI.</p>
<p>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.</p>
<p>For a sample of past issues, see:</p>
<ul>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/1251">pypa/twine#1251</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/918">pypa/twine#918</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/856">pypa/twine#856</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/693">pypa/twine#693</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/332">pypa/twine#332</a>
(<code>[#1251](pypa/twine#1251)
&lt;https://github.com/pypa/twine/issues/1251&gt;</code>_)</p>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/twine/commit/14ceb29585a54f679e415b351aece2acc19aa4b2"><code>14ceb29</code></a>
Update changelog for 6.2.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1264">#1264</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/60e377bd5b340b90504c9e4e976eae926d9c9ddc"><code>60e377b</code></a>
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1263">#1263</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/88821f278022011496c0ccb0d8ae40ab9d6c5c3d"><code>88821f2</code></a>
feat(package): remove MD5 hashing entirely (<a
href="https://redirect.github.com/pypa/twine/issues/1262">#1262</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/ce5fe530511c13816e51dbbd13892f10274a87b1"><code>ce5fe53</code></a>
build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0</li>
<li><a
href="https://github.com/pypa/twine/commit/6a696edefec47e842d11de468caf6c7e69694976"><code>6a696ed</code></a>
PEP 639 compliance</li>
<li><a
href="https://github.com/pypa/twine/commit/91753343daa1366711a441b4a13bd1b31146909b"><code>9175334</code></a>
rename 1247.misc.rst to changelog/1247.misc.rst</li>
<li><a
href="https://github.com/pypa/twine/commit/d94a4750883dc7cc92b2cbbb3970895303af216d"><code>d94a475</code></a>
fix(tests): update expected error message</li>
<li><a
href="https://github.com/pypa/twine/commit/c1c02d13d00f496339a86cd4f40d9f7e6926c0e4"><code>c1c02d1</code></a>
Remove --skip-existing support for non-PyPI indices</li>
<li><a
href="https://github.com/pypa/twine/commit/a24d308bb7fa5304ede3414747a939c7929d4c76"><code>a24d308</code></a>
Set trusted publishing logging to INFO/WARN (<a
href="https://redirect.github.com/pypa/twine/issues/1247">#1247</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/becf1a8ffe6ebd404aea9d7aeae1f756aeba57ba"><code>becf1a8</code></a>
Fix py3.9 mypy error in <code>__init__</code> around
<code>PackageMetadata</code></li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/twine/compare/6.1.0...6.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=twine&package-manager=pip&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
mergify bot pushed a commit to aws/jsii that referenced this pull request Sep 5, 2025
…/packages/jsii-pacmak/lib/targets/python (#4908)

Updates the requirements on [twine](https://github.com/pypa/twine) to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pypa/twine/blob/main/docs/changelog.rst">twine's changelog</a>.</em></p>
<blockquote>
<h2>twine 6.2.0 (2025-09-04)</h2>
<p>Features
^^^^^^^^</p>
<ul>
<li>
<p>Automatically refresh short-lived PyPI token in long running Trusted
Publishing uploads.</p>
<p>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), <em>and</em> we are already 10 minutes into that validity period, we will
begin to attempt to replace the token on each subsequent request. (<code>[#1246](pypa/twine#1246) &lt;https://github.com/pypa/twine/issues/1246&gt;</code>_)</p>
</li>
</ul>
<p>Bugfixes
^^^^^^^^</p>
<ul>
<li>Fix compatibility kludge for invalid License-File metadata entries emitted by
build backends to work also with <code>packaging</code> version 24.0. (<code>[#1217](pypa/twine#1217) &lt;https://github.com/pypa/twine/issues/1217&gt;</code>_)</li>
<li>Fix a couple of incorrectly rendered error messages. (<code>[#1224](pypa/twine#1224) &lt;https://github.com/pypa/twine/issues/1224&gt;</code>_)</li>
<li><code>twine</code> now enforces <code>keyring &gt;= 21.2.0</code>, which was previously
implicitly required by API usage. (<code>[#1229](pypa/twine#1229) &lt;https://github.com/pypa/twine/issues/1229&gt;</code>_)</li>
<li><code>twine</code> now catches <code>configparser.Error</code> to prevent accidental
leaks of secret tokens or passwords to the user's console. (<code>[#1240](pypa/twine#1240) &lt;https://github.com/pypa/twine/issues/1240&gt;</code>_)</li>
</ul>
<p>Deprecations and Removals
^^^^^^^^^^^^^^^^^^^^^^^^^</p>
<ul>
<li>
<p>Remove hacks that support <code>--skip-existing</code> for indexes other than PyPI and
TestPyPI.</p>
<p>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.</p>
<p>For a sample of past issues, see:</p>
<ul>
<li>
<p><a href="https://redirect.github.com/pypa/twine/issues/1251">pypa/twine#1251</a></p>
</li>
<li>
<p><a href="https://redirect.github.com/pypa/twine/issues/918">pypa/twine#918</a></p>
</li>
<li>
<p><a href="https://redirect.github.com/pypa/twine/issues/856">pypa/twine#856</a></p>
</li>
<li>
<p><a href="https://redirect.github.com/pypa/twine/issues/693">pypa/twine#693</a></p>
</li>
<li>
<p><a href="https://redirect.github.com/pypa/twine/issues/332">pypa/twine#332</a> (<code>[#1251](pypa/twine#1251) &lt;https://github.com/pypa/twine/issues/1251&gt;</code>_)</p>
</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pypa/twine/commit/14ceb29585a54f679e415b351aece2acc19aa4b2"><code>14ceb29</code></a> Update changelog for 6.2.0 (<a href="https://redirect.github.com/pypa/twine/issues/1264">#1264</a>)</li>
<li><a href="https://github.com/pypa/twine/commit/60e377bd5b340b90504c9e4e976eae926d9c9ddc"><code>60e377b</code></a> build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (<a href="https://redirect.github.com/pypa/twine/issues/1263">#1263</a>)</li>
<li><a href="https://github.com/pypa/twine/commit/88821f278022011496c0ccb0d8ae40ab9d6c5c3d"><code>88821f2</code></a> feat(package): remove MD5 hashing entirely (<a href="https://redirect.github.com/pypa/twine/issues/1262">#1262</a>)</li>
<li><a href="https://github.com/pypa/twine/commit/ce5fe530511c13816e51dbbd13892f10274a87b1"><code>ce5fe53</code></a> build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0</li>
<li><a href="https://github.com/pypa/twine/commit/6a696edefec47e842d11de468caf6c7e69694976"><code>6a696ed</code></a> PEP 639 compliance</li>
<li><a href="https://github.com/pypa/twine/commit/91753343daa1366711a441b4a13bd1b31146909b"><code>9175334</code></a> rename 1247.misc.rst to changelog/1247.misc.rst</li>
<li><a href="https://github.com/pypa/twine/commit/d94a4750883dc7cc92b2cbbb3970895303af216d"><code>d94a475</code></a> fix(tests): update expected error message</li>
<li><a href="https://github.com/pypa/twine/commit/c1c02d13d00f496339a86cd4f40d9f7e6926c0e4"><code>c1c02d1</code></a> Remove --skip-existing support for non-PyPI indices</li>
<li><a href="https://github.com/pypa/twine/commit/a24d308bb7fa5304ede3414747a939c7929d4c76"><code>a24d308</code></a> Set trusted publishing logging to INFO/WARN (<a href="https://redirect.github.com/pypa/twine/issues/1247">#1247</a>)</li>
<li><a href="https://github.com/pypa/twine/commit/becf1a8ffe6ebd404aea9d7aeae1f756aeba57ba"><code>becf1a8</code></a> Fix py3.9 mypy error in <code>__init__</code> around <code>PackageMetadata</code></li>
<li>Additional commits viewable in <a href="https://github.com/pypa/twine/compare/6.1.0...6.2.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
github-actions bot pushed a commit to Hochfrequenz/python-generics that referenced this pull request Sep 8, 2025
Bumps [twine](https://github.com/pypa/twine) from 6.1.0 to 6.2.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/twine/blob/main/docs/changelog.rst">twine's
changelog</a>.</em></p>
<blockquote>
<h2>twine 6.2.0 (2025-09-04)</h2>
<p>Features
^^^^^^^^</p>
<ul>
<li>
<p>Automatically refresh short-lived PyPI token in long running Trusted
Publishing uploads.</p>
<p>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), <em>and</em> we are already 10 minutes into that validity
period, we will
begin to attempt to replace the token on each subsequent request.
(<code>[#1246](pypa/twine#1246)
&lt;https://github.com/pypa/twine/issues/1246&gt;</code>_)</p>
</li>
</ul>
<p>Bugfixes
^^^^^^^^</p>
<ul>
<li>Fix compatibility kludge for invalid License-File metadata entries
emitted by
build backends to work also with <code>packaging</code> version 24.0.
(<code>[#1217](pypa/twine#1217)
&lt;https://github.com/pypa/twine/issues/1217&gt;</code>_)</li>
<li>Fix a couple of incorrectly rendered error messages.
(<code>[#1224](pypa/twine#1224)
&lt;https://github.com/pypa/twine/issues/1224&gt;</code>_)</li>
<li><code>twine</code> now enforces <code>keyring &gt;= 21.2.0</code>,
which was previously
implicitly required by API usage.
(<code>[#1229](pypa/twine#1229)
&lt;https://github.com/pypa/twine/issues/1229&gt;</code>_)</li>
<li><code>twine</code> now catches <code>configparser.Error</code> to
prevent accidental
leaks of secret tokens or passwords to the user's console.
(<code>[#1240](pypa/twine#1240)
&lt;https://github.com/pypa/twine/issues/1240&gt;</code>_)</li>
</ul>
<p>Deprecations and Removals
^^^^^^^^^^^^^^^^^^^^^^^^^</p>
<ul>
<li>
<p>Remove hacks that support <code>--skip-existing</code> for indexes
other than PyPI and
TestPyPI.</p>
<p>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.</p>
<p>For a sample of past issues, see:</p>
<ul>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/1251">pypa/twine#1251</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/918">pypa/twine#918</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/856">pypa/twine#856</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/693">pypa/twine#693</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/332">pypa/twine#332</a>
(<code>[#1251](pypa/twine#1251)
&lt;https://github.com/pypa/twine/issues/1251&gt;</code>_)</p>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/twine/commit/14ceb29585a54f679e415b351aece2acc19aa4b2"><code>14ceb29</code></a>
Update changelog for 6.2.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1264">#1264</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/60e377bd5b340b90504c9e4e976eae926d9c9ddc"><code>60e377b</code></a>
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1263">#1263</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/88821f278022011496c0ccb0d8ae40ab9d6c5c3d"><code>88821f2</code></a>
feat(package): remove MD5 hashing entirely (<a
href="https://redirect.github.com/pypa/twine/issues/1262">#1262</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/ce5fe530511c13816e51dbbd13892f10274a87b1"><code>ce5fe53</code></a>
build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0</li>
<li><a
href="https://github.com/pypa/twine/commit/6a696edefec47e842d11de468caf6c7e69694976"><code>6a696ed</code></a>
PEP 639 compliance</li>
<li><a
href="https://github.com/pypa/twine/commit/91753343daa1366711a441b4a13bd1b31146909b"><code>9175334</code></a>
rename 1247.misc.rst to changelog/1247.misc.rst</li>
<li><a
href="https://github.com/pypa/twine/commit/d94a4750883dc7cc92b2cbbb3970895303af216d"><code>d94a475</code></a>
fix(tests): update expected error message</li>
<li><a
href="https://github.com/pypa/twine/commit/c1c02d13d00f496339a86cd4f40d9f7e6926c0e4"><code>c1c02d1</code></a>
Remove --skip-existing support for non-PyPI indices</li>
<li><a
href="https://github.com/pypa/twine/commit/a24d308bb7fa5304ede3414747a939c7929d4c76"><code>a24d308</code></a>
Set trusted publishing logging to INFO/WARN (<a
href="https://redirect.github.com/pypa/twine/issues/1247">#1247</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/becf1a8ffe6ebd404aea9d7aeae1f756aeba57ba"><code>becf1a8</code></a>
Fix py3.9 mypy error in <code>__init__</code> around
<code>PackageMetadata</code></li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/twine/compare/6.1.0...6.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=twine&package-manager=pip&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
rodaine pushed a commit to bufbuild/protoc-gen-validate that referenced this pull request Sep 8, 2025
Bumps the python-root group with 1 update:
[twine](https://github.com/pypa/twine).

Updates `twine` from 6.1.0 to 6.2.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/twine/blob/main/docs/changelog.rst">twine's
changelog</a>.</em></p>
<blockquote>
<h2>twine 6.2.0 (2025-09-04)</h2>
<p>Features
^^^^^^^^</p>
<ul>
<li>
<p>Automatically refresh short-lived PyPI token in long running Trusted
Publishing uploads.</p>
<p>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), <em>and</em> we are already 10 minutes into that validity
period, we will
begin to attempt to replace the token on each subsequent request.
(<code>[#1246](pypa/twine#1246)
&lt;https://github.com/pypa/twine/issues/1246&gt;</code>_)</p>
</li>
</ul>
<p>Bugfixes
^^^^^^^^</p>
<ul>
<li>Fix compatibility kludge for invalid License-File metadata entries
emitted by
build backends to work also with <code>packaging</code> version 24.0.
(<code>[#1217](pypa/twine#1217)
&lt;https://github.com/pypa/twine/issues/1217&gt;</code>_)</li>
<li>Fix a couple of incorrectly rendered error messages.
(<code>[#1224](pypa/twine#1224)
&lt;https://github.com/pypa/twine/issues/1224&gt;</code>_)</li>
<li><code>twine</code> now enforces <code>keyring &gt;= 21.2.0</code>,
which was previously
implicitly required by API usage.
(<code>[#1229](pypa/twine#1229)
&lt;https://github.com/pypa/twine/issues/1229&gt;</code>_)</li>
<li><code>twine</code> now catches <code>configparser.Error</code> to
prevent accidental
leaks of secret tokens or passwords to the user's console.
(<code>[#1240](pypa/twine#1240)
&lt;https://github.com/pypa/twine/issues/1240&gt;</code>_)</li>
</ul>
<p>Deprecations and Removals
^^^^^^^^^^^^^^^^^^^^^^^^^</p>
<ul>
<li>
<p>Remove hacks that support <code>--skip-existing</code> for indexes
other than PyPI and
TestPyPI.</p>
<p>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.</p>
<p>For a sample of past issues, see:</p>
<ul>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/1251">pypa/twine#1251</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/918">pypa/twine#918</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/856">pypa/twine#856</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/693">pypa/twine#693</a></p>
</li>
<li>
<p><a
href="https://redirect.github.com/pypa/twine/issues/332">pypa/twine#332</a>
(<code>[#1251](pypa/twine#1251)
&lt;https://github.com/pypa/twine/issues/1251&gt;</code>_)</p>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/twine/commit/14ceb29585a54f679e415b351aece2acc19aa4b2"><code>14ceb29</code></a>
Update changelog for 6.2.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1264">#1264</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/60e377bd5b340b90504c9e4e976eae926d9c9ddc"><code>60e377b</code></a>
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (<a
href="https://redirect.github.com/pypa/twine/issues/1263">#1263</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/88821f278022011496c0ccb0d8ae40ab9d6c5c3d"><code>88821f2</code></a>
feat(package): remove MD5 hashing entirely (<a
href="https://redirect.github.com/pypa/twine/issues/1262">#1262</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/ce5fe530511c13816e51dbbd13892f10274a87b1"><code>ce5fe53</code></a>
build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0</li>
<li><a
href="https://github.com/pypa/twine/commit/6a696edefec47e842d11de468caf6c7e69694976"><code>6a696ed</code></a>
PEP 639 compliance</li>
<li><a
href="https://github.com/pypa/twine/commit/91753343daa1366711a441b4a13bd1b31146909b"><code>9175334</code></a>
rename 1247.misc.rst to changelog/1247.misc.rst</li>
<li><a
href="https://github.com/pypa/twine/commit/d94a4750883dc7cc92b2cbbb3970895303af216d"><code>d94a475</code></a>
fix(tests): update expected error message</li>
<li><a
href="https://github.com/pypa/twine/commit/c1c02d13d00f496339a86cd4f40d9f7e6926c0e4"><code>c1c02d1</code></a>
Remove --skip-existing support for non-PyPI indices</li>
<li><a
href="https://github.com/pypa/twine/commit/a24d308bb7fa5304ede3414747a939c7929d4c76"><code>a24d308</code></a>
Set trusted publishing logging to INFO/WARN (<a
href="https://redirect.github.com/pypa/twine/issues/1247">#1247</a>)</li>
<li><a
href="https://github.com/pypa/twine/commit/becf1a8ffe6ebd404aea9d7aeae1f756aeba57ba"><code>becf1a8</code></a>
Fix py3.9 mypy error in <code>__init__</code> around
<code>PackageMetadata</code></li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/twine/compare/6.1.0...6.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=twine&package-manager=pip&previous-version=6.1.0&new-version=6.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to upload artifacts to Test PyPI or PyPI - Invalid Distribution Metadata: unrecognized or malformed field: 'license-file'
3 participants