./net/py-twine, Collection of utilities for publishing packages on PyPI

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.1.0, Package name: py312-twine-6.1.0, Maintainer: pkgsrc-users

Twine is a utility for publishing Python packages on PyPI. It provides build
system independent uploads of source and binary distribution artifacts for both
new and existing projects.


Required to run:
[devel/py-setuptools] [devel/py-requests] [devel/py-requests-toolbelt] [devel/py-pkginfo] [misc/py-tqdm] [lang/python37] [textproc/py-readme_renderer]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 164.457 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-31 19:32:35 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-twine: update to 6.1.0.

Twine 6.1.0 (2025-01-17)
------------------------

Features
^^^^^^^^

- Twine now has preliminary built-in support for
  `Trusted Publishing <https://docs.pypi.org/trusted-publishers/>`_ as an
  authentication mechanism. (`#1194 \ 
<https://github.com/pypa/twine/pull/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-backends.
  (`#1195 <https://github.com/pypa/twine/issues/1195>`_)

- Twine no longer supports ``.tar.bz2`` source distributions.
  (`#1200 <https://github.com/pypa/twine/pull/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 <https://github.com/pypa/twine/issues/1180>`_)

- Use ``"source"`` instead of ``None`` as ``pyversion`` for ``sdist``
  uploads. This is what PyPI (and most likely other package indexes)
  expects. (`#1191 <https://github.com/pypa/twine/issues/1191>`_)
   2024-12-06 22:39:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-twine: update to 6.0.1.

Twine 6.0.1 (2024-11-30)

Bugfixes

Fixed a regression where twine check would fail to expand wildcards, e.g. twine \ 
check 'dist/*'. (#1188)

Twine 6.0.0 (2024-11-29)

Bugfixes

Restore support for pkginfo 1.11 (#1116)

Deprecations and Removals

Username for PyPI and Test PyPI now defaults to __token__ but no longer \ 
overrides a username configured in the environment or supplied on the command \ 
line. Workflows still supplying anything other than __token__ for the username \ 
when uploading to PyPI or Test PyPI will now fail. Either supply __token__ or do \ 
not supply a username at all. (#1121)
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-07-14 15:31:26 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-twine: forbid Python 3.8 because of readme_renderer
   2024-06-28 11:02:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-twine: updated to 5.1.1

Twine 5.1.1 (2024-06-26)

Bugfixes

- Resolve DeprecationWarnings when extracting ``twine`` metadata.

- 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.
   2024-05-18 09:07:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-twine: updated to 5.1.0

Twine 5.1.0 (2024-05-15)

Features

- Add the experimental ``--attestations`` flag.
   2024-02-13 11:34:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-twine: updated to 5.0.0

Twine 5.0.0 (2024-02-10)

Bugfixes
- Use ``email.message`` instead of ``cgi`` as ``cgi`` has been deprecated