Skip to content

Remove project extras #13445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/internals/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ You can also test by installing dependencies in your local environment:

.. code-block:: shell

pip install .[test]
pip install . --group test

To run JavaScript tests, use :program:`npm`:

Expand Down
2 changes: 2 additions & 0 deletions doc/usage/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Run the following command::
place the dependencies in the `pyproject.toml file`__::

$ pip install .[docs]
# or
$ pip install . --group docs

__ https://pip.pypa.io/en/stable/reference/requirements-file-format/
__ https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies
Expand Down
29 changes: 0 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,35 +87,6 @@ dependencies = [
]
dynamic = ["version"]

[project.optional-dependencies]
docs = [
"sphinxcontrib-websupport",
]
lint = [
"ruff==0.11.7",
"mypy==1.15.0",
"sphinx-lint>=0.9",
"types-colorama==0.4.15.20240311",
"types-defusedxml==0.7.0.20240218",
"types-docutils==0.21.0.20241128",
"types-Pillow==10.2.0.20240822",
"types-Pygments==2.19.0.20250305",
"types-requests==2.32.0.20250328", # align with requests
"types-urllib3==1.26.25.14",
"pyright==1.1.400",
"pytest>=8.0",
"pypi-attestations==0.0.25",
"betterproto==2.0.0b6",
]
test = [
"pytest>=8.0",
"pytest-xdist[psutil]>=3.4",
"defusedxml>=0.7.1", # for secure XML/HTML parsing
"cython>=3.0",
"setuptools>=70.0", # for Cython compilation
"typing_extensions>=4.9", # for typing_extensions.Unpack
]

[[project.authors]]
name = "Adam Turner"
email = "[email protected]"
Expand Down