From da777f45eeb5674f4f946e1e460b8ca8e76e3226 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 10 Oct 2023 01:16:22 +0800 Subject: [PATCH 1/2] fix: fix the versions of torch-geometric and torch-scatter, and ignore flake8 linting on template files; --- .github/workflows/testing_ci.yml | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 4cdfe5bc..5ea295cb 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -58,7 +58,7 @@ jobs: - name: Install other dependencies run: | pip install pypots - pip install torch-geometric torch-scatter torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" + pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" pip install -e ".[dev]" - name: Fetch the test environment details diff --git a/setup.cfg b/setup.cfg index 9d07cea0..f33de353 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,8 @@ max-line-length = 120 extend-ignore = # why ignore E203? Refer to https://github.com/PyCQA/pycodestyle/issues/373 E203, +# ignore some errors that are not important in template files +exclude = pypots/*/template [options.extras_require] From 8173a242a2326a551d6895602dcd9f8170bd390e Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 10 Oct 2023 01:22:01 +0800 Subject: [PATCH 2/2] fix: also fix the versions of torch-sparse to avoid independency install error during CI testing; --- .github/workflows/testing_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing_ci.yml b/.github/workflows/testing_ci.yml index 5ea295cb..f969ba6a 100644 --- a/.github/workflows/testing_ci.yml +++ b/.github/workflows/testing_ci.yml @@ -58,7 +58,7 @@ jobs: - name: Install other dependencies run: | pip install pypots - pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" + pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse==0.6.17 -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html" pip install -e ".[dev]" - name: Fetch the test environment details