-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: Authentication, Tests
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'winkerberos', which has not declared that it can run safely without the GIL.
Link to task:
Context of when and why the failure occurred:
We added 3.14t to the test matrix in PYTHON-5024, but need to skip for Enterprise Auth on Windows.
Stack trace:
[2026/01/26 12:29:08.071] ERROR: collection failure () [2026/01/26 12:29:08.071] test\asynchronous\test_auth.py:38: in <module> [2026/01/26 12:29:08.071] from pymongo.asynchronous.auth import HAVE_KERBEROS, _canonicalize_hostname [2026/01/26 12:29:08.071] pymongo\asynchronous\auth.py:58: in <module> [2026/01/26 12:29:08.071] import winkerberos as kerberos # type:ignore[import] [2026/01/26 12:29:08.071] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2026/01/26 12:29:08.071] E RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'winkerberos', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.