Skip to content

Fix tests on python3.14t#166

Merged
vstinner merged 2 commits intopython:mainfrom
vstinner:free_threading
Feb 12, 2026
Merged

Fix tests on python3.14t#166
vstinner merged 2 commits intopython:mainfrom
vstinner:free_threading

Conversation

@vstinner
Copy link
Member

  • Add Py_MOD_GIL_NOT_USED to the C/C++ extension.
  • Add "t" suffix to the Python version on free-threaded build.
  • On Python 3.14 and newer, tests call sys._clear_internal_caches() instead of sys._clear_type_cache() to avoid a deprecation warning.

* Add Py_MOD_GIL_NOT_USED to the C/C++ extension.
* Add "t" suffix to the Python version on free-threaded build.
* On Python 3.14 and newer, tests call sys._clear_internal_caches()
  instead of sys._clear_type_cache() to avoid a deprecation warning.
@vstinner vstinner merged commit 5fc6653 into python:main Feb 12, 2026
41 checks passed
@vstinner vstinner deleted the free_threading branch February 12, 2026 14:43
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

Successfully merging this pull request may close these issues.

1 participant