From b5fec85ae539b9867a2c16eb07bf60a14770452c Mon Sep 17 00:00:00 2001 From: Tom Vercauteren Date: Thu, 26 Sep 2024 23:00:28 +0100 Subject: [PATCH] attempting to fix CI --- .github/workflows/python-package.yml | 4 ++++ setup.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f11e4f6..a8ca7b7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -14,6 +14,9 @@ jobs: matrix: python-version: ["3.8", "3.10", "3.12"] torch-version: ["1.13.1", "2.4.1"] + exclude: + - python-version: "3.12" + torch-version: "1.13.1" steps: - uses: actions/checkout@v3 @@ -24,6 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install --upgrade numpy pip install torch==${{ matrix.torch-version }} python -m pip install flake8 black if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi diff --git a/setup.py b/setup.py index 7459a4d..3257e06 100644 --- a/setup.py +++ b/setup.py @@ -18,8 +18,9 @@ def readme(): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.12", ], - python_requires=">=3.8, <3.11", + python_requires=">=3.8", keywords="sparse torch utility", url="https://github.com/cai4cai/torchsparsegradutils", author="CAI4CAI research group",