-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should Calibre-Web's requirements.txt install cryptography
?
#3183
Comments
I could reproduce it with the newest nightly version and I‘ve added cryptography to the requirements file. |
Awesome if you find out, Many Thanks @OzzieIsaacs ! |
@OzzieIsaacs, @C0rn3j, @deldesir, @avni please review doc cleanup below if you can, Thank You! |
@OzzieIsaacs' fix (c2ffa94) is tested on Raspberry Pi OS, many thanks to @EMG70 here: |
I don't get why This entire section should be removed, no sane operating system will let you install as --user nor --system today, you use a venv, otherwise you break the OS:
I don't get why this section exists. cryptography is in requirements, so mentions to install it manually should be yeeted - c2ffa94 |
I don't know the reason. But I know it's been important for a few years now. Is there perhaps a much better way!?
Personally, I don't agree, and here's why: pip installation of the While everyone would certainly love that pattern to end (!) it seems very premature to wipe out vital tips. A better plan (in my view) is to help people help themselves, by documenting valuable/proven workarounds that have (often!) worked extremely well. 🙏 |
Installng it in the venv. Rest should be installable in the venv.
The project should pin a version that works when that happens, this should imo not be on the user. I am not against having the workaround in the documentation, but it should be documented why it is there. Something akin to "Sometimes the latest stable cryptography fails to install on specific architectures, if that happens and a bug has already been reported without a decent workaround, you can try using the library from the system" I am not a project member, so what I want does not matter in the end :) |
I hope https://github.com/janeczku/calibre-web/wiki/Manual-Installation/_compare/0a20d71ec2af591cf4507a3f62e18ec597bd4acc...bc2892e4acc1b4b9a2bf92cf018f78047ead64a4 is an improvement. |
Just a little reminder of past adventures reference: iiab/iiab#3503 iiab/iiab#3538
iiab/iiab#3498 One of my goals when developing software for easy redistribution and deployment was not to install any compilers for a smaller base image and not having ready access to compiles should something evil befall the installation. Let the bad actors work a bit harder should the machine get hacked, just my 2 cents |
FYI Manual Installation of Calibre-Web does not work (as tested on 4+ OS's including Debian 12 & 13, Ubuntu 24.04 & 24.10) unless this additional/manual step is added:
Does this mean that
cryptography
should be added into file https://github.com/janeczku/calibre-web/blob/master/requirements.txt ?cc: @C0rn3j
Backstory below (in case this helps!)
Tangentially related:
The text was updated successfully, but these errors were encountered: