pyjks
pyjks copied to clipboard
install fails with pip >= 23.1
There have apparently been packaging changes that the 'twofish' requirement hasn't kept up with.
$ pip install pyjks
.......
[JUnit5] Building wheels for collected packages: twofish
[JUnit5] Building wheel for twofish (pyproject.toml): started
[JUnit5] Building wheel for twofish (pyproject.toml): finished with status 'error'
[JUnit5] Failed to build twofish
[JUnit5] error: subprocess-exited-with-error
[JUnit5]
[JUnit5] × Building wheel for twofish (pyproject.toml) did not run successfully.
[JUnit5] │ exit code: 1
[JUnit5] ╰─> [18 lines of output]
[JUnit5] /tmp/pip-build-env-kczyp22g/overlay/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
[JUnit5] !!
[JUnit5]
[JUnit5] ********************************************************************************
[JUnit5] Please consider removing the following classifiers in favor of a SPDX license expression:
[JUnit5]
[JUnit5] License :: OSI Approved :: BSD License
[JUnit5]
[JUnit5] See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
[JUnit5] ********************************************************************************
[JUnit5]
[JUnit5] !!
[JUnit5] self._finalize_license_expression()
[JUnit5] twofish.c:11:10: fatal error: Python.h: No such file or directory
[JUnit5] 11 | #include <Python.h>
[JUnit5] | ^~~~~~~~~~
[JUnit5] compilation terminated.
[JUnit5] error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[JUnit5] [end of output]
[JUnit5]
[JUnit5] note: This error originates from a subprocess, and is likely not a problem with pip.
[JUnit5] ERROR: Failed building wheel for twofish
[JUnit5] ERROR: Could not build wheels for twofish, which is required to install pyproject.toml-based projects