Commit 97a3b3a
Fix install failures on Colab and x86_64 macOS by relaxing dependency pins
Dependency floors were set to the newest available release rather than the
oldest working one, which forced hosted notebooks to replace preinstalled
binary packages. On Colab this swapped numpy 2.1.3 -> 2.4.6 under a live
kernel, leaving numpy's Python sources newer than the already-imported
compiled extension, so `import fimserve` died with:
AttributeError: module 'numpy._core._multiarray_umath'
has no attribute '_blas_supports_fpe'
The hard `numba==0.66.0` pin also dragged in llvmlite 0.48, which ships no
macOS x86_64 wheel and so fell back to a source build requiring CMake.
- Lower floors to the oldest versions that actually work, so resolvers keep
what the environment already has instead of churning 100+ packages.
- Drop dependencies never imported by the package: numba, scikit-learn,
bottleneck, utils. numba now comes transitively via teehr (>=0.60,<1),
which lets it resolve to a version with wheels for the target platform.
- Move jupyter, notebook, ipykernel and localtileserver to a `notebook`
extra. Installing these replaced Colab's running kernel.
- Widen requires-python to <3.14 to match teehr; Colab runs 3.13, which the
previous <3.13 bound excluded.
Verified on a Python 3.13 environment seeded with Colab's package versions:
numpy, numba, llvmlite, pyarrow, matplotlib and ipykernel are all left
untouched and `import fimserve` succeeds.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent c494d03 commit 97a3b3a
1 file changed
Lines changed: 28 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | | - | |
16 | | - | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
42 | 26 | | |
43 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
44 | 36 | | |
45 | | - | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments