Skip to content

Build CPython 3.15 wheels - #1152

Open
edgarrmondragon wants to merge 1 commit into
msgspec:mainfrom
edgarrmondragon:cp315-wheels
Open

Build CPython 3.15 wheels#1152
edgarrmondragon wants to merge 1 commit into
msgspec:mainfrom
edgarrmondragon:cp315-wheels

Conversation

@edgarrmondragon

@edgarrmondragon edgarrmondragon commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

#1146 bumped cibuildwheel to 4.2.0, which adds CPython 3.15 wheels by default, but this project uses a build list in .cibuildwheel.toml so they need to be selected explicitly.

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
Comment thread .cibuildwheel.toml
test-groups = ["test-unit"]

[tool.cibuildwheel.pyodide]
build = "cp314-*"

@edgarrmondragon edgarrmondragon Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building pyodide wheels for cp315 fails:

Details

  + pyodide venv /tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/venv-test
  Creating Pyodide virtualenv at                                                  
  /tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/venv-test                           
  ... Configuring virtualenv                                                      
  ... Installing standard library                                                 
  Successfully created Pyodide virtual environment!                               
  + which python
  /tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/venv-test/bin/python
  + pip install /tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/repaired_wheel/msgspec-0.21.2.dev78+g21499cc6f-cp315-cp315-pyemscripten_2026_5_wasm32.whl
  Looking in indexes: https://pypi.org/simple, file:///home/runner/.cache/cibuildwheel/pyodide-build-0.39.0/315.0.0a2/xbuildenv/pyodide-root/package_index
  Processing /tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/repaired_wheel/msgspec-0.21.2.dev78+g21499cc6f-cp315-cp315-pyemscripten_2026_5_wasm32.whl
  Installing collected packages: msgspec
  Successfully installed msgspec-0.21.2.dev78+g21499cc6f
  + pip install 'pytest>=9' pytest-randomly attrs coverage msgpack pyyaml 'tomli; python_version < "3.11"' tomli-w
  Looking in indexes: https://pypi.org/simple, file:///home/runner/.cache/cibuildwheel/pyodide-build-0.39.0/315.0.0a2/xbuildenv/pyodide-root/package_index
  Ignoring tomli: markers 'python_version < "3.11"' don't match your environment
  Collecting pytest>=9
    Using cached pytest-9.1.1-py3-none-any.whl.metadata (7.6 kB)
  WARNING: Location 'file:///home/runner/.cache/cibuildwheel/pyodide-build-0.39.0/315.0.0a2/xbuildenv/pyodide-root/package_index/pytest-randomly/' is ignored: it is neither a file nor a directory.
  Collecting pytest-randomly
    Using cached pytest_randomly-4.1.0-py3-none-any.whl.metadata (8.6 kB)
  WARNING: Location 'file:///home/runner/.cache/cibuildwheel/pyodide-build-0.39.0/315.0.0a2/xbuildenv/pyodide-root/package_index/attrs/' is ignored: it is neither a file nor a directory.
  Collecting attrs
    Using cached attrs-26.1.0-py3-none-any.whl.metadata (8.8 kB)
  Collecting coverage
    Using cached coverage-7.15.4-py3-none-any.whl.metadata (8.6 kB)
  WARNING: Location 'file:///home/runner/.cache/cibuildwheel/pyodide-build-0.39.0/315.0.0a2/xbuildenv/pyodide-root/package_index/msgpack/' is ignored: it is neither a file nor a directory.
  ERROR: Could not find a version that satisfies the requirement msgpack (from versions: none)
  ERROR: No matching distribution found for msgpack
  Error: cibuildwheel: Command ['/tmp/cibw-run-mqiwed6o/cp315-pyodide_wasm32/venv-test/bin/pip', 'install', 'pytest>=9', 'pytest-randomly', 'attrs', 'coverage', 'msgpack', 'pyyaml', 'tomli; python_version < "3.11"', 'tomli-w'] failed with code 1. 

https://github.com/msgspec/msgspec/actions/runs/31529128437/job/93905120501?pr=1152

@jacopoabramo jacopoabramo Aug 13, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ERROR: Could not find a version that satisfies the requirement msgpack (from versions: none)

Seems like msgpack doesn't ship weels for pyodide yet, but that's a dev dependency in the bench group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants