Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Python 3.12 Support #330

Closed
wants to merge 2 commits into from

Conversation

madhavajay
Copy link
Contributor

I am having some issues building for python 3.12 locally on MacOS.

^~~~~~~~~
capnp/lib/capnp.cpp:45585:28: error: no member named 'allowCancellation' in 'capnp::CallContext<capnp::DynamicStruct, capnp::DynamicStruct>'
    __pyx_v_self->thisptr->allowCancellation();

I saw that allowCancellation was mentioned in the breaking 1.0 release notes but I think pycapnp is still using an older version of capnp right?

Also, do we want to change bundled_version to (1, 0, 1)?

I haven't had time to debug whats going on, but I also don't know how the python version releases are done as I don't see any version information in wheels.yml. Does it just depend on what cibuildwheel version?

https://cibuildwheel.readthedocs.io/en/stable/

⁵ CPython 3.12 is built by default using Python RCs, starting with cibuildwheel 2.15.

@haata
Copy link
Collaborator

haata commented Oct 11, 2023

Thanks for the PR!
I've been working on this with @tobiasah.
bb15822
313d0d4

Hopefully (fingers crossed, CI passes again), I can try to get the beta out today.

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