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

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


Branch: CURRENT, Version: 5.0.0, Package name: py311-twine-5.0.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: 216.913 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-12-18 17:16:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-twine: updated to 4.0.2

Twine 4.0.2 (2022-11-30)
Bugfixes
Remove deprecated function to fix twine check with pkginfo 1.9.0.
   2022-09-11 18:30:34 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
py-twine: update dependencies, add many test dependencies

A couple still missing.

Bump PKGREVISION.
   2022-08-26 11:03:34 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-twine: fix PLIST
   2022-08-24 00:09:04 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-twine: update to 4.0.1.

Twine 4.0.1 (2022-06-01)

Bugfixes

    Improve logging when keyring fails. (#890)

    Reconfgure root logger to show all log messages. (#896)

Twine 4.0.0 (2022-03-31)

Features

    Drop support for Python 3.6. (#869)

    Use Rich to add color to upload output. (#851)

    Use Rich to add color to check output. (#874)

    Use Rich instead of tqdm for upload progress bar. (#877)

Bugfixes

    Remove Twine’s dependencies from the User-Agent header when uploading. (#871)

    Improve detection of disabled BLAKE2 hashing due to FIPS mode. (#879)

    Restore warning for missing long_description. (#887)

Twine 3.8.0 (2022-02-02)

Features

    Add --verbose logging for querying keyring credentials. (#849)

    Log all upload responses with --verbose. (#859)

    Show more helpful error message for invalid metadata. (#861)

Bugfixes

    Require a recent version of urllib3. (#858)

Twine 3.7.1 (2021-12-07)

Improved Documentation

    Fix broken link to packaging tutorial. (#844)

Twine 3.7.0 (2021-12-01)

Features

    Add support for core metadata version 2.2, defined in PEP 643. (#833)

Twine 3.6.0 (2021-11-10)

Features

    Add support for Python 3.10. (#827)

Twine 3.5.0 (2021-11-02)

Features

    Show more helpful messages for invalid passwords. (#815)

    Allow the --skip-existing option to work with GCP Artifact Registry. (#823)

Bugfixes

    Add a helpful error message when an upload fails due to missing a trailing \ 
slash in the URL. (#812)

    Generalize --verbose suggestion when an upload fails. (#817)

Twine 3.4.2 (2021-07-20)

Bugfixes

    Improve error message for unsupported metadata. (#755)

    Improve error message for a missing config file. (#770)

    Do not include md5_digest or blake2_256_digest if FIPS mode is enabled on \ 
the host. This removes those fields from the metadata before sending the \ 
metadata to the repository. (#776)

Twine 3.4.1 (2021-03-16)

Bugfixes

    Fix a regression that was causing some namespace packages with dots in them \ 
fail to upload to PyPI. (#745)

Twine 3.4.0 (2021-03-15)

Features

    Prefer importlib.metadata for entry point handling. (#728)

    Rely on importlib_metadata 3.6 for nicer entry point processing. (#732)

    Eliminate dependency on setuptools/pkg_resources and replace with packaging \ 
and importlib_metadata. (#736)

Twine 3.3.0 (2020-12-23)

Features

    Print files to be uploaded using upload --verbose (#670)

    Print configuration file location when using upload --verbose (#675)

    Print source and values of credentials when using upload --verbose (#685)

    Add support for Python 3.9 (#708)

    Turn warnings into errors when using check --strict (#715)

Bugfixes

    Make password optional when using upload --client-cert (#678)

    Support more Nexus versions with upload --skip-existing (#693)

    Support Gitlab Enterprise with upload --skip-existing (#698)

    Show a better error message for malformed files (#714)

Improved Documentation

    Adopt PSF code of conduct (#680)

    Adopt towncrier for the changleog (#718)

Twine 3.2.0 (2020-06-24)

Features

    Improve display of HTTP errors during upload (#666)

    Print packages and signatures to be uploaded when using --verbose option (#652)

    Use red text when printing errors on the command line (#649)

    Require repository URL scheme to be http or https (#602)

    Add type annotations, checked with mypy, with PEP 561 support for users of \ 
Twine’s API (#231)

Bugfixes

    Update URL to .pypirc specification (#655)

    Don’t raise an exception when Python version can’t be parsed from \ 
filename (#612)

    Fix inaccurate retry message during upload (#611)

    Clarify error messages for archive format (#601)

Twine 3.1.1 (2019-11-27)

Bugfixes

    Restore --non-interactive as a flag not expecting an argument. (#548)

Twine 3.1.0 (2019-11-23)

Features

    Add support for specifying --non-interactive as an environment variable. (#547)

Twine 3.0.0 (2019-11-18)

Features

    When a client certificate is indicated, all password processing is disabled. \ 
(#336)

    Add --non-interactive flag to abort upload rather than interactively prompt \ 
if credentials are missing. (#489)

    Twine now unconditionally requires the keyring library and no longer \ 
supports uninstalling keyring as a means to disable that functionality. Instead, \ 
use keyring --disable keyring functionality if necessary. (#524)

    Add Python 3.8 to classifiers. (#518)

Bugfixes

    More robust handling of server response in --skip-existing (#332)

Twine 2.0.0 (2019-09-24)

Features

    Twine now requires Python 3.6 or later. Use pip 9 or pin to “twine<2” \ 
to install twine on older Python versions. (#437)

Bugfixes

    Require requests 2.20 or later to avoid reported security vulnerabilities in \ 
earlier releases. (#491)

Twine 1.15.0 (2019-09-17)

Features

    Improved output on check command: Prints a message when there are no \ 
distributions given to check. Improved handling of errors in a distribution’s \ 
markup, avoiding messages flowing through to the next distribution’s errors. \ 
(#488)

Twine 1.14.0 (2019-09-06)

Features

    Show Warehouse URL after uploading a package (#459)

    Better error handling and gpg2 fallback if gpg not available. (#456)

    Now provide a more meaningful error on redirect during upload. (#310)

Bugfixes

    Fail more gracefully when encountering bad metadata (#341)
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.