55 Commits

Author SHA256 Message Date
769a96e186 Accepting request 1305594 from devel:languages:python
- Update to 6.2.0:
  * Features:
    + Refresh short-lived PyPI token in long running Trusted Publishing
      uploads.
  * Bugfixes
    + Fix compatibility kludge for invalid License-File metadata entries
      emitted by build backends to work also with packaging version 24.0.
    + Fix a couple of incorrectly rendered error messages.
    + twine now enforces keyring >= 21.2.0.
    + twine now catches configparser.Error to prevent accidental leaks of
      secret tokens or passwords to the user's console.
  * Deprecations and Removals:
    + Remove hacks that support --skip-existing for indexes other than PyPI
      and TestPyPI.
    + Remove support for MD5 digests during uploads.
- Drop patch skip-unsupported-Metadata-Version-test.patch, merged upstream.

OBS-URL: https://build.opensuse.org/request/show/1305594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=21
2025-10-03 13:42:07 +00:00
4066335786 - Update to 6.2.0:
* Features:
    + Refresh short-lived PyPI token in long running Trusted Publishing
      uploads.
  * Bugfixes
    + Fix compatibility kludge for invalid License-File metadata entries
      emitted by build backends to work also with packaging version 24.0.
    + Fix a couple of incorrectly rendered error messages.
    + twine now enforces keyring >= 21.2.0.
    + twine now catches configparser.Error to prevent accidental leaks of
      secret tokens or passwords to the user's console.
  * Deprecations and Removals:
    + Remove hacks that support --skip-existing for indexes other than PyPI
      and TestPyPI.
    + Remove support for MD5 digests during uploads.
- Drop patch skip-unsupported-Metadata-Version-test.patch, merged upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=53
2025-09-18 01:37:33 +00:00
594483b18e Accepting request 1301302 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=20
2025-08-26 12:56:22 +00:00
f4b8644434 - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=51
2025-08-25 14:24:56 +00:00
72e6a7b2cc Accepting request 1240307 from devel:languages:python
- Add missing Requires.
- Update to 6.1.0
  * 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-backends. (#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)
- Changes from 6.0.1
  * Bugfixes
    - Fixed a regression where twine check would fail to expand wildcards, e.g. twine check 'dist/*'. (#1188)
  * Misc
    #1184
- Changes from 6.0.0
  * 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)
  * Misc
    #1024

OBS-URL: https://build.opensuse.org/request/show/1240307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=19
2025-01-28 13:58:03 +00:00
711c892fd9 - Add missing Requires.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=49
2025-01-25 21:09:10 +00:00
11a7176691 Accepting request 1240192 from home:ecsos:python
- Update to 6.1.0
  * 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-backends. (#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)
- Changes from 6.0.1
  * Bugfixes
    - Fixed a regression where twine check would fail to expand wildcards, e.g. twine check 'dist/*'. (#1188)
  * Misc
    #1184
- Changes from 6.0.0
  * 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)
  * Misc
    #1024

OBS-URL: https://build.opensuse.org/request/show/1240192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=48
2025-01-25 20:45:13 +00:00
778be5880a Accepting request 1224057 from devel:languages:python
- Skip a test broken by importlib_metadata 8.5+.

OBS-URL: https://build.opensuse.org/request/show/1224057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=18
2024-11-15 14:38:05 +00:00
c4e8c175b4 - Skip a test broken by importlib_metadata 8.5+.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=46
2024-11-14 03:51:43 +00:00
ebe3d8228e Accepting request 1207164 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1207164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=17
2024-10-12 11:24:48 +00:00
d9679f113e Accepting request 1207159 from home:glaubitz:branches:devel:languages:python
- Update to 5.1.1
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1207159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=44
2024-10-11 12:11:02 +00:00
0d4da1239b Accepting request 1183989 from devel:languages:python
- update to 5.1.0:
  * Add the experimental --attestations flag.

OBS-URL: https://build.opensuse.org/request/show/1183989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=16
2024-07-01 09:19:20 +00:00
6b576b06e1 - update to 5.1.0:
* Add the experimental --attestations flag.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=42
2024-06-29 12:59:30 +00:00
02d9aee3c8 Accepting request 1166677 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1166677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=15
2024-04-11 17:40:26 +00:00
fff54cbb8a Accepting request 1166606 from home:anag+factory:Staging
Fixed needed in Staging:H

- Add BuildRequires on python-jaraco.packaging that was pulled
  by other Build Requires.

OBS-URL: https://build.opensuse.org/request/show/1166606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=40
2024-04-10 14:24:45 +00:00
6b25d49ef9 Accepting request 1158919 from devel:languages:python
- Update to 5.0.0:
  - Use email.message instead of cgi as cgi has been deprecated
- Remove upstreamed patch license_files.patch
- Add skip-unsupported-Metadata-Version-test.patch
  (gh#pypa/twine#1071) to skip failing test case.

OBS-URL: https://build.opensuse.org/request/show/1158919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=14
2024-03-18 15:44:45 +00:00
31a484be1d - Update to 5.0.0:
- Use email.message instead of cgi as cgi has been deprecated
- Remove upstreamed patch license_files.patch
- Add skip-unsupported-Metadata-Version-test.patch
  (gh#pypa/twine#1071) to skip failing test case.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=38
2024-03-18 08:39:54 +00:00
019b780d9d Accepting request 1085218 from devel:languages:python
- Update to 4.0.2:
  - Remove deprecated function to fix twine check with pkginfo
    1.9.0.
  - Improve logging when keyring fails.
  - Reconfgure root logger to show all log messages.
  - Drop support for Python 3.6.
  - Use Rich instead of tqdm for upload progress bar.
  - Remove Twine’s dependencies from the User-Agent header when
    uploading.
  - Improve detection of disabled BLAKE2 hashing due to FIPS
    mode.
  - Restore warning for missing long_description.
  - Add --verbose logging for querying keyring credentials.
  - Log all upload responses with --verbose.
  - Show more helpful error message for invalid metadata.
  - Require a recent version of urllib3.
  - Add support for core metadata version 2.2, defined in PEP
    643.
  - Add support for Python 3.10.
  - Show more helpful messages for invalid passwords.
  - Allow the --skip-existing option to work with GCP Artifact
    Registry.
  - Add a helpful error message when an upload fails due to
    missing a trailing slash in the URL.
  - Generalize --verbose suggestion when an upload fails.
  - Improve error messages
  - 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.
- Add license_files.patch to make pip happy.

OBS-URL: https://build.opensuse.org/request/show/1085218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=13
2023-05-09 11:07:03 +00:00
a1e7e42598 Add reference to the upstream PR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=36
2023-05-06 08:30:16 +00:00
16af0348b3 - Update to 4.0.2:
- Remove deprecated function to fix twine check with pkginfo
    1.9.0.
  - Improve logging when keyring fails.
  - Reconfgure root logger to show all log messages.
  - Drop support for Python 3.6.
  - Use Rich instead of tqdm for upload progress bar.
  - Remove Twine’s dependencies from the User-Agent header when
    uploading.
  - Improve detection of disabled BLAKE2 hashing due to FIPS
    mode.
  - Restore warning for missing long_description.
  - Add --verbose logging for querying keyring credentials.
  - Log all upload responses with --verbose.
  - Show more helpful error message for invalid metadata.
  - Require a recent version of urllib3.
  - Add support for core metadata version 2.2, defined in PEP
    643.
  - Add support for Python 3.10.
  - Show more helpful messages for invalid passwords.
  - Allow the --skip-existing option to work with GCP Artifact
    Registry.
  - Add a helpful error message when an upload fails due to
    missing a trailing slash in the URL.
  - Generalize --verbose suggestion when an upload fails.
  - Improve error messages
  - 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.
- Add license_files.patch to make pip happy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=35
2023-05-05 14:27:24 +00:00
e4f9ce0eb1 Accepting request 1081911 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=12
2023-04-22 20:00:50 +00:00
737ba980ac Accepting request 1081675 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=33
2023-04-21 14:36:43 +00:00
46c30e28c1 Accepting request 905787 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/905787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=11
2021-07-16 20:12:33 +00:00
217a11de84 Accepting request 905699 from home:stroeder:python
update to 3.4.1

OBS-URL: https://build.opensuse.org/request/show/905699
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=32
2021-07-12 08:07:36 +00:00
794a3dd1c6 Accepting request 822414 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=10
2020-08-01 10:30:24 +00:00
Tomáš Chvátal
3a47ce00ec Accepting request 822402 from home:mcalabkova:branches:devel:languages:python
- update to 3.2.0
  * :feature:`666` Improve display of HTTP errors during upload
  * :feature:`649` Use red text when printing errors on the command line
  * :feature:`652` Print packages and signatures to be uploaded when using
    ``--verbose`` option
  * 🐛`655 major` Update URL to ``.pypirc`` specfication
  * :feature:`602` Require repository URL scheme to be ``http`` or ``https``
  * 🐛`612 major` Don't raise an exception when Python version can't be
    parsed from filename

OBS-URL: https://build.opensuse.org/request/show/822402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=30
2020-07-23 13:18:08 +00:00
97e11eca9b Accepting request 791481 from devel:languages:python
- Update deps to really match up reality

- version update to 3.1.1
  bug`548` Restore --non-interactive as a flag not expecting an argument.
  :feature:`547` Add support for specifying --non-interactive as an environment variable.
  :feature:`336` When a client certificate is indicated, all password processing is disabled.
  :feature:`489` Add --non-interactive flag to abort upload rather than interactively prompt if credentials are missing.
  :feature:`524` 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.
  :feature:`518` Add Python 3.8 to classifiers.
  bug`332 major` More robust handling of server response in --skip-existing
  :feature:`437` Twine now requires Python 3.6 or later. Use pip 9 or pin to "twine<2" to install twine on older Python versions.
  bug`491 major` Require requests 2.20 or later to avoid reported security vulnerabilities in earlier releases.
- python3 only package

- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/791481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=9
2020-04-19 19:48:42 +00:00
Tomáš Chvátal
c43f24ad2c - Update deps to really match up reality
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=28
2020-04-05 07:40:16 +00:00
Tomáš Chvátal
ce8e730b51 Accepting request 788516 from home:pgajdos:python
sorry, forgot about it

OBS-URL: https://build.opensuse.org/request/show/788516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=27
2020-03-26 11:28:03 +00:00
Tomáš Chvátal
1bd01a20b2 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=26
2020-03-12 07:54:03 +00:00
5b9e0f6f20 Accepting request 779031 from devel:languages:python
- update to 1.15.0
- last with python2
- Improved output on check command

OBS-URL: https://build.opensuse.org/request/show/779031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=8
2020-02-29 20:18:48 +00:00
e655704702 - update to 1.15.0
- last with python2
- Improved output on check command

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=24
2020-02-25 11:25:21 +00:00
323025fb1b Accepting request 729748 from devel:languages:python
- Update to 1.14.0:
  * Better error handling and gpg2 fallback if gpg not available.
  * Fixes for python 3.8

OBS-URL: https://build.opensuse.org/request/show/729748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=7
2019-09-23 10:03:37 +00:00
Tomáš Chvátal
9e3686ad78 - Update to 1.14.0:
* Better error handling and gpg2 fallback if gpg not available.
  * Fixes for python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=22
2019-09-10 09:45:40 +00:00
5cb7b2c444 Accepting request 680764 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/680764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=6
2019-03-18 09:37:34 +00:00
9c17652e29 Accepting request 680732 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/680732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=20
2019-03-02 11:11:11 +00:00
07f489f300 Accepting request 673043 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/673043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=5
2019-02-13 09:00:05 +00:00
377617342f Accepting request 673042 from home:mcepl:branches:devel:languages:python
Add fix-keyring-support.patch fixing gh#pypa/twine#408

OBS-URL: https://build.opensuse.org/request/show/673042
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=18
2019-02-09 20:21:16 +00:00
6ce6a400b9 Accepting request 673031 from home:frispete:python
- update to version 1.12.2
  - bug`408` Fix regression where keyring is unconditionally disabled.
- update to version 1.12.1
  - bug`404` Fix regression with upload exit code
- update to version 1.12.0
  - feature`395 major` Add twine check command to check long description
  - feature`392 major` Drop support for Python 3.3
  - feature`363` Empower --skip-existing for Artifactory repositories
  - bug`367` Avoid MD5 when Python is compiled in FIPS mode
- Fix source URL
- add python-readme_renderer dependency
- BuildRequire python2-pyblake2 for successful testing

OBS-URL: https://build.opensuse.org/request/show/673031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=17
2019-02-09 18:02:42 +00:00
dc0b0e8945 Accepting request 673000 from home:mcepl:branches:devel:languages:python
- Deduplicate installed files

OBS-URL: https://build.opensuse.org/request/show/673000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=16
2019-02-09 13:57:31 +00:00
a25d03593d Accepting request 610896 from devel:languages:python
- Recommend the pyblake2 on python2 as it is included in py3.6+
  but was never in py2

- Switch to github archive to have test fixtures
- Enable tests

- adjust requirements

- update to version 1.11.0
  - see https://github.com/pypa/twine/blob/master/docs/changelog.rst

OBS-URL: https://build.opensuse.org/request/show/610896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=4
2018-05-29 14:48:46 +00:00
Tomáš Chvátal
8a50147298 - Recommend the pyblake2 on python2 as it is included in py3.6+
but was never in py2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=14
2018-05-21 09:30:57 +00:00
Tomáš Chvátal
87d900722f - Switch to github archive to have test fixtures
- Enable tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=13
2018-05-21 09:26:10 +00:00
Tomáš Chvátal
e75c3ef62a Accepting request 610722 from home:frispete:python
- adjust requirements

- update to version 1.11.0
  - see https://github.com/pypa/twine/blob/master/docs/changelog.rst

OBS-URL: https://build.opensuse.org/request/show/610722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=12
2018-05-20 13:49:47 +00:00
d01b8354a6 Accepting request 610017 from devel:languages:python
- Format with spec-cleaner and reduce the license conditions

OBS-URL: https://build.opensuse.org/request/show/610017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=3
2018-05-17 16:05:14 +00:00
Tomáš Chvátal
990c05e360 - Format with spec-cleaner and reduce the license conditions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=10
2018-05-17 08:26:45 +00:00
760ed752e1 Accepting request 508798 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/508798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=2
2017-08-04 09:58:41 +00:00
62b66877c9 Accepting request 508560 from home:sebix:branches:devel:languages:python
- fix source url

OBS-URL: https://build.opensuse.org/request/show/508560
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=8
2017-07-07 12:55:17 +00:00
d439dab704 Accepting request 508391 from home:sebix:branches:devel:languages:python
- update to version 1.9.1
- update specfile to singlespec

OBS-URL: https://build.opensuse.org/request/show/508391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=7
2017-07-06 11:32:17 +00:00
bf9c016c1d Accepting request 449755 from devel:languages:python
Needed for certbot.

OBS-URL: https://build.opensuse.org/request/show/449755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=1
2017-02-06 14:03:32 +00:00