14
0
forked from pool/python-twine

- 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
This commit is contained in:
2024-06-29 12:59:30 +00:00
committed by Git OBS Bridge
parent 91fe3384a3
commit 5bf22a6aa1
5 changed files with 20 additions and 18 deletions

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",