diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 85dfea9d42..dc8516ac20 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,7 +3,7 @@ python: install: - path: . extra_requirements: - - docs + - doc # required boilerplate readthedocs/readthedocs.org#10401 build: diff --git a/pyproject.toml b/pyproject.toml index 712b4ee31f..5098c15290 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,16 +27,16 @@ requires-python = ">=3.8" dependencies = [] [project.urls] -Homepage = "https://github.com/pypa/setuptools" +Source = "https://github.com/pypa/setuptools" Documentation = "https://setuptools.pypa.io/" Changelog = "https://setuptools.pypa.io/en/stable/history.html" [project.optional-dependencies] -testing = [ +test = [ # upstream - "pytest >= 6, != 8.1.1", + "pytest >= 6, != 8.1.*", "pytest-checkdocs >= 2.4", - 'pytest-cov; python_implementation != "PyPy"', # coverage seems to make PyPy extremely slow + "pytest-cov", "pytest-mypy", "pytest-enabler >= 2.2", # workaround for pypa/setuptools#3921 @@ -71,7 +71,7 @@ testing = [ "jaraco.test", ] -docs = [ +doc = [ # upstream "sphinx >= 3.5", "jaraco.packaging >= 9.3", diff --git a/tox.ini b/tox.ini index ecfe01cd18..6b04ddb1cd 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ commands = pytest {posargs} usedevelop = True extras = - testing + test pass_env = SETUPTOOLS_USE_DISTUTILS SETUPTOOLS_ENFORCE_DEPRECATION @@ -46,8 +46,8 @@ commands = [testenv:docs] description = build the documentation extras = - docs - testing + doc + test changedir = docs deps = importlib_resources < 6 # twisted/towncrier#528 (waiting for release)