From 312dbb7aff469708f42cb2ec641160eb100c9784 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Wed, 17 Apr 2024 23:45:20 +0800 Subject: [PATCH 1/2] test: test building without torch-geometric during CI; --- .github/workflows/testing_ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index e73458e8..11129f1b 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -55,6 +55,14 @@ jobs: - name: Install other dependencies run: | pip install -r requirements.txt + + - name: Build package + run: | + pip install build wheel + python -m build --no-isolation + + - name: Continue to install torch-geometric dependencies + run: | pip install torch-geometric torch-scatter torch-sparse -f "https://data.pyg.org/whl/torch-${{ steps.determine_pytorch_ver.outputs.value }}+cpu.html" pip install pypots[dev] python_site_path=`python -c "import site; print(site.getsitepackages()[0])"` From 2a93920cba59f834389d72da22de6b0934e978f9 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Wed, 17 Apr 2024 23:48:52 +0800 Subject: [PATCH 2/2] test: test building without torch-geometric during CI; --- .github/workflows/testing_ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 11129f1b..10572236 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -56,10 +56,11 @@ jobs: run: | pip install -r requirements.txt - - name: Build package + - name: Test building package + # we need to know if the package can be built successfully without optional dependencies run: | - pip install build wheel - python -m build --no-isolation + pip install build wheel + python -m build --no-isolation - name: Continue to install torch-geometric dependencies run: |