Skip to content

Publish CPython 3.14 wheels and document Windows/WSL installation (#118) - #140

Draft
skilledwolf wants to merge 1 commit into
ALPSim:masterfrom
skilledwolf:fix/windows-wsl-install
Draft

Publish CPython 3.14 wheels and document Windows/WSL installation (#118)#140
skilledwolf wants to merge 1 commit into
ALPSim:masterfrom
skilledwolf:fix/windows-wsl-install

Conversation

@skilledwolf

@skilledwolf skilledwolf commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

The Windows user in #118 installed pyalps inside WSL with Python 3.14. No cp314 wheel exists, so pip silently compiled pyALPS and Boost from the 2.3.3 sdist until WSL ran out of memory; the retry then hit the sdist's stale cmake.verbose setting, which scikit-build-core >= 0.10 rejects.

  • build cp314 wheels: cibuildwheel 2.22.0 -> 4.2.0 (3.14 needs >= 3.0) and cp314-* in CIBW_BUILD; the explicit list keeps the free-threaded builds off. Add the trove classifier.
  • README-py.md: state which platforms get wheels, recommend pip install --only-binary=:all: pyalps to fail fast instead of starting an hour-long source build, and add a Windows section (WSL 2, supported Python versions, the .wslconfig memory settings, and that the 2.3.3 sdist needs a Git checkout to build with current scikit-build-core)

Testing

  • actionlint on the workflow; pyproject.toml parses
  • the cp314 wheels themselves are verified by this PR's wheel CI run; build.yml already builds Python 3.14 with Boost 1.87 to 1.91 on Linux and macOS

Related to #118

A user on Windows 11 installing pyalps inside WSL with Python 3.14 saw
pip download the 43 MB sdist, start "Building wheel for pyalps", and get
killed while WSL consumed all memory (ALPSim#118).  No cp314 wheel exists, so
pip silently fell back to compiling pyALPS and Boost from source; the
second attempt then hit the 2.3.3 sdist's stale cmake.verbose setting,
which scikit-build-core >= 0.10 rejects.

- Build cp314 wheels: bump pypa/cibuildwheel from 2.22.0 (no 3.14
  support) to 4.2.0 and add cp314-* to CIBW_BUILD.  The CIBW_BUILD list
  is explicit, so the free-threaded cp314t builds stay off.  Add the
  matching trove classifier.
- README-py.md: say which platforms get wheels, recommend
  "pip install --only-binary=:all: pyalps" to fail fast instead of
  starting an hour-long source build, and add a Windows section (WSL 2,
  supported Python versions, the .wslconfig memory settings, and that the
  2.3.3 sdist needs a Git checkout to build with current scikit-build-core).

Refs ALPSim#118

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.

1 participant