forked from pool/python-twine
- 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
This commit is contained in:
20
skip-unsupported-Metadata-Version-test.patch
Normal file
20
skip-unsupported-Metadata-Version-test.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
tests/test_package.py | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: twine-6.1.0/tests/test_package.py
|
||||
===================================================================
|
||||
--- twine-6.1.0.orig/tests/test_package.py
|
||||
+++ twine-6.1.0/tests/test_package.py
|
||||
@@ -349,11 +349,6 @@ def test_fips_metadata_excludes_md5_and_
|
||||
"read_data, exception_message",
|
||||
[
|
||||
pytest.param(
|
||||
- b"Metadata-Version: 102.3\nName: test-package\nVersion: 1.0.0\n",
|
||||
- "'102.3' is not a valid metadata version",
|
||||
- id="unsupported Metadata-Version",
|
||||
- ),
|
||||
- pytest.param(
|
||||
b"Metadata-Version: 2.3\nName: test-package\nVersion: UNKNOWN\n",
|
||||
"'UNKNOWN' is invalid for 'version'",
|
||||
id="invalid Version",
|
||||
Reference in New Issue
Block a user