From 33e96a4afa113b21d7c9000cd5f735a70eea43bc Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Fri, 17 Jan 2025 12:03:28 -0500 Subject: [PATCH] Update changelog for 6.1.0 changelog: manually fixup index: fix link to pypi/warehouse#1627 For unknown reasons, this redirect is not honored during linkcheck. changelog: record missing #1194 and #1200. These did not have changelog files; I've written and imported them locally. Signed-off-by: William Woodruff --- changelog/1180.misc.txt | 10 ---------- changelog/1191.misc.txt | 3 --- changelog/1195.removal.txt | 2 -- docs/changelog.rst | 34 ++++++++++++++++++++++++++++++++++ docs/index.rst | 2 +- 5 files changed, 35 insertions(+), 16 deletions(-) delete mode 100644 changelog/1180.misc.txt delete mode 100644 changelog/1191.misc.txt delete mode 100644 changelog/1195.removal.txt diff --git a/changelog/1180.misc.txt b/changelog/1180.misc.txt deleted file mode 100644 index db3d8158..00000000 --- a/changelog/1180.misc.txt +++ /dev/null @@ -1,10 +0,0 @@ -- ``packaging`` is used instead of ``pkginfo`` for parsing and validating - metadata. This aligns metadata validation to the one performed by PyPI. - ``packaging`` version 24.0 or later is required. Support for metadata - version 2.4 requires ``packaging`` 24.2 or later. ``pkginfo`` is not a - dependency anymore. -- With ``packaging`` version 24.2 or later, metadata fields added with - metadata version 2.4 as defined by PEP 639 are now sent to the package index - when a distribution is uploaded. This results in licensing information to - appear correctly on the package page on PyPI when uploading packages using - metadata version 2.4. diff --git a/changelog/1191.misc.txt b/changelog/1191.misc.txt deleted file mode 100644 index a9edc539..00000000 --- a/changelog/1191.misc.txt +++ /dev/null @@ -1,3 +0,0 @@ -- Use ``"source"`` instead of ``None`` as ``pyversion`` for ``sdist`` - uploads. This is what PyPI (and most likely other package indexes) - expects. diff --git a/changelog/1195.removal.txt b/changelog/1195.removal.txt deleted file mode 100644 index 88dbe6bc..00000000 --- a/changelog/1195.removal.txt +++ /dev/null @@ -1,2 +0,0 @@ -- Remove support for ``egg`` and ``wininst` distribution types. These are not - accepted by PyPI and not produced by any modern build-backeds. diff --git a/docs/changelog.rst b/docs/changelog.rst index 23c107f0..529c8ad6 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -12,6 +12,40 @@ schemes recommended by the Python Packaging Authority. .. towncrier release notes start +Twine 6.1.0 (2025-01-17) +------------------------ + +Features +^^^^^^^^ + +- Twine now has preliminary built-in support for + `Trusted Publishing `_ as an + authentication mechanism. (`#1194 `_) + +Deprecations and Removals +^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Remove support for ``egg`` and ``wininst`` distribution types. These are not + accepted by PyPI and not produced by any modern build-backeds. + (`#1195 `_) + +- Twine no longer supports ``.tar.bz2`` source distributions. + (`#1200 `_) + +Misc +^^^^ + +- ``packaging`` is used instead of ``pkginfo`` for parsing and validating + metadata. This aligns metadata validation to the one performed by PyPI. + ``packaging`` version 24.0 or later is required. Support for metadata + version 2.4 requires ``packaging`` 24.2 or later. ``pkginfo`` is not a + dependency anymore. (`#1180 `_) + +- Use ``"source"`` instead of ``None`` as ``pyversion`` for ``sdist`` + uploads. This is what PyPI (and most likely other package indexes) + expects. (`#1191 `_) + + Twine 6.0.1 (2024-11-30) ------------------------ diff --git a/docs/index.rst b/docs/index.rst index 5ebe6fd5..55d3ef10 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -251,5 +251,5 @@ See `Twine issue #338`_ for discussion and background. .. _`wheels`: https://packaging.python.org/glossary/#term-Wheel .. _`not supported on PyPI`: https://packaging.python.org/guides/migrating-to-pypi-org/#registering-package-names-metadata -.. _`issue #1627 on Warehouse`: https://github.com/pypa/warehouse/issues/1627 +.. _`issue #1627 on Warehouse`: https://github.com/pypi/warehouse/issues/1627 .. _`Twine issue #338`: https://github.com/pypa/twine/issues/338