flier / pyfasthash

Python Non-cryptographic Hash Library
Apache License 2.0
281 stars 52 forks source link

setuptools>=58 breaks support for use_2to3. Causing pyhash installation failures #59

Open rathnaviraj opened 2 years ago

rathnaviraj commented 2 years ago
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
[91m  error: subprocess-exited-with-error
        × python setup.py egg_info did not run successfully.
                  │ exit code: 1
                  ╰─> [1 lines of output]
        error in pyhash setup command: use_2to3 is invalid.
        [end of output]
sun123-cmd commented 8 months ago

I met the same problem as yours.It seems that the developer hasn' t solved this bug until now. I wonder whether you have fixed this problem?

Janosch commented 8 months ago

@sun123-cmd The issue is fixed on master, but not in the latest release, 0.9.3. Therefore, installing directly from master should fix your problem:

pip install git+https://github.com/flier/pyfasthash.git

See also this thread on SO.