ValueError: wrapper has not been initialized in jwcrypto Library (Python 3.12, jwcrypto 1.51, macOS)
Description:
I am encountering an issue with the jwcrypto library in my Python 3.12 project on macOS. The error message ValueError: wrapper has not been initialized is being raised during the initialization of a Python debugging tool.
Environment:
Python Version: 3.12
Library Version: 1.51
Operating System: macOS (Specify your macOS version if applicable)
Steps to Reproduce:
Start the Python debugging tool on pycharm.
Observe the error ValueError: wrapper has not been initialized during tool initialization.
stacktrace
File "/venv/lib/python3.12/site-packages/jwcrypto/jwk.py", line 301, in <module>
class JWK(dict):
File "/venv/lib/python3.12/site-packages/jwcrypto/jwk.py", line 769, in JWK
@deprecated
^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/deprecated/classic.py", line 276, in deprecated
@wrapt.decorator(adapter=adapter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/wrapt/decorators.py", line 427, in decorator
return _build(wrapper, _wrapper, adapter=decorator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.12/site-packages/wrapt/decorators.py", line 239, in _build
return AdapterWrapper(wrapped=wrapped, wrapper=wrapper,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "_pydevd_bundle/pydevd_pep_669_tracing_cython.pyx", line 504, in _pydevd_bundle.pydevd_pep_669_tracing_cython.PyRaiseCallback.__call__
File "_pydevd_bundle/pydevd_pep_669_tracing_cython.pyx", line 47, in _pydevd_bundle.pydevd_pep_669_tracing_cython.PEP669CallbackBase.frame
ValueError: wrapper has not been initialized
Issue Title:
ValueError: wrapper has not been initialized
injwcrypto
Library (Python 3.12, jwcrypto 1.51, macOS)Description:
I am encountering an issue with the
jwcrypto
library in my Python 3.12 project on macOS. The error messageValueError: wrapper has not been initialized
is being raised during the initialization of a Python debugging tool.Environment:
Steps to Reproduce:
ValueError: wrapper has not been initialized
during tool initialization.stacktrace