Skip to content

Commit 8adc796

Browse files
Temporarily move config from TOML to env vars
1 parent 1b92b74 commit 8adc796

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/wheels.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,13 @@ jobs:
208208
name: Build Pyodide wheels
209209
# Run on schedule, manual (workflow dispatch), and push events
210210
# Skip on PRs, because these are running in the unit tests job already
211-
if: >-
212-
(github.event_name == 'schedule') ||
213-
(github.event_name == 'workflow_dispatch') &&
214-
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))
211+
212+
# TODO: Uncomment the following condition(s) when this PR is ready to be merged
213+
# if: >-
214+
# (github.event_name == 'schedule') ||
215+
# (github.event_name == 'workflow_dispatch') &&
216+
# (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))
217+
215218
runs-on: ubuntu-22.04
216219
steps:
217220
- name: Checkout pandas Repo
@@ -231,6 +234,9 @@ jobs:
231234
output-dir: ./wheelhouse
232235
env:
233236
CIBW_PLATFORM: pyodide
237+
CIBW_TEST_REQUIRES: pytest>=7.3.2 hypothesis>=6.46.1
238+
CIBW_TEST_COMMAND: |
239+
PANDAS_CI=1 python -c 'import pandas as pd; pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "--no-strict-data-files"])'
234240
235241
- uses: actions/upload-artifact@v4
236242
with:

pyproject.toml

+8-6
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,14 @@ test-command = """
156156
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
157157
"""
158158

159-
[tool.cibuildwheel.pyodide]
160-
test-requires = "pytest>=7.3.2 hypothesis>=6.46.1"
161-
test-command = """
162-
PANDAS_CI='1' python -c 'import pandas as pd; \
163-
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
164-
"""
159+
# Commented out for now and environment variables are being used instead
160+
# because this feature is not yet there in a stable cibuildwheel release
161+
# [tool.cibuildwheel.pyodide]
162+
# test-requires = "pytest>=7.3.2 hypothesis>=6.46.1"
163+
# test-command = """
164+
# PANDAS_CI='1' python -c 'import pandas as pd; \
165+
# pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
166+
# """
165167

166168
[tool.cibuildwheel.windows]
167169
before-build = "pip install delvewheel"

0 commit comments

Comments
 (0)