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:
205205
206206 .. code-block :: shell
207207
208- pip install .[ test]
208+ pip install . --group test
209209
210210 To run JavaScript tests, use :program: `npm `:
211211
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Run the following command::
5656 Or, if writing documentation for a Python package,
5757 place the dependencies in the `pyproject.toml file `__::
5858
59- $ pip install .[ docs]
59+ $ pip install . --group docs
6060
6161 __ https://pip.pypa.io/en/stable/reference/requirements-file-format/
6262 __ 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 = [
8888]
8989dynamic = [" version" ]
9090
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-
12091[[project .authors ]]
12192name = " Adam Turner"
12293
You can’t perform that action at this time.
0 commit comments