Skip to content

Commit

Permalink
Update setup.cfg to pin pandas version
Browse files Browse the repository at this point in the history
I accidentally updated pandas to 2.1.4 and got a ValueError while running a script, worked when I downgraded pandas to 2.0.3:

from pandas._libs.interval import Interval
File "interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
  • Loading branch information
chiuhoward authored Dec 8, 2024
1 parent abb5fc2 commit cd1dfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install_requires =
# core packages
scikit_image>=0.14.2
dipy>=1.8.0,<1.9.0
pandas
pandas==2.0.3
pybids>=0.16.2
templateflow>=0.8
pimms
Expand Down

0 comments on commit cd1dfdb

Please sign in to comment.