Skip to content

Commit 437bd6a

Browse files
committed
Override dependencies for Python 3.8
1 parent 8b1a2d2 commit 437bd6a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ jobs:
2727
with:
2828
cache-dependency-glob: |
2929
**/pyproject.toml
30-
- name: Install dependencies (Python 3.8)
31-
run: uv sync --all-extras --resolution=lowest-direct
32-
if: matrix.python-version == '3.8'
3330
- name: Install dependencies
3431
run: uv sync --all-extras
35-
if: matrix.python-version != '3.8'
3632
# NumPy 2.0 is not available for Python 3.8 and older versions, which leads to broken tests
3733
- name: Lint with Mypy (Python 3.8)
3834
run: uv run mypy crowdkit

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,8 @@ src_paths = ["crowdkit", "tests"]
104104

105105
[tool.pyupgrade]
106106
py38-plus = true
107+
108+
[tool.uv]
109+
override-dependencies = [
110+
"torch < 2.5.0; python_version < 3.9"
111+
]

0 commit comments

Comments
 (0)