From c0d077973ee98a5ed51a0966eb3e18fab2b23918 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 28 Aug 2024 23:09:28 -0400 Subject: [PATCH] Mark that check-sdist is a Python 3.8+ only dependency (#11499) It has no versions that support Python 3.7. This is necessary to support using `uv` to manage our ci-constraints file --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d3115d1bf..2f7558d33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,7 +78,7 @@ docs = ["sphinx >=5.3.0", "sphinx-rtd-theme >=1.1.1"] docstest = ["pyenchant >=1.6.11", "readme-renderer", "sphinxcontrib-spelling >=4.0.1"] sdist = ["build"] # `click` included because its needed to type check `release.py` -pep8test = ["ruff", "mypy", "check-sdist", "click"] +pep8test = ["ruff", "mypy", "check-sdist; python_version >= '3.8'", "click"] [tool.maturin] python-source = "src"