pynguin
pynguin copied to clipboard
Any plans to support Python 3.11+ ?
Is there anything that prevents pynguin from running in a Python 3.11+ environment?
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.