📦 Build wheels using limited Python API#819
Draft
webknjaz wants to merge 2 commits into
Draft
Conversation
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
Member
Author
|
The end of the log caused by this patch: 2026-03-13T15:24:21.7075520Z /tmp/.tmp-ansible-pylibssh-pep517-ur6i_71r/src/src/pylibsshext/session.c:2267:37: error: invalid use of incomplete typedef ‘PyThreadState’ {aka ‘struct _ts’}
2026-03-13T15:24:21.7076949Z 2267 | (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc)))
2026-03-13T15:24:21.7077657Z | ^~
2026-03-13T15:24:21.7078799Z /tmp/.tmp-ansible-pylibssh-pep517-ur6i_71r/src/src/pylibsshext/session.c:15714:12: note: in expansion of macro ‘__Pyx_IsTracing’
2026-03-13T15:24:21.7079795Z 15714 | return __Pyx_IsTracing(tstate, 0, 0);
2026-03-13T15:24:21.7080235Z | ^~~~~~~~~~~~~~~
2026-03-13T15:24:21.7133451Z /tmp/.tmp-ansible-pylibssh-pep517-ur6i_71r/src/src/pylibsshext/session.c:2267:81: error: invalid use of incomplete typedef ‘PyThreadState’ {aka ‘struct _ts’}
2026-03-13T15:24:21.7134842Z 2267 | (!(check_funcs) || (tstate)->c_profilefunc || (CYTHON_TRACE && (tstate)->c_tracefunc)))
2026-03-13T15:24:21.7135448Z | ^~
2026-03-13T15:24:21.7136371Z /tmp/.tmp-ansible-pylibssh-pep517-ur6i_71r/src/src/pylibsshext/session.c:15714:12: note: in expansion of macro ‘__Pyx_IsTracing’
2026-03-13T15:24:21.7137023Z 15714 | return __Pyx_IsTracing(tstate, 0, 0);
2026-03-13T15:24:21.7137316Z | ^~~~~~~~~~~~~~~
2026-03-13T15:24:21.7891305Z error: command '/opt/rh/gcc-toolset-14/root/usr/bin/gcc' failed with exit code 1
2026-03-13T15:24:21.9405064Z ERROR Backend subprocess exited when trying to invoke build_wheel
2026-03-13T15:24:21.9405473Z
2026-03-13T15:24:22.1019779Z ##[endgroup]
2026-03-13T15:24:22.1020550Z �[31m✕ �[0m19.95s
2026-03-13T15:24:22.1044926Z ##[error]Command ['python', '-m', 'build', PurePosixPath('/project'), '--wheel', '--outdir=/tmp/cibuildwheel/built_wheel', '--config-setting=with-cython-tracing=true'] failed with code 1.
2026-03-13T15:24:22.1046105Z
2026-03-13T15:24:22.1251968Z ##[error]Process completed with exit code 1. |
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.
SUMMARY
SSIA.
ISSUE TYPE
ADDITIONAL INFORMATION
If this works, it has a potential of allowing us to ship fewer wheels while supporting unreleased/future Pythons.