Up to [cvs.NetBSD.org] / pkgsrc / net / py-twine
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-twine: fix for setuptools>=78
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>`_)
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)
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
*: clean-up after python38 removal
py-twine: forbid Python 3.8 because of readme_renderer
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.
py-twine: updated to 5.1.0 Twine 5.1.0 (2024-05-15) Features - Add the experimental ``--attestations`` flag.
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
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.
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
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.
py-twine: update dependencies, add many test dependencies A couple still missing. Bump PKGREVISION.
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)
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.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
*: switch to versioned_dependencies.mk for py-setuptools
py-tqdm doesn't support Python 2.7.
pytest from versioned depends
py-twine: updated to 1.13.0 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.