Commit 55dff95
authored
bug: refine constraint to avoid numpy pandas incompatability (#277)
Pins the version of `numpy` used with `python 3.9` to be less than `2.0.0`.
There is a potentially unexpected interaction between `pandas` and `numpy` here. Depending on the version we use for each, we get different results in terms of pass/fail for the unit tests associated with `python 3.9`
|numpy version|pandas version|unit-3.9 pass/fail|
|-|-|-|
|2.0.0|1.3.0|fail|
|2.0.0|2.2.2|pass|
|2.0.0|1.5.3|fail|
|1.26.4|1.5.3|pass|
|1.26.4|1.3.0|pass|
This [appears to be a known incompatibility](https://togithub.com/numpy/numpy/issues/26710) between how `pip` resolves the dependency versions for `numpy` and `pandas` and the only current fix is to pin versions to something that "works" to avoid allowing `pip` to resolve into a failing state. (NOTE the linked issue references various versions of numpy and pandas, depending on the combination, inlcuding 3.9 throughout the thread, even though the title references `python 3.12`)
Fixes #275 🦕1 parent a718ce4 commit 55dff95
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
0 commit comments