Skip to content

Commit

Permalink
pyproject: fix poetry build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmouchet committed Sep 30, 2023
1 parent bb8affd commit cc3b90f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
platforms: all
- name: Build wheels
uses: pypa/[email protected]
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
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit cc3b90f

Please sign in to comment.