Skip to content

Commit 351c19c

Browse files
committed
pass environment variables
1 parent 5250dae commit 351c19c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/test-python-wheels.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929

3030
- name: Build wheels
3131
uses: pypa/cibuildwheel@v3.4
32-
with:
33-
CIBW_ENVIRONMENT_PASS_LINUX: SETUPTOOLS_SCM_OVERRIDES_FOR_ACCELERATOR_TOOLBOX
3432

3533
- name: Upload wheels
3634
id: wheel-upload

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ skip = ["cp3{8,9}-*", "cp*t-*"]
6969
archs = ["auto64"]
7070
build-verbosity = "1"
7171

72-
#[tool.cibuildwheel.linux]
73-
## Pass the detected PyAT version to the linux docker containers
74-
#environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
72+
[tool.cibuildwheel.linux]
73+
# Pass environment variables to the linux docker containers
74+
environment-pass = ["SETUPTOOLS_SCM_OVERRIDES_FOR_ACCELERATOR_TOOLBOX"]
7575

7676
[tool.setuptools_scm]
7777
write_to = "pyat/at/_version.py"

0 commit comments

Comments
 (0)