-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Back in PYTHON-2782 we pinned our coverage test dependency to coverage<5. This is now causing problems due to spamming the logs with deprecation warnings:
[2023/02/15 21:17:22.216] /opt/python/3.11/lib/python3.11/site-packages/coverage/pytracer.py:187: DeprecationWarning: currentThread() is deprecated, use current_thread() instead [2023/02/15 21:17:22.216] if self.threading and self.thread.ident != self.threading.currentThread().ident: [2023/02/15 21:17:22.216] /opt/python/3.11/lib/python3.11/site-packages/coverage/pytracer.py:187: DeprecationWarning: currentThread() is deprecated, use current_thread() instead [2023/02/15 21:17:22.216] if self.threading and self.thread.ident != self.threading.currentThread().ident: [2023/02/15 21:17:22.216] /opt/python/3.11/lib/python3.11/site-packages/coverage/pytracer.py:187: DeprecationWarning: currentThread() is deprecated, use current_thread() instead [2023/02/15 21:17:22.216] if self.threading and self.thread.ident != self.threading.currentThread().ident: [2023/02/15 21:17:22.216] /opt/python/3.11/lib/python3.11/site-packages/coverage/pytracer.py:187: DeprecationWarning: currentThread() is deprecated, use current_thread() instead [2023/02/15 21:17:22.216] if self.threading and self.thread.ident != self.threading.currentThread().ident:
Let's unpin coverage now that we only support Python 3.7+.
- is depended on by
-
PYTHON-3649 Switch to Supported Build Hosts
- Closed
- related to
-
PYTHON-2782 Coverage report combining fails due to incompatible versions
- Closed