Skip to content

Commit e29791d

Browse files
sigmavirus24jaraco
andauthored
Prepare for v5.1.1 (#1114)
* Prepare for v5.1.1 * Re-render changelog. * Pin against pkginfo 1.11 until the fix for #1116 can be merged, unblocking release. --------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
1 parent f213ede commit e29791d

5 files changed

+18
-7
lines changed

changelog/1115.bugfix.rst

-1
This file was deleted.

changelog/fix-repo-urls-with-auth-and-port.bugfix

-5
This file was deleted.

docs/changelog.rst

+15
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ schemes recommended by the Python Packaging Authority.
1212
1313
.. towncrier release notes start
1414
15+
Twine 5.1.1 (2024-06-26)
16+
------------------------
17+
18+
Bugfixes
19+
^^^^^^^^
20+
21+
- Resolve DeprecationWarnings when extracting ``twine`` metadata. (`#1115 <https://github.com/pypa/twine/issues/1115>`_)
22+
23+
- Fix bug for Repository URLs with auth where the port was lost. When attempting
24+
to prevent printing authentication credentials in URLs provided with username
25+
and password, we did not properly handle the case where the URL also contains
26+
a port (when reconstructing the URL). This is now handled and tested to
27+
ensure no regressions. (`#fix-repo-urls-with-auth-and-port <https://github.com/pypa/twine/issues/fix-repo-urls-with-auth-and-port>`_)
28+
29+
1530
Twine 5.1.0 (2024-05-15)
1631
------------------------
1732

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ dependencies = [
3939
"keyring >= 15.1",
4040
"rfc3986 >= 1.4.0",
4141
"rich >= 12.0.0",
42+
43+
# workaround for #1116
44+
"pkginfo < 1.11",
4245
]
4346
dynamic = ["version"]
4447

tox.ini

-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ commands =
9595

9696
[testenv:changelog]
9797
basepython = python3
98-
skip_install = True
9998
deps =
10099
towncrier
101100
commands =

0 commit comments

Comments
 (0)