Skip to content

Commit

Permalink
ENH: Fix pandas version to 2.0.3 (#145)
Browse files Browse the repository at this point in the history
* ENH: Fix `pandas` version to 2.0.3

Fix `pandas` version to 2.0.3, which is the last version known to be
working.

Fixes:
```
Searching for pandas>=0.19
Reading https://pypi.org/simple/pandas/
Downloading
https://files.pythonhosted.org/packages/a9/ec/
e531733ff7f955e58ac45089cf72d085e587a731778b9dac1b82878815e9/
pandas-2.1.0rc0.tar.gz#sha256=e6967a82ee26997ab5ef52907064ca21eed5e51089dc2131a252a26d67d88b36
Best match: pandas 2.1.0rc0
Processing pandas-2.1.0rc0.tar.gz
error: Couldn't find a setup script in /tmp/easy_install-xxw2q3r_/pandas-2.1.0rc0.tar.gz
Error: Process completed with exit code 1.
```

raised for example in:
https://github.com/SlicerDMRI/whitematteranalysis/actions/runs/5965246190/job/16182228792#step:5:464

* ENH: Allow the test, package GHA workflow to run on pull requests

Allow the test, package GHA workflow to run on pull requests.
  • Loading branch information
jhlegarreta committed Aug 30, 2023
1 parent c8ce8ab commit 173f241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_package.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test, package

on: [push]
on: [push, pull_request]

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def build_extensions(self):

setup_requires = setup_requires,
install_requires = setup_requires + ['setuptools==44.0.*', 'scipy==1.4.*', 'vtk==9.1.*',
'joblib==1.1.*', 'statsmodels==0.10.*', 'xlrd', 'matplotlib==3.6.*', 'nibabel==3.0.*'],
'joblib==1.1.*', 'statsmodels==0.10.*', 'xlrd', 'matplotlib==3.6.*', 'nibabel==3.0.*',
'pandas==2.0.3'],

cmdclass=LazyCommandClass(),

Expand Down

0 comments on commit 173f241

Please sign in to comment.