diff --git a/setup.cfg b/setup.cfg index 0756fa92ea..54f0227601 100644 --- a/setup.cfg +++ b/setup.cfg @@ -78,9 +78,6 @@ testing = importlib_metadata pytest-subprocess - # workaround for pypa/setuptools#4333 - pyproject-hooks!=1.1 - docs = # upstream sphinx >= 3.5 @@ -100,9 +97,6 @@ docs = sphinxcontrib-towncrier sphinx-notfound-page >=1,<2 - # workaround for pypa/setuptools#4333 - pyproject-hooks!=1.1 - ssl = certs = diff --git a/tox.ini b/tox.ini index 22dd7af8da..76f4a0ff05 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,9 @@ description = perform primary checks (tests, style, types, coverage) deps = # Ideally all the dependencies should be set as "extras" + + # workaround for pypa/setuptools#4333 + pyproject-hooks @ git+https://github.com/abravalheri/pyproject-hooks@issue-192-take2 setenv = PYTHONWARNDEFAULTENCODING = 1 SETUPTOOLS_ENFORCE_DEPRECATION = {env:SETUPTOOLS_ENFORCE_DEPRECATION:0}