From 99fba94ee2724a3fa02b647025ae32e4fb2ea866 Mon Sep 17 00:00:00 2001 From: Akihiro Nitta Date: Tue, 8 Oct 2024 12:36:17 +0000 Subject: [PATCH] update --- .github/actions/setup/action.yml | 4 ++-- .github/workflows/building.yml | 2 +- .github/workflows/documentation.yml | 2 +- .github/workflows/linting.yml | 4 ++-- .github/workflows/nightly.yml | 6 +++--- .ruff.toml | 2 +- README.md | 4 ++-- docs/requirements.txt | 2 +- readthedocs.yml | 4 ++-- setup.cfg | 1 - setup.py | 2 +- 11 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 6e00b4f30..99e06303b 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -3,7 +3,7 @@ name: Setup inputs: python-version: required: false - default: '3.8' + default: '3.9' torch-version: required: false default: '2.4.0' @@ -16,7 +16,7 @@ runs: steps: - name: Set up Python ${{ inputs.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 6cb44f98b..34a47c6c9 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-14, windows-2019] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] # torch-version: [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0] torch-version: [2.4.0] cuda-version: ['cpu', 'cu113', 'cu116', 'cu117', 'cu118', 'cu121', 'cu124'] diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index dbcf40789..c8c4661a4 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: - name: Setup packages uses: ./.github/actions/setup with: - python-version: 3.8 + python-version: 3.9 - name: Install package run: | diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index f59d2e6e2..b88d6366a 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -15,9 +15,9 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: pip install mypy diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index bea81f427..b0dc0f23f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-14, windows-2019] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] torch-version: [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0] cuda-version: ['cpu', 'cu113', 'cu116', 'cu117', 'cu118', 'cu121', 'cu124'] exclude: @@ -174,9 +174,9 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | diff --git a/.ruff.toml b/.ruff.toml index 6344f76ab..7154b8df2 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -8,7 +8,7 @@ extend-exclude = [ ] src = ["pyg_lib"] line-length = 80 -target-version = "py38" +target-version = "py39" [lint] select = [ diff --git a/README.md b/README.md index e9a9b88ca..00832eee8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ ## Installation -We provide pre-built Python wheels for all major OS/PyTorch/CUDA combinations from Python 3.8 till 3.12, see [here](https://data.pyg.org/whl). +We provide pre-built Python wheels for all major OS/PyTorch/CUDA combinations from Python 3.9 till 3.12, see [here](https://data.pyg.org/whl). Note that currently, Windows wheels are not supported (we are working on fixing this as soon as possible). To install the wheels, simply run @@ -78,7 +78,7 @@ The following combinations are supported: ### Form nightly -Nightly wheels are provided for Linux from Python 3.8 till 3.12: +Nightly wheels are provided for Linux from Python 3.9 till 3.12: ``` pip install pyg-lib -f https://data.pyg.org/whl/nightly/torch-${TORCH}+${CUDA}.html diff --git a/docs/requirements.txt b/docs/requirements.txt index 8cc5bd53d..0f487c7a3 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -https://download.pytorch.org/whl/cpu/torch-1.9.0%2Bcpu-cp38-cp38-linux_x86_64.whl +https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp39-cp39-linux_x86_64.whl git+https://github.com/pyg-team/pyg_sphinx_theme.git diff --git a/readthedocs.yml b/readthedocs.yml index 35620da86..a02d91849 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,9 +1,9 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-latest tools: - python: "3.8" + python: "3.9" python: install: diff --git a/setup.cfg b/setup.cfg index 99f2888a6..8e92b5130 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,6 @@ classifiers= Development Status :: 5 - Production/Stable License :: OSI Approved :: MIT License Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 diff --git a/setup.py b/setup.py index cbb4ecddd..30f631dac 100644 --- a/setup.py +++ b/setup.py @@ -145,7 +145,7 @@ def mkl_dependencies(): 'graph-neural-networks', 'graph-convolutional-networks', ], - python_requires='>=3.8', + python_requires='>=3.9', install_requires=install_requires, extras_require={ 'triton': triton_requires,