Closed janprzychodniak closed 1 year ago
Hi,
Please open issues with uharfbuzz/python-pkcs11 respectively. The latest pyHanko version allows the most recent version (at the time I write this), so this needs an upstream fix; not much I can do about that... Dependabot will ensure the dependencies of pyHanko are kept up to date if/when such fixes are made available.
...I'm actually quite confused now. I came back here to mention that I'm able to install both python-pkcs11 and uharfbuzz with pip without issues. It was only crashing when I was attempting to install them with pyhanko.
But now it also started working with pyhanko... I guess it was a pip issue.
On closer inspection, the issue is probably related to the fact that you forced the pkcs11 version to 0.6.0 (=outdated) in your requirements file. This caused pip to fall back to older pyhanko/uharfbuzz builds as well, and those probably don't build on WSL.
Describe the bug I used the command provided here: https://github.com/MatthiasValvekens/pyHanko
pip install 'pyHanko[pkcs11,image-support,opentype,xmp]'
The command either fails on python-pkcs11 or uharfbuzz
To Reproduce
To reproduce error with python-pkcs11:
sudo apt-get update
sudo apt install python3.10-venv
python3 -m venv venv
source venv/bin/activate
pip install pyhanko[pkcs11,image-support,opentype,xmp]
To reproduce error with uharfbuzz:
sudo apt-get update
sudo apt install python3.10-venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Expected behavior For the package to install successfully.
Traceback For python-pkcs11:
For uharfbuzz:
Environment: