AttributeError: module 'logging' has no attribute '_acquireLock' when calling add_trace_level – Potential Python 3.13 Compatibility Issue

module 'logging' has no attribute '_acquireLock' when calling add_trace_level Python may have removed _acquireLock in python 3.13

Python 3.13.2 (tags/v3.13.2:4f8bb39, Feb  4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from haggis.logs import add_trace_level
>>> add_trace_level()
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    add_trace_level()
    ~~~~~~~~~~~~~~~^^
  File "C:\Users\enti2\programming\trading_bot\zmq_broker\.venv\Lib\site-packages\haggis\logs.py", line 346, in add_trace_level
    add_logging_level('TRACE', logging.DEBUG - 5, 'trace', if_exists)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\enti2\programming\trading_bot\zmq_broker\.venv\Lib\site-packages\haggis\logs.py", line 250, in add_logging_level
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'
>>>