Skip to content

Commit

Permalink
test: update dependencies in testing workflows;
Browse files Browse the repository at this point in the history
  • Loading branch information
WenjieDu committed Jul 28, 2024
1 parent bf6fcc5 commit 5f28a3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing_daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f28a3f

Please sign in to comment.