Conversation
Copilot created this pull request from a session on behalf of
wbarnha
July 11, 2026 18:23
View session
wbarnha
marked this pull request as ready for review
July 11, 2026 18:23
wbarnha
added a commit
that referenced
this pull request
Jul 13, 2026
* Update setup.py to build against Python 3.13+ - use setuptools.command.build_ext instead of the already dead distutils - Update opensuse-build.patch to explicitly link against libstdc++ fixing build failure under Python 3.14 (undefined symbol _ZTVN10__cxxabiv117__class_type_infoE) Fixes: #36 * ci: upgrade artifact actions to v4 * build: fix py3.12+ sysconfig import and linux-only stdc++ link * build: require Cython >=3.0.10 for py3.12+ wheel builds * build: pin packaging<26 to fix InvalidVersion crash in isolated build env * Fix failing PyPy build: limit setuptools<72 for PyPy builds only (#39) * Update OS versions in CI workflow * Bump cibuildwheel action to v2.16.5 to fix Windows pwsh 7.4 arg-quoting bug v2.15.0's GitHub Action fails on windows-2022 runners with Invalid --only='""' because PowerShell 7.4 changed how empty-string CLI args are quoted (pypa/cibuildwheel#1740). Fixed upstream in v2.16.5. * Update macOS version in CI workflow * Skip PyPy builds on macOS and Windows PyPy wheels on these platforms aren't reliably buildable; only build PyPy on Linux. Trims the now-unreachable macOS branch out of the setuptools<72 PyPy override accordingly. --------- Co-authored-by: Matěj Cepl <mcepl@cepl.eu> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setuptools≥72 introduced a regression in
unixccompiler.pywherelinker_exereturnsNoneinstead of a list, causingTypeError: 'NoneType' object is not subscriptableand breaking PyPy wheel builds.Changes
pyproject.toml: Adds a[[tool.cibuildwheel.overrides]]block scoped topp*-manylinux*,pp*-musllinux*, andpp*-macosx*that:/tmp/cibw-pypy-constraints.txt) containingsetuptools<72inbefore-buildPIP_CONSTRAINTto that file in the build environmentpip inherits
PIP_CONSTRAINTinto isolated build environments (spawned bypython -m build), so the constraint is applied when the build venv installs[build-system].requires— without touching CPython builds. Windows PyPy is excluded since/tmpis not available there.