Skip to content

Commit

Permalink
Merge pull request Cascella-Group-UiO#225 from hmcezar/main
Browse files Browse the repository at this point in the history
Fixes build
  • Loading branch information
hmcezar authored Aug 15, 2023
2 parents acf2e98 + ce0cf8d commit 8b76063
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade wheel numpy mpi4py cython
python3 -m pip install --upgrade wheel numpy mpi4py "cython<3"
CC="mpicc" HDF5_MPI="ON" python3 -m pip install --no-binary=h5py h5py
python3 -m pip install -r requirements.txt
- name: Install PLUMED
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade wheel numpy mpi4py cython
python3 -m pip install --upgrade wheel numpy mpi4py "cython<3"
python3 -m pip install -r requirements.txt
- name: Install package
run: |
Expand Down
102 changes: 0 additions & 102 deletions config.toml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/buildDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e
sudo apt-get update
sudo apt-get -y install git make rsync wget pkg-config libhdf5-serial-dev python3-numpy python3-h5py python3-mpi4py python3-pip python3-git

python3 -m pip install -U cython numpy mpi4py
python3 -m pip install -U "cython<3" numpy mpi4py
python3 -m pip install -r requirements.txt
python3 -m pip install -r docs/docs_requirements.txt
python3 -m pip install .
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[build-system]
requires = ["setuptools<60", "wheel", "numpy<1.25", "cython", "mpi4py"]
requires = ["setuptools<60", "wheel", "numpy<1.25", "mpi4py", "cython<3"]
[tool.black]
exclude = "\\(./)"
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cython
h5py
mpi4py
mpsort @ git+https://github.com/rainwoodman/MP-sort
networkx
numpy<1.25
pfft-python @ git+https://github.com/rainwoodman/pfft-python
pmesh @ git+https://github.com/rainwoodman/pmesh
sympy
tomli
cython<3
mpsort
pfft-python
pmesh @ git+https://github.com/rainwoodman/pmesh
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def find_version(path):
version=find_version("hymd/version.py"),
ext_modules=[force_kernels],
setup_requires=[
"cython",
"cython<3",
"numpy",
"mpi4py",
],
Expand Down

0 comments on commit 8b76063

Please sign in to comment.