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

Any plans to support Python 3.11+ ? #84

Open
allentiak opened this issue Jan 11, 2025 · 1 comment
Open

Any plans to support Python 3.11+ ? #84

allentiak opened this issue Jan 11, 2025 · 1 comment

Comments

@allentiak
Copy link

Is there anything that prevents pynguin from running in a Python 3.11+ environment?

@stephanlukasczyk
Copy link
Member

Unfortunately yes. Pynguin relies on instrumenting the CPython bytecode. This bytecode is an implementation detail of CPython and changes between versions, which requires adjustments for every supported Python version.

I hope that at some point we can migrate the bytecode instrumentation to something based on the sys.monitoring APIs introduced in Python 3.12. My hope is that this API will be stable such that supporting newer Python versions will then be easier from a maintainer's point of view. Also other Python implementations, e.g., PyPy once they provide a 3.12 compatible implementation, would then be useable.

Until then, Pynguin unfortunately only runs on CPython 3.10.

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

No branches or pull requests

2 participants