Skip to content

Commit 9c8cccc

Browse files
authored
chore: cleanup build deps added in CI (#14)
Signed-off-by: Michele Dolfi <[email protected]>
1 parent e62ba96 commit 9c8cccc

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: |
8989
echo "Building wheel ${CIBW_BUILD}"
9090
poetry run python --version
91-
poetry install
91+
poetry install --no-root --only=build
9292
cat ./pyproject.toml
9393
poetry run python -m cibuildwheel --output-dir wheelhouse
9494
echo "step 1"
@@ -125,7 +125,7 @@ jobs:
125125
run: |
126126
echo "Building wheel ${CIBW_BUILD}"
127127
poetry run python --version
128-
poetry install
128+
poetry install --no-root --only=build
129129
cat ./pyproject.toml
130130
poetry run python -m cibuildwheel --output-dir wheelhouse
131131
echo "step 1"
@@ -168,8 +168,7 @@ jobs:
168168
run: |
169169
echo "Building wheel ${CIBW_BUILD}"
170170
poetry run python --version
171-
poetry add cibuildwheel
172-
# poetry install
171+
poetry install --no-root --only=build
173172
cat ./pyproject.toml
174173
poetry run python -m cibuildwheel --output-dir ./wheelhouse
175174
ls -l ./wheelhouse

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ black = {extras = ["jupyter"], version = "^24.4.2"}
4242
python-semantic-release = "^7.32.2"
4343
pre-commit = "^3.7.1"
4444
isort = "^5.10.1"
45+
46+
[tool.poetry.group.build.dependencies]
4547
cibuildwheel = "^2.19.2"
4648
wheel = "^0.43.0"
4749
delocate = "^0.11.0"

0 commit comments

Comments
 (0)