Skip to content

Commit

Permalink
install build dependency group
Browse files Browse the repository at this point in the history
  • Loading branch information
jannikmi committed Jan 21, 2025
1 parent 6233652 commit 8b6948c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
CIBW_SKIP: "cp36-* cp37-*"
CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_BUILD_FRONTEND: pip
CIBW_BEFORE_BUILD: poetry install --only build
CIBW_BEFORE_ALL_LINUX_MANYLINUX2014: yum install -y libffi-devel clang make
CIBW_BEFORE_ALL_LINUX_MUSLLINUX_1_1: apk add --no-cache libffi-dev clang make
CIBW_BUILD_VERBOSITY: 1
Expand Down
33 changes: 32 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ isort = "*"
ruff = "*"
cibuildwheel = "*"

[tool.poetry.group.build]
optional = true

[tool.poetry.group.build.dependencies]
poetry-core= ">=1.0.0"
setuptools = ">=65.5"
cffi = "*"

[tool.poetry.extras]
numba = ["numba"]
pytz = ["pytz"]
Expand Down

0 comments on commit 8b6948c

Please sign in to comment.