diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31df52e4..c5d901e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,13 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y python3-mpi4py python3-numpy + sudo apt-get install -y python3-mpi4py python3-numpy python3-distutils + sudo apt-get install -y libhdf5-openmpi-dev libfftw3-3 libfftw3-dev - name: Install python dependencies run: | python3 -m pip install --upgrade pip - pip3 install setuptools wheel twine cython numpy mpi4py + python3 -m pip install --upgrade wheel numpy mpi4py cython twine setuptools + python3 -m pip install -r requirements.txt - name: Build and publish env: TWINE_USERNAME: __token__ diff --git a/setup.py b/setup.py index 856a6818..72ffab1b 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def find_version(path): ext_modules=[force_kernels], setup_requires=[ "cython", - "numpy", + "numpy<1.24", "mpi4py", ], install_requires=[ @@ -52,7 +52,7 @@ def find_version(path): "mpi4py", "mpsort", "networkx", - "numpy", + "numpy<1.24", "pfft-python", "pmesh", "sympy", @@ -70,6 +70,7 @@ def find_version(path): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Fortran", "Topic :: Scientific/Engineering :: Chemistry", "Topic :: Scientific/Engineering :: Physics",