File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ test_template: &test
88 - python3 --version
99 - python3 -m venv env
1010 - . env/bin/activate
11- - python3 -m pip install .[test]
11+ - python3 -m pip install -U pip
12+ - python3 -m pip install . --group test
1213 - python3 -m pytest
1314
1415alpine-3_task :
Original file line number Diff line number Diff line change 3232 - uses : actions/checkout@v4
3333 with :
3434 ref : ${{ github.event.inputs.tag || github.ref }}
35- - run : python -m pip install .[ docs]
35+ - run : python -m pip install --group docs
3636 - run : python -m sphinx -W docs/ build/docs/
3737 - uses : actions/upload-pages-artifact@v3
3838 with :
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ jobs:
140140 if : ${{ matrix.dependencies }}
141141
142142 - name : Install
143- run : python -m pip install .[ test]
143+ run : python -m pip install . --group test
144144
145145 - name : Run tests
146146 run : python -m pytest --showlocals -vv --cov --cov-report=xml
@@ -183,7 +183,7 @@ jobs:
183183 if : ${{ matrix.meson }}
184184
185185 - name : Install
186- run : python -m pip install .[ test]
186+ run : python -m pip install . --group test
187187
188188 - name : Run tests
189189 run : python -m pytest --showlocals -vv
@@ -256,7 +256,7 @@ jobs:
256256 pushd /usr/share/python-wheels/
257257 python -m pip download setuptools pip
258258 popd
259- python -m pip install .[ test]
259+ python -m pip install . --group test
260260 shell : C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
261261
262262 - name : Run tests
@@ -295,7 +295,7 @@ jobs:
295295 if : ${{ matrix.meson }}
296296
297297 - name : Install
298- run : python -m pip install .[ test]
298+ run : python -m pip install . --group test
299299
300300 - name : Run tests
301301 run : python -m pytest --showlocals -vv
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ classifiers = [
3333 ' Programming Language :: Python' ,
3434 ' Topic :: Software Development :: Build Tools' ,
3535]
36-
3736dependencies = [
3837 ' meson >= 0.64.0; python_version < "3.12"' ,
3938 ' meson >= 1.2.3; python_version >= "3.12"' ,
@@ -43,7 +42,13 @@ dependencies = [
4342 ' tomli >= 1.0.0; python_version < "3.11"' ,
4443]
4544
46- [project .optional-dependencies ]
45+ [project .urls ]
46+ homepage = ' https://github.com/mesonbuild/meson-python'
47+ repository = ' https://github.com/mesonbuild/meson-python'
48+ documentation = ' https://mesonbuild.com/meson-python/'
49+ changelog = ' https://mesonbuild.com/meson-python/changelog.html'
50+
51+ [dependency-groups ]
4752test = [
4853 ' build' ,
4954 ' pytest >= 6.0' ,
@@ -61,12 +66,6 @@ docs = [
6166 ' sphinxext-opengraph >= 0.7.0' ,
6267]
6368
64- [project .urls ]
65- homepage = ' https://github.com/mesonbuild/meson-python'
66- repository = ' https://github.com/mesonbuild/meson-python'
67- documentation = ' https://mesonbuild.com/meson-python/'
68- changelog = ' https://mesonbuild.com/meson-python/changelog.html'
69-
7069
7170[tool .mypy ]
7271show_error_codes = true
You can’t perform that action at this time.
0 commit comments