14
0
forked from pool/python-twine

9 Commits

Author SHA256 Message Date
8c8b27291f 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
2af8c3baf5 - 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
6eaf9db6c6 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
8d1684f74e - 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
3b9eafeb08 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
52d5be49a8 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
a7a3a79468 - 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
e1cf4d8d38 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
c8bd917d6c 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
2 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 25 14:24:32 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 25 21:08:56 UTC 2025 - Matej Cepl <mcepl@cepl.eu> Sat Jan 25 21:08:56 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-twine # spec file for package python-twine
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,11 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-twine Name: python-twine
Version: 6.1.0 Version: 6.1.0
@@ -60,9 +65,14 @@ Requires: python-requests-toolbelt >= 0.8.0
Requires: python-rfc3986 >= 1.4.0 Requires: python-rfc3986 >= 1.4.0
Requires: python-rich >= 12.0.0 Requires: python-rich >= 12.0.0
Requires: python-urllib3 >= 1.26 Requires: python-urllib3 >= 1.26
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch %endif
%python_subpackages %python_subpackages
%description %description
@@ -97,6 +107,9 @@ rm tests/test_integration.py
%postun %postun
%python_uninstall_alternative twine %python_uninstall_alternative twine
%pre
%python_libalternatives_reset_alternative twine
%files %{python_files} %files %{python_files}
%doc AUTHORS README.rst %doc AUTHORS README.rst
%license LICENSE %license LICENSE