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

Support for PyPy 3.11 #4689

Open
mattip opened this issue Nov 7, 2024 · 1 comment
Open

Support for PyPy 3.11 #4689

mattip opened this issue Nov 7, 2024 · 1 comment

Comments

@mattip
Copy link
Contributor

mattip commented Nov 7, 2024

Bug Description

PyPy is working on a 3.11 version. This will require some adaptation from PyO3. I am opening an tracking issue for the C API changes that I think might be relevant.

  • right now the version are limited (changing that is easy)
  • the PyBUF_MAX_NDIM macro will change to be like CPython: 64
  • I am making an effort to adjust the static functions and macros to be more like C.

Steps to Reproduce

I will try to make a branch in my fork and run it in our binary-testing repo to keep the noise down on this repo.

Backtrace

No response

Your operating system and version

ubuntu x86_64 24.04

Your Python version (python --version)

PyPy 3.11

Your Rust version (rustc --version)

rustc 1.75.0

Your PyO3 version

HEAD

How did you install python? Did you use a virtualenv?

From source

Additional Info

Thanks!

@mattip mattip added the bug label Nov 7, 2024
@davidhewitt
Copy link
Member

Awesome; thanks for helping out with the support. Given that we will have the version check to prevent users building with PyPy 3.11 prematurely, happy to accept patches into this repo whenever to help make your process simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants