pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-twine



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 23 22:09:04 UTC 2022

Modified Files:
        pkgsrc/net/py-twine: Makefile PLIST distinfo

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)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-twine/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-twine/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-twine/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-twine/Makefile
diff -u pkgsrc/net/py-twine/Makefile:1.6 pkgsrc/net/py-twine/Makefile:1.7
--- pkgsrc/net/py-twine/Makefile:1.6    Wed Jan  5 15:41:18 2022
+++ pkgsrc/net/py-twine/Makefile        Tue Aug 23 22:09:03 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:18 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/08/23 22:09:03 wiz Exp $
 
-DISTNAME=      twine-1.13.0
+DISTNAME=      twine-4.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/twine/}
 
@@ -16,11 +15,11 @@ DEPENDS+=   ${PYPKGPREFIX}-readme_renderer
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.17:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt
 DEPENDS+=      ${PYPKGPREFIX}-tqdm>=4.14:../../misc/py-tqdm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-tqdm
-
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
@@ -31,6 +30,5 @@ post-install:
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-twine/PLIST
diff -u pkgsrc/net/py-twine/PLIST:1.1 pkgsrc/net/py-twine/PLIST:1.2
--- pkgsrc/net/py-twine/PLIST:1.1       Wed Mar 13 18:02:31 2019
+++ pkgsrc/net/py-twine/PLIST   Tue Aug 23 22:09:03 2022
@@ -1,53 +1,42 @@
-@comment $NetBSD: PLIST,v 1.1 2019/03/13 18:02:31 adam Exp $
-bin/twine-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2022/08/23 22:09:03 wiz Exp $
+bin/twine-3.10
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/twine/__init__.py
 ${PYSITELIB}/twine/__init__.pyc
-${PYSITELIB}/twine/__init__.pyo
 ${PYSITELIB}/twine/__main__.py
 ${PYSITELIB}/twine/__main__.pyc
-${PYSITELIB}/twine/__main__.pyo
-${PYSITELIB}/twine/_installed.py
-${PYSITELIB}/twine/_installed.pyc
-${PYSITELIB}/twine/_installed.pyo
+${PYSITELIB}/twine/auth.py
+${PYSITELIB}/twine/auth.pyc
 ${PYSITELIB}/twine/cli.py
 ${PYSITELIB}/twine/cli.pyc
-${PYSITELIB}/twine/cli.pyo
 ${PYSITELIB}/twine/commands/__init__.py
 ${PYSITELIB}/twine/commands/__init__.pyc
-${PYSITELIB}/twine/commands/__init__.pyo
 ${PYSITELIB}/twine/commands/check.py
 ${PYSITELIB}/twine/commands/check.pyc
-${PYSITELIB}/twine/commands/check.pyo
 ${PYSITELIB}/twine/commands/register.py
 ${PYSITELIB}/twine/commands/register.pyc
-${PYSITELIB}/twine/commands/register.pyo
 ${PYSITELIB}/twine/commands/upload.py
 ${PYSITELIB}/twine/commands/upload.pyc
-${PYSITELIB}/twine/commands/upload.pyo
 ${PYSITELIB}/twine/exceptions.py
 ${PYSITELIB}/twine/exceptions.pyc
-${PYSITELIB}/twine/exceptions.pyo
 ${PYSITELIB}/twine/package.py
 ${PYSITELIB}/twine/package.pyc
-${PYSITELIB}/twine/package.pyo
+${PYSITELIB}/twine/py.typed
 ${PYSITELIB}/twine/repository.py
 ${PYSITELIB}/twine/repository.pyc
-${PYSITELIB}/twine/repository.pyo
 ${PYSITELIB}/twine/settings.py
 ${PYSITELIB}/twine/settings.pyc
-${PYSITELIB}/twine/settings.pyo
 ${PYSITELIB}/twine/utils.py
 ${PYSITELIB}/twine/utils.pyc
-${PYSITELIB}/twine/utils.pyo
 ${PYSITELIB}/twine/wheel.py
 ${PYSITELIB}/twine/wheel.pyc
-${PYSITELIB}/twine/wheel.pyo
 ${PYSITELIB}/twine/wininst.py
 ${PYSITELIB}/twine/wininst.pyc
-${PYSITELIB}/twine/wininst.pyo

Index: pkgsrc/net/py-twine/distinfo
diff -u pkgsrc/net/py-twine/distinfo:1.3 pkgsrc/net/py-twine/distinfo:1.4
--- pkgsrc/net/py-twine/distinfo:1.3    Tue Oct 26 11:06:45 2021
+++ pkgsrc/net/py-twine/distinfo        Tue Aug 23 22:09:03 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:06:45 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/08/23 22:09:03 wiz Exp $
 
-BLAKE2s (twine-1.13.0.tar.gz) = 76742625d012c69bda588f2f384c0df59885a5dcdc89e3444ac66700028e0709
-SHA512 (twine-1.13.0.tar.gz) = d4ecacfcce995d037c63bb5827132de294289631ac84f20ebaee91fb91b487f79f18db0646c0bfe8743b596004b8241125733a7fa7719978217162dfcc8c3394
-Size (twine-1.13.0.tar.gz) = 68643 bytes
+BLAKE2s (twine-4.0.1.tar.gz) = 9eaf1feb21a7dc6654027ec5bfd8298f96819386d6a383218e4e693e3c9eed65
+SHA512 (twine-4.0.1.tar.gz) = 5d5f0c26fa9871d3114b411b9bfa7999b24d123b069a72a378a6e1b7d69617430a30fc01339bf6231ee562a87f201ec9952cb43136f12ba4dc1b29b60820e55e
+Size (twine-4.0.1.tar.gz) = 215305 bytes



Home | Main Index | Thread Index | Old Index