cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
dustinm- has quit [Server closed connection]
dustinm has joined #pypy
jcea has quit [Ping timeout: 245 seconds]
komasa has joined #pypy
ronny has joined #pypy
Guest59 has joined #pypy
<Guest59> hello guys
jevinskie|m has joined #pypy
marmoute has joined #pypy
<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__
<Guest59>     initial = {"signed": self.sign(initial)}
<Guest59>   File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/debug_toolbar/forms.py", line 49, in sign
<Guest59>     return signing.Signer(salt=cls.salt).sign(
<Guest59>   File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/django/core/signing.py", line 147, in sign
<Guest59>     return '%s%s%s' % (value, self.sep, self.signature(value))
<Guest59>   File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/django/core/signing.py", line 140, in signature
<Guest59>     return base64_hmac(self.salt + 'signer', value, self.key, algorithm=self.algorithm)
<Guest59>   File "/home/my-pc/dcoya/nemo/.nemo-env-3.10/lib/pypy3.10/site-packages/django/core/signing.py", line 72, in base64_hmac
djangolover23 has joined #pypy
djangolover23 has left #pypy [#pypy]
<nimaje> Guest59: https://foss.heptapod.net/pypy/pypy/-/issues/3962 so try the nightly for now
<Guest59> I will try and update, thank you
<Guest59> I think I will update to 3.9 instead of 3.10, it seems it won't be viable for a production environment
Guest59 has quit [Quit: Client closed]
<Dejan> pypy 3.9 is in Fedora's official repo
<Dejan> i am sure they will have 3.10 once stable release is there
Guest11 has joined #pypy
<Guest11> nimaje : euyup version 3.9 works fine
Guest11 has quit [Quit: Client closed]
jcea has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
dmalcolm_ has joined #pypy
dmalcolm has quit [Ping timeout: 250 seconds]
dmalcolm__ has joined #pypy
jcea has quit [Ping timeout: 264 seconds]
dmalcolm_ has quit [Ping timeout: 252 seconds]
dmalcolm_ has joined #pypy
dmalcolm__ has quit [Ping timeout: 245 seconds]
Dejan has quit [Quit: Leaving]
jcea has joined #pypy