File tree Expand file tree Collapse file tree 7 files changed +22
-21
lines changed
Expand file tree Collapse file tree 7 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 2020 python-version : ${{ matrix.python }}
2121 allow-prereleases : true
2222 cache : pip
23- cache-dependency-path : test-requirements.txt
23+ cache-dependency-path : pyproject.toml
2424 - name : Run tests
2525 run : ./ci.sh
2626 shell : bash
5151 python-version : ${{ matrix.python }}
5252 allow-prereleases : true
5353 cache : pip
54- cache-dependency-path : test-requirements.txt
54+ cache-dependency-path : pyproject.toml
5555 - name : Run tests
5656 run : ./ci.sh
5757 env :
7676 python-version : ${{ matrix.python }}
7777 allow-prereleases : true
7878 cache : pip
79- cache-dependency-path : test-requirements.txt
79+ cache-dependency-path : pyproject.toml
8080 - name : Set PYTHON_GIL
8181 if : endsWith(matrix.python-version, 't')
8282 run : |
Original file line number Diff line number Diff line change 22version : 2
33
44build :
5- os : ubuntu-22 .04
5+ os : ubuntu-24 .04
66 tools :
7- python : " 3.8"
7+ python : " 3.12"
8+ jobs :
9+ install :
10+ - python -m pip install --no-cache-dir "pip >= 25.1"
11+ - python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir --group rtd .
812
913formats :
1014 - htmlzip
1115 - epub
1216
13- python :
14- install :
15- - requirements : ci/rtd-requirements.txt
16-
1717sphinx :
1818 configuration : docs/source/conf.py
Original file line number Diff line number Diff line change 11include README.rst CHEATSHEET.rst LICENSE* CODE_OF_CONDUCT* CONTRIBUTING*
22include .coveragerc .style.yapf
3- include test-requirements.txt
43recursive-include docs *
54prune docs/build
Original file line number Diff line number Diff line change 4343 exit 0
4444fi
4545
46- pip install .
47-
48- # Actual tests
49- pip install -Ur test-requirements.txt
46+ pip install --upgrade --group test .
5047
5148mkdir empty
5249cd empty
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,6 +34,18 @@ Homepage = "https://github.com/python-trio/sniffio"
3434Documentation = " https://sniffio.readthedocs.io/"
3535Changelog = " https://sniffio.readthedocs.io/en/latest/history.html"
3636
37+ [dependency-groups ]
38+ test = [
39+ " pytest" ,
40+ " pytest-cov" ,
41+ " curio" ,
42+ ]
43+ rtd = [
44+ " sphinx >= 1.6.1" ,
45+ " sphinx_rtd_theme" ,
46+ " sphinxcontrib-trio" ,
47+ ]
48+
3749[tool .setuptools .dynamic ]
3850version = {attr = " sniffio._version.__version__" }
3951
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments