Skip to content

Commit

Permalink
Working now, test with Pyodide 0.27.0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Sep 24, 2024
1 parent 66999cb commit 64f0c4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
output-dir: wheelhouse
env:
CIBW_PLATFORM: pyodide
CIBW_PYODIDE_VERSION: 0.26.2
CIBW_PYODIDE_VERSION: 0.27.0a2

- name: Run tests with 'CIBW_PLATFORM' set to 'pyodide'
run: |
Expand Down
9 changes: 5 additions & 4 deletions cibuildwheel/pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ def search_xbuildenv(env: dict[str, str]) -> list[str]:
env["version"] for env in xbuildenvs_dict["environments"] if env["compatible"]
]
# Fetch just the "stable" versions
compatible_xbuildenvs_filtered = [
version for version in compatible_xbuildenvs if not any(_ in version for _ in "abc")
]
# compatible_xbuildenvs_filtered = [
# version for version in compatible_xbuildenvs if not any(_ in version for _ in "abc")
# ]
# TODO: possibly remove that? Since this won't allow testing the unstable/dev versions

return compatible_xbuildenvs_filtered
# return compatible_xbuildenvs_filtered
return compatible_xbuildenvs


# The xbuildenv version is brought in sync with the pyodide-build version in build-platforms.toml,
Expand Down

0 comments on commit 64f0c4c

Please sign in to comment.