From b93459cdc3a7a63509444f23d461b8c1f11b245f Mon Sep 17 00:00:00 2001 From: Cyrille Bonamy Date: Mon, 2 Jan 2023 01:54:16 +0100 Subject: [PATCH 1/2] update CI + setup (support last scipy version) --- .github/workflows/build_and_pypi.yml | 2 +- .github/workflows/build_and_test.yml | 2 +- dev-requirements.txt | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_pypi.yml b/.github/workflows/build_and_pypi.yml index 07e9c0d..37d55e4 100644 --- a/.github/workflows/build_and_pypi.yml +++ b/.github/workflows/build_and_pypi.yml @@ -12,7 +12,7 @@ jobs: version_changed: ${{ steps.check_file_changed.outputs.files_changed }} steps: - run: pip install -U pip pipenv coverage - - run: pip install -U numpy==1.21.2 scipy==1.7.3 matplotlib + - run: pip install -U numpy scipy matplotlib - name: Check out repository code uses: actions/checkout@v2 - run: set -o pipefail diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e1673b0..c63d066 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -12,7 +12,7 @@ jobs: version_changed: ${{ steps.check_file_changed.outputs.files_changed }} steps: - run: pip install -U pip pipenv coverage - - run: pip install -U numpy==1.21.2 scipy==1.7.3 matplotlib + - run: pip install -U numpy scipy matplotlib - name: Check out repository code uses: actions/checkout@v2 - run: set -o pipefail diff --git a/dev-requirements.txt b/dev-requirements.txt index 3d27ad8..685cc25 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,4 @@ numpy>=1.11 -scipy==1.7.3 +scipy>=1.7.3 matplotlib>=1.5 wheel diff --git a/setup.py b/setup.py index a51fcff..8b66a8d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def readme(): packages=find_packages(exclude=['tutorials']), # Project uses reStructuredText, so ensure that the docutils get # installed or upgraded on the target machine - install_requires=['numpy>=1.11', 'scipy==1.7.3', + install_requires=['numpy>=1.11', 'scipy>=1.7.3', 'matplotlib>=1.5'], # metadata for upload to PyPI author = "Cyrille Bonamy", From 24ce3094b05ec0d59327749079c64e173f7eb903 Mon Sep 17 00:00:00 2001 From: Cyrille Bonamy Date: Mon, 2 Jan 2023 01:59:46 +0100 Subject: [PATCH 2/2] add keyword python --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8b66a8d..2b3df3a 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def readme(): long_description_content_type="text/markdown", long_description = readme(), license = 'GPLv2', - keywords = ["Openfoam", "postprocessing", "CFD"], + keywords = ["Openfoam", "postprocessing", "python", "CFD"], url = "http://legi.grenoble-inp.fr", # project home page, if any classifiers=[ # How mature is this project? Common values are