From 46bd7047b9f965bcb5d5859b7cde6d16eccd5a9e Mon Sep 17 00:00:00 2001 From: Henrique Musseli Cezar Date: Wed, 5 Apr 2023 16:58:29 +0200 Subject: [PATCH] Update setup.py and attempts to fix the release action. --- .github/workflows/release.yml | 6 ++++-- setup.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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",