Skip to content

Commit

Permalink
attempting to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tvercaut committed Sep 26, 2024
1 parent cb62be6 commit b5fec85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b5fec85

Please sign in to comment.