diff --git a/pyproject.toml b/pyproject.toml index b8d0116b54..6016a5e875 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,8 +39,7 @@ test = [ "pytest-cov", "pytest-mypy", "pytest-enabler >= 2.2", - # workaround for pypa/setuptools#3921 - 'pytest-ruff >= 0.3.2; sys_platform != "cygwin"', + "pytest-ruff >= 0.2.1; sys_platform != 'cygwin'", # local "virtualenv>=13.0.0", @@ -66,6 +65,10 @@ test = [ "importlib_metadata", "pytest-subprocess", + # require newer pytest-ruff than upstream for pypa/setuptools#4368 + # also exclude cygwin for pypa/setuptools#3921 + 'pytest-ruff >= 0.3.2; sys_platform != "cygwin"', + # workaround for pypa/setuptools#4333 "pyproject-hooks!=1.1",