-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add Python 3.15 test infrastructure #15718
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| """Helpers for Python 3.15 test infrastructure.""" | ||
|
|
||
| # These stubs require runtime dependencies that do not install cleanly on Python 3.15 yet. | ||
| PY315_INCOMPATIBLE_RUNTIME_DEPENDENCIES = { | ||
| # Depend on numpy, which does not provide Python 3.15 wheels yet. | ||
| "JACK-Client", | ||
| "geopandas", | ||
| "hnswlib", | ||
| "networkx", | ||
| "pycocotools", | ||
| "resampy", | ||
| "shapely", | ||
| "tensorflow", | ||
| # Depends on referencing, which depends on rpds-py. rpds-py currently uses | ||
| # PyO3, which rejects Python 3.15. | ||
| "jsonschema", | ||
| # Depends on matplotlib, which depends on contourpy. contourpy does not | ||
| # provide Python 3.15 wheels yet. | ||
| "seaborn", | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # ============================================ | ||
| # TODO: Allowlist entries that should be fixed | ||
| # ============================================ | ||
|
|
||
| _decimal.SPEC_VERSION | ||
| _pyrepl.fancy_termios | ||
| _pyrepl.unix_console | ||
| _pyrepl.unix_eventqueue | ||
| ctypes.c_double_complex._type_ | ||
| ctypes.c_float_complex._type_ | ||
| ctypes.c_longdouble_complex._type_ | ||
| decimal.SPEC_VERSION | ||
| mmap.MS_ASYNC | ||
| mmap.MS_INVALIDATE | ||
| mmap.MS_SYNC | ||
| mmap.mmap.madvise | ||
| mmap.mmap.resize | ||
| os.NODEV | ||
| os.__all__ | ||
| posix.NODEV | ||
| profiling.sampling.live_collector | ||
| profiling.sampling.live_collector.collector | ||
| profiling.sampling.live_collector.constants | ||
| profiling.sampling.live_collector.display | ||
| profiling.sampling.live_collector.trend_tracker | ||
| profiling.sampling.live_collector.widgets | ||
| readline.get_pre_input_hook | ||
| resource.RLIM_SAVED_CUR | ||
| resource.RLIM_SAVED_MAX | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,133 @@ | ||
| # ============================================ | ||
| # TODO: Allowlist entries that should be fixed | ||
| # ============================================ | ||
|
|
||
| # GitHub Actions' Python 3.15 Linux build currently lacks _decimal, so | ||
| # decimal falls back to _pydecimal with different runtime signatures. | ||
| decimal\..* | ||
| _decimal | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apparently Ubuntu 3.15 on CI doesn't have the C version of decimal which seems a bit concerning.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Python versions on GitHub are sometimes a bit concerning ... |
||
| _pyrepl.fancy_termios | ||
| _pyrepl.unix_console | ||
| _pyrepl.unix_eventqueue | ||
| _socket.CAN_ISOTP_CHK_PAD_DATA | ||
| _socket.CAN_ISOTP_CHK_PAD_LEN | ||
| _socket.CAN_ISOTP_DEFAULT_EXT_ADDRESS | ||
| _socket.CAN_ISOTP_DEFAULT_FLAGS | ||
| _socket.CAN_ISOTP_DEFAULT_FRAME_TXTIME | ||
| _socket.CAN_ISOTP_DEFAULT_LL_MTU | ||
| _socket.CAN_ISOTP_DEFAULT_LL_TX_DL | ||
| _socket.CAN_ISOTP_DEFAULT_LL_TX_FLAGS | ||
| _socket.CAN_ISOTP_DEFAULT_PAD_CONTENT | ||
| _socket.CAN_ISOTP_DEFAULT_RECV_BS | ||
| _socket.CAN_ISOTP_DEFAULT_RECV_STMIN | ||
| _socket.CAN_ISOTP_DEFAULT_RECV_WFTMAX | ||
| _socket.CAN_ISOTP_EXTEND_ADDR | ||
| _socket.CAN_ISOTP_FORCE_RXSTMIN | ||
| _socket.CAN_ISOTP_FORCE_TXSTMIN | ||
| _socket.CAN_ISOTP_HALF_DUPLEX | ||
| _socket.CAN_ISOTP_LISTEN_MODE | ||
| _socket.CAN_ISOTP_LL_OPTS | ||
| _socket.CAN_ISOTP_OPTS | ||
| _socket.CAN_ISOTP_RECV_FC | ||
| _socket.CAN_ISOTP_RX_EXT_ADDR | ||
| _socket.CAN_ISOTP_RX_PADDING | ||
| _socket.CAN_ISOTP_RX_STMIN | ||
| _socket.CAN_ISOTP_SF_BROADCAST | ||
| _socket.CAN_ISOTP_TX_PADDING | ||
| _socket.CAN_ISOTP_TX_STMIN | ||
| _socket.CAN_ISOTP_WAIT_TX_DONE | ||
| _socket.IPV6_HDRINCL | ||
| _socket.SOL_CAN_ISOTP | ||
| ctypes.c_double_complex._type_ | ||
| ctypes.c_float_complex._type_ | ||
| ctypes.c_longdouble_complex._type_ | ||
| mmap.MS_ASYNC | ||
| mmap.MS_INVALIDATE | ||
| mmap.MS_SYNC | ||
| mmap.mmap.madvise | ||
| os.AT_NO_AUTOMOUNT | ||
| os.AT_STATX_DONT_SYNC | ||
| os.AT_STATX_FORCE_SYNC | ||
| os.AT_STATX_SYNC_AS_STAT | ||
| os.NODEV | ||
| os.STATX_ATIME | ||
| os.STATX_BASIC_STATS | ||
| os.STATX_BLOCKS | ||
| os.STATX_BTIME | ||
| os.STATX_CTIME | ||
| os.STATX_DIOALIGN | ||
| os.STATX_GID | ||
| os.STATX_INO | ||
| os.STATX_MNT_ID | ||
| os.STATX_MNT_ID_UNIQUE | ||
| os.STATX_MODE | ||
| os.STATX_MTIME | ||
| os.STATX_NLINK | ||
| os.STATX_SIZE | ||
| os.STATX_TYPE | ||
| os.STATX_UID | ||
| os.__all__ | ||
| os._clearenv | ||
| os.statx | ||
| os.statx_result | ||
| posix.AT_NO_AUTOMOUNT | ||
| posix.AT_STATX_DONT_SYNC | ||
| posix.AT_STATX_FORCE_SYNC | ||
| posix.AT_STATX_SYNC_AS_STAT | ||
| posix.NODEV | ||
| posix.STATX_ATIME | ||
| posix.STATX_BASIC_STATS | ||
| posix.STATX_BLOCKS | ||
| posix.STATX_BTIME | ||
| posix.STATX_CTIME | ||
| posix.STATX_DIOALIGN | ||
| posix.STATX_GID | ||
| posix.STATX_INO | ||
| posix.STATX_MNT_ID | ||
| posix.STATX_MNT_ID_UNIQUE | ||
| posix.STATX_MODE | ||
| posix.STATX_MTIME | ||
| posix.STATX_NLINK | ||
| posix.STATX_SIZE | ||
| posix.STATX_TYPE | ||
| posix.STATX_UID | ||
| posix.statx | ||
| profiling.sampling.live_collector | ||
| profiling.sampling.live_collector.collector | ||
| profiling.sampling.live_collector.constants | ||
| profiling.sampling.live_collector.display | ||
| profiling.sampling.live_collector.trend_tracker | ||
| profiling.sampling.live_collector.widgets | ||
| readline.get_pre_input_hook | ||
| resource.RLIM_SAVED_CUR | ||
| resource.RLIM_SAVED_MAX | ||
| socket.CAN_ISOTP_CHK_PAD_DATA | ||
| socket.CAN_ISOTP_CHK_PAD_LEN | ||
| socket.CAN_ISOTP_DEFAULT_EXT_ADDRESS | ||
| socket.CAN_ISOTP_DEFAULT_FLAGS | ||
| socket.CAN_ISOTP_DEFAULT_FRAME_TXTIME | ||
| socket.CAN_ISOTP_DEFAULT_LL_MTU | ||
| socket.CAN_ISOTP_DEFAULT_LL_TX_DL | ||
| socket.CAN_ISOTP_DEFAULT_LL_TX_FLAGS | ||
| socket.CAN_ISOTP_DEFAULT_PAD_CONTENT | ||
| socket.CAN_ISOTP_DEFAULT_RECV_BS | ||
| socket.CAN_ISOTP_DEFAULT_RECV_STMIN | ||
| socket.CAN_ISOTP_DEFAULT_RECV_WFTMAX | ||
| socket.CAN_ISOTP_EXTEND_ADDR | ||
| socket.CAN_ISOTP_FORCE_RXSTMIN | ||
| socket.CAN_ISOTP_FORCE_TXSTMIN | ||
| socket.CAN_ISOTP_HALF_DUPLEX | ||
| socket.CAN_ISOTP_LISTEN_MODE | ||
| socket.CAN_ISOTP_LL_OPTS | ||
| socket.CAN_ISOTP_OPTS | ||
| socket.CAN_ISOTP_RECV_FC | ||
| socket.CAN_ISOTP_RX_EXT_ADDR | ||
| socket.CAN_ISOTP_RX_PADDING | ||
| socket.CAN_ISOTP_RX_STMIN | ||
| socket.CAN_ISOTP_SF_BROADCAST | ||
| socket.CAN_ISOTP_TX_PADDING | ||
| socket.CAN_ISOTP_TX_STMIN | ||
| socket.CAN_ISOTP_WAIT_TX_DONE | ||
| socket.IPV6_HDRINCL | ||
| socket.SOL_CAN_ISOTP | ||
| socket.__all__ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a
TODOcomment to all new allowlists?