Skip to content

Commit

Permalink
Relaxed version requirements on Cython 3 upgrade (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMeisrimelModelon authored May 6, 2024
1 parent da89a54 commit 4ec2dbf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11.x'
python-version: '3.9.x'
- name: Setup Python
run: |
python3 -m pip install Cython numpy scipy==1.12.0 matplotlib nose-py3
python3 -m pip install Cython numpy scipy==1.12.0 matplotlib nose-py3 setuptools==69.1.0
- name: Install system
run: |
sudo apt-get -y install cmake liblapack-dev libsuitesparse-dev libhypre-dev
Expand All @@ -40,7 +40,7 @@ jobs:
sudo make install
- name: Install assimulo
run: |
git clone --depth 1 -b dev-pm-python_upgrade https://github.com/modelon-community/Assimulo /tmp/Assimulo
git clone --depth 1 -b dev-pm-cy3_only https://github.com/modelon-community/Assimulo /tmp/Assimulo
cd /tmp/Assimulo
python3 setup.py install --user --sundials-home=/usr --blas-home=/usr/lib/x86_64-linux-gnu/ --lapack-home=/usr/lib/x86_64-linux-gnu/ --superlu-home=/usr --extra-fortran-compile-flags="-fallow-argument-mismatch"
- name: Install fmilib
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[options]
setup_requires =
setuptools
numpy >= 1.26.3
numpy >= 1.19.5
cython >= 3.0

install_requires =
numpy >= 1.26.3
scipy >= 1.11.4, < 1.13
numpy >= 1.19.5
scipy >= 1.10.1, < 1.13
cython >= 3.0.7
nose-py3 >= 1.6.3
matplotlib > 3
Expand Down

0 comments on commit 4ec2dbf

Please sign in to comment.