mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
sci-electronics/cocotb: add 2.0.1-r1 for py3.14, drop 2.0.1
- Lift upstream setup.py max_python3_minor_version 13 to 14 via patch. - Verified: pip wheel build, C extensions, core imports OK on 3.14.5. Closes: https://bugs.gentoo.org/975540 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
30
sci-electronics/cocotb/files/cocotb-2.0.1-python-3.14.patch
Normal file
30
sci-electronics/cocotb/files/cocotb-2.0.1-python-3.14.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From: Huang Rui <vowstar@gmail.com>
|
||||
Date: Wed, 20 May 2026 11:00:00 +0800
|
||||
Subject: [PATCH] setup: raise max supported Python to 3.14
|
||||
|
||||
Gentoo systems ship python3_14 in the default profile. Upstream caps
|
||||
installation at Python 3.13 via a hardcoded check in setup.py and
|
||||
points at the COCOTB_IGNORE_PYTHON_REQUIRES environment variable as
|
||||
the documented opt-out, explicitly without compatibility guarantees.
|
||||
Lift the cap to 3.14 so the install-time gate accepts the Gentoo
|
||||
default while leaving the 3.15+ gate in place.
|
||||
|
||||
Bug: https://bugs.gentoo.org/975540
|
||||
Upstream-Status: Not applicable (downstream version-gate bypass)
|
||||
Signed-off-by: Huang Rui <vowstar@gmail.com>
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
__version__ = "2.0.1"
|
||||
|
||||
-max_python3_minor_version = 13
|
||||
+max_python3_minor_version = 14
|
||||
if "COCOTB_IGNORE_PYTHON_REQUIRES" not in os.environ and sys.version_info >= (
|
||||
3,
|
||||
max_python3_minor_version + 1,
|
||||
Reference in New Issue
Block a user