diff --git a/.github/workflows/CI-build-test.yml b/.github/workflows/CI-build-test.yml index 6485dd8..b0cdb7a 100644 --- a/.github/workflows/CI-build-test.yml +++ b/.github/workflows/CI-build-test.yml @@ -7,13 +7,18 @@ jobs: build-and-test: name: Build/Test runs-on: ubuntu-20.04 - steps: + strategy: + matrix: + python-version: + - 3.8.10 + - 3.11.6 + steps: - uses: actions/checkout@v4 - - name: Use Python + - name: Use Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: '3.11.6' + python-version: ${{ matrix.python-version }} cache: 'pip' - name: Install dependencies diff --git a/requirements.txt b/requirements.txt index c3bdd22..8992f7e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,19 +6,27 @@ h3==3.7.7 h3pandas==0.2.6 itsdangerous==2.1.2 Jinja2==3.1.3 -keras==2.14.0 -matplotlib==3.8.3 -numpy==1.26.4 -pandas==2.1.2 +keras==2.14.0;python_version>="3.11" +keras==2.12.0;python_version=="3.8" +matplotlib==3.8.3;python_version>="3.11" +matplotlib==3.7.5;python_version=="3.8" +numpy==1.26.4;python_version>="3.11" +numpy==1.23.5;python_version=="3.8" +pandas==2.1.2;python_version>="3.11" +pandas==2.0.3;python_version=="3.8" pillow==10.2.0 prison==0.2.1 python-magic==0.4.27 PyYAML==6.0.1 -scikit-learn==1.4.1.post1 -scipy==1.12.0 +scikit-learn==1.4.1.post1;python_version>="3.11" +scikit-learn==1.3.2;python_version=="3.8" +scipy==1.12.0;python_version>="3.11" +scipy==1.10.1;python_version=="3.8" six==1.16.0 -tensorflow==2.14.0 -tifffile==2024.2.12 +tensorflow==2.14.0;python_version>="3.11" +tensorflow==2.12.0;python_version=="3.8" +tifffile==2024.2.12;python_version>="3.11" +tifffile==2023.7.10;python_version=="3.8" umap-learn==0.5.5 uWSGI==2.0.24 Werkzeug==3.0.1