From e29791dcbcd4d39ffc5c4ce2e38e3884005bd368 Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Wed, 26 Jun 2024 09:54:24 -0500 Subject: [PATCH] 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 --- changelog/1115.bugfix.rst | 1 - changelog/fix-repo-urls-with-auth-and-port.bugfix | 5 ----- docs/changelog.rst | 15 +++++++++++++++ pyproject.toml | 3 +++ tox.ini | 1 - 5 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 changelog/1115.bugfix.rst delete mode 100644 changelog/fix-repo-urls-with-auth-and-port.bugfix diff --git a/changelog/1115.bugfix.rst b/changelog/1115.bugfix.rst deleted file mode 100644 index 1026c3a4..00000000 --- a/changelog/1115.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Resolve DeprecationWarnings when extracting ``twine`` metadata. diff --git a/changelog/fix-repo-urls-with-auth-and-port.bugfix b/changelog/fix-repo-urls-with-auth-and-port.bugfix deleted file mode 100644 index 8841e505..00000000 --- a/changelog/fix-repo-urls-with-auth-and-port.bugfix +++ /dev/null @@ -1,5 +0,0 @@ -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. diff --git a/docs/changelog.rst b/docs/changelog.rst index a09236f7..ab2e062b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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 `_) + +- 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 `_) + + Twine 5.1.0 (2024-05-15) ------------------------ diff --git a/pyproject.toml b/pyproject.toml index b0672016..77bbd729 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,9 @@ dependencies = [ "keyring >= 15.1", "rfc3986 >= 1.4.0", "rich >= 12.0.0", + + # workaround for #1116 + "pkginfo < 1.11", ] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index 9681ed3a..63749427 100644 --- a/tox.ini +++ b/tox.ini @@ -95,7 +95,6 @@ commands = [testenv:changelog] basepython = python3 -skip_install = True deps = towncrier commands =