Skip to content

Commit

Permalink
Prepare for v5.1.1 (#1114)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
sigmavirus24 and jaraco committed Jun 26, 2024
1 parent f213ede commit e29791d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
1 change: 0 additions & 1 deletion changelog/1115.bugfix.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/fix-repo-urls-with-auth-and-port.bugfix

This file was deleted.

15 changes: 15 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ schemes recommended by the Python Packaging Authority.
.. towncrier release notes start
Twine 5.1.1 (2024-06-26)
------------------------

Bugfixes
^^^^^^^^

- Resolve DeprecationWarnings when extracting ``twine`` metadata. (`#1115 <https://github.com/pypa/twine/issues/1115>`_)

- Fix bug for Repository URLs with auth where the port was lost. When attempting
to prevent printing authentication credentials in URLs provided with username
and password, we did not properly handle the case where the URL also contains
a port (when reconstructing the URL). This is now handled and tested to
ensure no regressions. (`#fix-repo-urls-with-auth-and-port <https://github.com/pypa/twine/issues/fix-repo-urls-with-auth-and-port>`_)


Twine 5.1.0 (2024-05-15)
------------------------

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ dependencies = [
"keyring >= 15.1",
"rfc3986 >= 1.4.0",
"rich >= 12.0.0",

# workaround for #1116
"pkginfo < 1.11",
]
dynamic = ["version"]

Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ commands =

[testenv:changelog]
basepython = python3
skip_install = True
deps =
towncrier
commands =
Expand Down

0 comments on commit e29791d

Please sign in to comment.