File tree Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Expand file tree Collapse file tree 3 files changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ You can also test by installing dependencies in your local environment:
205
205
206
206
.. code-block :: shell
207
207
208
- pip install .[ test]
208
+ pip install . --group test
209
209
210
210
To run JavaScript tests, use :program: `npm `:
211
211
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Run the following command::
56
56
Or, if writing documentation for a Python package,
57
57
place the dependencies in the `pyproject.toml file `__::
58
58
59
- $ pip install .[ docs]
59
+ $ pip install . --group docs
60
60
61
61
__ https://pip.pypa.io/en/stable/reference/requirements-file-format/
62
62
__ https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies
Original file line number Diff line number Diff line change @@ -88,35 +88,6 @@ dependencies = [
88
88
]
89
89
dynamic = [" version" ]
90
90
91
- [project .optional-dependencies ]
92
- docs = [
93
- " sphinxcontrib-websupport" ,
94
- ]
95
- lint = [
96
- " ruff==0.12.7" ,
97
- " mypy==1.17.1" ,
98
- " sphinx-lint>=0.9" ,
99
- " types-colorama==0.4.15.20250801" ,
100
- " types-defusedxml==0.7.0.20250708" ,
101
- " types-docutils==0.21.0.20250525" ,
102
- " types-Pillow==10.2.0.20240822" ,
103
- " types-Pygments==2.19.0.20250715" ,
104
- " types-requests==2.32.4.20250611" , # align with requests
105
- " types-urllib3==1.26.25.14" ,
106
- " pyright==1.1.400" ,
107
- " pytest>=8.0" ,
108
- " pypi-attestations==0.0.27" ,
109
- " betterproto==2.0.0b6" ,
110
- ]
111
- test = [
112
- " pytest>=8.0" ,
113
- " pytest-xdist[psutil]>=3.4" ,
114
- " defusedxml>=0.7.1" , # for secure XML/HTML parsing
115
- " cython>=3.0" ,
116
- " setuptools>=70.0" , # for Cython compilation
117
- " typing_extensions>=4.9" , # for typing_extensions.Unpack
118
- ]
119
-
120
91
[[project .authors ]]
121
92
name = " Adam Turner"
122
93
email = " aa-turner@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments