Skip to content

Commit 42a3f43

Browse files
bbkrrclaude
andcommitted
Relax numpy/pandas/scipy/sympy/networkx pins to support modern stack
Replace the `~=` upper caps with lower-bound floors. The caps blocked numpy 2 / pandas 2+ / networkx 3 and made Python 3.14 impossible (pandas 1.x has no cp314 wheels), blocking the downstream RealRate-Private uv / Python 3.14 migration. Verified equivalent across the stack jump: - causing unit suite: 24/24 pass on Python 3.14 + numpy 2 / pandas 3 / networkx 3 - make verify-output: all 5 example graphs.json byte-identical to baseline - RealRate de_life_insurance A/B: 8/8 years identical within 1e-10 Bump version 2.4.6 -> 2.5.0. Refs: realrate/RealRate-Private#2098 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 4b9ddb0 commit 42a3f43

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

setup.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="causing",
8-
version="2.4.6",
8+
version="2.5.0",
99
author="Dr. Holger Bartel",
1010
author_email="holger.bartel@realrate.ai",
1111
description="Causing: CAUSal INterpretation using Graphs",
@@ -19,11 +19,15 @@
1919
"Operating System :: OS Independent",
2020
],
2121
install_requires=[
22-
"numpy~=1.23",
23-
"pandas~=1.3",
24-
"scipy~=1.9",
25-
"sympy~=1.5",
26-
"networkx~=2.7",
22+
# Lower-bound floors only: the previous `~=` upper caps blocked numpy 2 /
23+
# pandas 2+ / networkx 3 and made Python 3.14 impossible (no pandas 1.x cp314
24+
# wheels). Verified numerically equivalent across the stack jump — see
25+
# https://github.com/realrate/RealRate-Private/issues/2098
26+
"numpy>=1.23",
27+
"pandas>=1.3",
28+
"scipy>=1.9",
29+
"sympy>=1.5",
30+
"networkx>=2.7",
2731
"pre-commit", # TODO: move to dev-requirements
2832
],
2933
python_requires=">=3.9",

0 commit comments

Comments
 (0)