Closed nicolasochem closed 1 year ago
btw you may want to replace the tqtezos logo with the oxhead alpha logo on the pytezos.org front page
Hi Nicolas!
Yeah, pystrhex.h
header was removed in Python 3.11 breaking sha3. There's a PyTezos fork (crypto only) based on different libraries which possibly works with py311.
I'm refreshing our utils container used in tezos-k8s to do a variety of things before the octez container starts.
I found that I can't install pytezos in the python:3.11-alpine container. Best I can do is 3.10.
Here is a minimal Dockerfile that reproduces the problem:
pytezos has a dependency on
pysha3
which no longer works with python 3.11It looks like pysha3 has been rolled into python and is no longer supported.
It does not appear to be a direct pytezos dependency, so you'd need to trace the dependency chain and potentially bump some version somewhere.
Thanks in advance :)