SHA256
1
0
forked from pool/python-twine

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
This commit is contained in:
Dominique Leuenberger 2024-07-01 09:19:20 +00:00 committed by Git OBS Bridge
commit 27752b228e
5 changed files with 20 additions and 18 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 29 12:59:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.1.0:
* Add the experimental --attestations flag.
-------------------------------------------------------------------
Wed Apr 10 08:39:37 UTC 2024 - Ana Guerrero <ana.guerrero@suse.com>

View File

@ -16,10 +16,9 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-twine
Version: 5.0.0
Version: 5.1.0
Release: 0
Summary: Collection of utilities for interacting with PyPI
License: Apache-2.0

View File

@ -2,22 +2,19 @@
tests/test_package.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- a/tests/test_package.py
+++ b/tests/test_package.py
@@ -339,11 +339,11 @@ def test_fips_metadata_excludes_md5_and_
@pytest.mark.parametrize(
Index: twine-5.1.0/tests/test_package.py
===================================================================
--- twine-5.1.0.orig/tests/test_package.py
+++ twine-5.1.0/tests/test_package.py
@@ -384,11 +384,6 @@ def test_fips_metadata_excludes_md5_and_
"read_data, missing_fields",
[
- pytest.param(
- b"Metadata-Version: 2.3\nName: test-package\nVersion: 1.0.0\n",
pytest.param(
- b"Metadata-Version: 102.3\nName: test-package\nVersion: 1.0.0\n",
- "Name, Version",
- id="unsupported Metadata-Version",
- ),
+# pytest.param(
+# b"Metadata-Version: 2.3\nName: test-package\nVersion: 1.0.0\n",
+# "Name, Version",
+# id="unsupported Metadata-Version",
+# ),
pytest.param(
b"Metadata-Version: 2.2\nName: UNKNOWN\nVersion: UNKNOWN\n",
- pytest.param(
b"Metadata-Version: 2.3\nName: UNKNOWN\nVersion: UNKNOWN\n",
"Name, Version",
id="missing Name and Version",

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89b0cc7d370a4b66421cc6102f269aa910fe0f1861c124f573cf2ddedbc10cf4
size 222119

3
twine-5.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d74770c88c4fcaf8134d2a6a9d863e40f08255ff7d8e2acb3cbbd57d25f6e9d
size 224997