diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 16ecb5d2..43496169 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -49,8 +49,6 @@ jobs: - name: Install other dependencies run: | pip install -r requirements/requirements.txt - pip install numpy==1.24 # many libs not compatible with numpy 2.0. Note 3.12 requests for numpy>=2.0 - pip install pandas==1.5 # fix pandas version to avoid installing pandas 2.0, the same reason with numpy - name: Test building package # we need to know if the package can be built successfully without optional dependencies @@ -62,6 +60,8 @@ jobs: run: | pip install torch-geometric torch-scatter torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.pytorch-version }}+cpu.html" pip install pypots[dev] + pip install numpy==1.24 # many libs not compatible with numpy 2.0. Note 3.12 requests for numpy>=2.0 + pip install pandas==1.5 # fix pandas version to avoid installing pandas 2.0, the same reason with numpy python_site_path=`python -c "import site; print(site.getsitepackages()[0])"` echo "python site-packages path: $python_site_path" rm -rf $python_site_path/pypots diff --git a/.github/workflows/testing_daily.yml b/.github/workflows/testing_daily.yml index 1aaf8684..b71b74ed 100644 --- a/.github/workflows/testing_daily.yml +++ b/.github/workflows/testing_daily.yml @@ -32,7 +32,7 @@ jobs: miniconda-version: "latest" activate-environment: pypots python-version: ${{ matrix.python-version }} - environment-file: requirements/conda_env.yml + environment-file: requirements/conda_dev_env.yml auto-activate-base: false - name: Fetch the test environment details