diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b991239..2522b88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,6 +57,11 @@ jobs: platforms: all - name: Build wheels uses: pypa/cibuildwheel@v2.12.0 + env: + # Ideally we'd specify this in the [project] section of pyproject.toml, + # but this causes issues with poetry. + # See https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python + CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10" with: output-dir: dist - name: Upload artifacts diff --git a/pyproject.toml b/pyproject.toml index 373c0e4..0cd4f4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,3 @@ archs = ["universal2"] [build-system] requires = ["poetry-core>=1.0.0", "setuptools>=40.6.0", "Cython>=0.29.0"] build-backend = "poetry.core.masonry.api" - -[project] -requires-python = ">=3.10"