@@ -33,11 +33,12 @@ jobs:
3333 uses : actions/setup-python@v5
3434 with :
3535 python-version : ' 3.11'
36- cache : pip
3736 - name : Used versions
3837 run : ./ci/print-versions
39- - name : Install pip dependencies
38+ - name : Install Python dependencies
4039 run : ./ci/pip-install
40+ - name : Install setuptools
41+ run : uv pip install --system $(sed -n 's/.*"\(setuptools[<>=]=\([^"]*\)\)".*/\1/p' pyproject.toml)
4142 - name : Install Weblate
4243 run : coverage run ./setup.py install
4344 - name : Check difference
@@ -67,13 +68,12 @@ jobs:
6768 uses : actions/setup-python@v5
6869 with :
6970 python-version : ' 3.11'
70- cache : pip
7171 - name : Used versions
7272 run : ./ci/print-versions
73- - name : Install pip dependencies
73+ - name : Install Python dependencies
7474 run : ./ci/pip-install
7575 - name : Install Weblate
76- run : pip install '.[all]'
76+ run : uv pip install --system '.[all]'
7777 - name : Check difference
7878 run : diff -ruNqp weblate $(python -c 'import weblate; import os; print(os.path.dirname(weblate.__file__))')
7979
@@ -92,13 +92,11 @@ jobs:
9292 uses : actions/setup-python@v5
9393 with :
9494 python-version : ' 3.11'
95- cache : pip
96- - name : Install pip dependencies
95+ - name : Install Python dependencies
9796 run : |
98- python -m pip install $(sed -n 's/.*"\(pip==\([^"]*\)\)".*/\1/p' pyproject.toml)
99- pip install $(sed -n 's/.*"\(wheel==\([^"]*\)\)".*/\1/p' pyproject.toml)
100- pip install $(sed -n 's/.*"\(twine==\([^"]*\)\)".*/\1/p' pyproject.toml)
101- pip install $(sed -n 's/.*"\(build==\([^"]*\)\)".*/\1/p' pyproject.toml)
97+ python -m pip install $(sed -n 's/.*"\(uv==\([^"]*\)\)".*/\1/p' pyproject.toml)
98+ uv pip install --system $(sed -n 's/.*"\(twine==\([^"]*\)\)".*/\1/p' pyproject.toml)
99+ uv pip install --system $(sed -n 's/.*"\(build==\([^"]*\)\)".*/\1/p' pyproject.toml)
102100 - name : build
103101 run : python -m build
104102 - name : Twine check
@@ -122,14 +120,14 @@ jobs:
122120 uses : actions/setup-python@v5
123121 with :
124122 python-version : ' 3.11'
125- cache : pip
126- cache-dependency-path : docs/requirements.txt
127123 - name : Install apt dependencies
128124 run : |
129125 sudo apt update
130126 sudo apt install -y graphviz pandoc
131- - name : Install pip dependencies
132- run : pip install -r docs/requirements.txt
127+ - name : Install Python dependencies
128+ run : |
129+ python -m pip install $(sed -n 's/.*"\(uv==\([^"]*\)\)".*/\1/p' pyproject.toml)
130+ uv pip install --system -r docs/requirements.txt
133131 - name : Sphinx build
134132 run : ./ci/run-docs
135133 - name : Convert release notes
0 commit comments