From 3dd62635a2f570f4445bf58633b8ce47dd65fcd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sun, 14 Sep 2025 10:52:55 +0200 Subject: [PATCH] BUG: fix PY_LIMITED_API_PATTERN regexp compatibility with Python 3.10 and newer --- src/wheel/_bdist_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wheel/_bdist_wheel.py b/src/wheel/_bdist_wheel.py index 575fbfb3..3dbf5bd5 100644 --- a/src/wheel/_bdist_wheel.py +++ b/src/wheel/_bdist_wheel.py @@ -68,7 +68,7 @@ def safe_version(version: str) -> str: setuptools_major_version = int(setuptools.__version__.split(".")[0]) -PY_LIMITED_API_PATTERN = r"cp3\d" +PY_LIMITED_API_PATTERN = r"cp3\d+" def _is_32bit_interpreter() -> bool: