From 232637587ae3b53f3257aa68c0c23b94b073bd58 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 20 Mar 2025 18:34:13 +0000 Subject: [PATCH 1/3] Remove project extras --- pyproject.toml | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dd50b0aa6ef..fe8f61b0ef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,33 +88,10 @@ dependencies = [ dynamic = ["version"] [project.optional-dependencies] -docs = [ - "sphinxcontrib-websupport", -] -lint = [ - "ruff==0.11.0", - "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.20250306", # align with requests - "types-urllib3==1.26.25.14", - "pyright==1.1.397", - "pytest>=8.0", - "pypi-attestations==0.0.22", - "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 -] +# retained to not break installing 'sphinx[…]' +docs = [] +lint = [] +test = [] [[project.authors]] name = "Adam Turner" From e2ad3988fb37b15a3fd60d31c9364b1eea74e334 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 27 Apr 2025 21:07:42 +0100 Subject: [PATCH 2/3] Update documentation --- doc/internals/contributing.rst | 2 +- doc/usage/installation.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/internals/contributing.rst b/doc/internals/contributing.rst index 4b8ca84a945..9301ba1a4c2 100644 --- a/doc/internals/contributing.rst +++ b/doc/internals/contributing.rst @@ -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`: diff --git a/doc/usage/installation.rst b/doc/usage/installation.rst index 8b0aca1cab3..3f7a30814b1 100644 --- a/doc/usage/installation.rst +++ b/doc/usage/installation.rst @@ -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 From beedf71d957dff6e3ebeb7c77d2d12b0128b2ce0 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 29 Apr 2025 00:48:37 +0100 Subject: [PATCH 3/3] Fully remove --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e9e381dc435..6be27c53881 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,12 +87,6 @@ dependencies = [ ] dynamic = ["version"] -[project.optional-dependencies] -# retained to not break installing 'sphinx[…]' -docs = [] -lint = [] -test = [] - [[project.authors]] name = "Adam Turner" email = "aa-turner@users.noreply.github.com"