Start testing Python 3.15#21439
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| #include <Python.h> | ||
| #include <stdbool.h> | ||
| #include <stdint.h> | ||
| #include <Python.h> |
There was a problem hiding this comment.
Some librt tests only compile individual c files. If Python.h isn't included first, these tests would raise ‘_POSIX_C_SOURCE’ redefined warnings on Python 3.15.
See https://bugzilla.redhat.com/show_bug.cgi?id=2416110 for a similar issue
https://docs.python.org/3/c-api/intro.html#include-files
--
No need to backport anything specifically as building librt completely works fine already. It's just if only individual files are compiled.
This comment has been minimized.
This comment has been minimized.
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| "Programming Language :: Python :: 3.15", |
There was a problem hiding this comment.
For 3.14 we added the classifier during the beta as well, once all tests passed. See #19199.
There was a problem hiding this comment.
I'm okay with this, but it would be nice to make sure we support some of the headline features like lazy imports before we make a release with this classifier
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
The first beta for Python 3.15 was released yesterday. Start running CI tests for it.