File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 3535 env :
3636 PYTHON : ${{ matrix.python-version }}
3737 SPHINX : ${{ matrix.sphinx-version }}
38+ UV_SYSTEM_PYTHON : true
3839
3940 name : >
4041 Sphinx ${{ matrix.sphinx-version }}
@@ -48,22 +49,24 @@ jobs:
4849 uses : actions/setup-python@v6
4950 with :
5051 python-version : ${{ matrix.python-version }}
51- architecture : x64
52- cache : ' pip'
53- cache-dependency-path : ' pyproject.toml'
52+
53+ - name : Set up uv
54+ uses : astral-sh/setup-uv@v7
55+ with :
56+ cache-dependency-glob : |
57+ pyproject.toml
58+ cache-suffix : ${{ matrix.python-version }}
59+ enable-cache : true
60+ version : " latest"
5461
5562 - name : Setup project
5663 run : |
5764
58- # `setuptools 0.64.0` adds support for editable install hooks (PEP 660).
59- # https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
60- pip install "setuptools>=64" --upgrade
61-
6265 # Install package in editable mode.
63- pip install --use-pep517 --prefer-binary -- editable=.[develop,docs,test]
66+ uv pip install --editable=' .[develop,docs,test]'
6467
6568 # Install specific Sphinx version, according to test matrix slot.
66- pip install sphinx==${{ matrix.sphinx-version }}
69+ uv pip install ' sphinx==${{ matrix.sphinx-version }}'
6770
6871 - name : Run linter and software tests
6972 run : |
You can’t perform that action at this time.
0 commit comments