<Guest59>
I'm encountering a problem with upgrading my pypy enviorment from 3.7 to 3.10, with django 3.2 and django-debug-toolbar 4.1.0, when the toolbars is set to enabled in my project, i'm encountering this error in runtime:
<Guest59>
pypy3.10-v7.3.12-linux64/lib/pypy3.10/_hashlib/__init__.py", line 517, in hmac_new
<Guest59>
with self.lock():
<Guest59>
TypeError: '_thread.lock' object is not callable
<Guest59>
But when disabling it django works fine
<Guest59>
Any suggestions?
<Guest59>
#################### full traceback ####################
<Guest59>
Internal Server Error: /
<Guest59>
Traceback (most recent call last):
<Guest59>
File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
<Guest59>
response = get_response(request)
<Guest59>
File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/debug_toolbar/middleware.py", line 69, in __call__
<Guest59>
panel.generate_stats(request, response)
<Guest59>
File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/debug_toolbar/panels/sql/panel.py", line 258, in generate_stats
<Guest59>
query["form"] = SignedDataForm(
<Guest59>
File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/debug_toolbar/forms.py", line 32, in __init__