Skip to content

Commit 1b09293

Browse files
committed
add python version specific optional test dependencies
1 parent e9a7d6c commit 1b09293

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ jobs:
1919
uses: actions/setup-python@v3
2020
with:
2121
python-version: ${{ matrix.python-version }}
22-
- name: Install dependencies
23-
run: |
24-
python -m ensurepip
25-
pip install --upgrade pip
26-
pip install setuptools==65.5.0 wheel
2722
- name: Run doctests
2823
run: |
2924
pip install -e .[test]

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ docs = [
6565
"sphinxcontrib-bibtex",
6666
]
6767
lint = ["interrogate", "nbqa", "pre-commit", "ruff"]
68-
test = ["pytest", "pytest-cov"]
68+
test = [
69+
"pytest",
70+
"pytest-cov",
71+
"setuptools>=65.5.0; python_version >= '3.12'",
72+
"wheel; python_version >= '3.12'",
73+
]
6974

7075
[metadata]
7176
description-file = 'README.md'

0 commit comments

Comments
 (0)