Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1898727epel9
parent
57d460cb5f
commit
6f3cd18894
@ -0,0 +1,41 @@
|
||||
From bf2747df921ebc70bdbba2aac79f161ebf4df46c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||
Date: Wed, 18 Nov 2020 11:10:26 +0100
|
||||
Subject: [PATCH] Extend the wheel Tag regex in tests to match cp3_10 and cp310
|
||||
|
||||
Fixes https://github.com/python-poetry/poetry-core/issues/110
|
||||
---
|
||||
tests/masonry/builders/test_complete.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tests/masonry/builders/test_complete.py b/tests/masonry/builders/test_complete.py
|
||||
index 467ffdd4..4248a87a 100644
|
||||
--- a/tests/masonry/builders/test_complete.py
|
||||
+++ b/tests/masonry/builders/test_complete.py
|
||||
@@ -79,7 +79,7 @@ def test_wheel_c_extension():
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry {}
|
||||
Root-Is-Purelib: false
|
||||
-Tag: cp[23]\\d-cp[23]\\dm?u?-.+
|
||||
+Tag: cp[23]_?\\d+-cp[23]_?\\d+m?u?-.+
|
||||
$""".format(
|
||||
__version__
|
||||
),
|
||||
@@ -136,7 +136,7 @@ def test_wheel_c_extension_with_no_setup():
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry {}
|
||||
Root-Is-Purelib: false
|
||||
-Tag: cp[23]\\d-cp[23]\\dm?u?-.+
|
||||
+Tag: cp[23]_?\\d+-cp[23]_?\\d+m?u?-.+
|
||||
$""".format(
|
||||
__version__
|
||||
),
|
||||
@@ -193,7 +193,7 @@ def test_wheel_c_extension_src_layout():
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry {}
|
||||
Root-Is-Purelib: false
|
||||
-Tag: cp[23]\\d-cp[23]\\dm?u?-.+
|
||||
+Tag: cp[23]_?\\d+-cp[23]_?\\d+m?u?-.+
|
||||
$""".format(
|
||||
__version__
|
||||
),
|
Loading…
Reference in new issue