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

Regenerate cython files #1675

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Conversation

neuschaefer
Copy link
Contributor

Fixes: #1671

None of these need to be executable.
After re-generating core.cpp and graphics.cpp with cython 0.29.37, they
don't cause build errors with Python 3.12 anymore.

Fixes: hzeller#1671
@neuschaefer neuschaefer changed the title regenerate cython files Regenerate cython files Jul 9, 2024
@hzeller
Copy link
Owner

hzeller commented Jul 10, 2024

Seeing this, I think I'd be in favor if we switch to a mode where the generated cython files are not checked in, but part of the users' build.

Merging this now, but I think it would probably a better experience as stale generated code that caused the issue in the first place is not there to begin with.

Would you like to rework the Python binding for this ? (I suspect it mostly involves deleting the generated files and updating the Makefile and README.

(I don't use Python myself, so I would've never noticed)

Anyway, merging this for now, but I think the above suggestion might be a good next step.

@hzeller hzeller merged commit 75ecfb6 into hzeller:master Jul 10, 2024
1 check passed
@hzeller
Copy link
Owner

hzeller commented Jul 10, 2024

I've put that in #1679

@neuschaefer neuschaefer deleted the cython-regenerate branch July 10, 2024 10:35
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.

Python bindings no longer build with 3.12
2 participants