(Hopefully) fix CI

This commit is contained in:
Florian Bach 2025-01-13 07:25:46 +01:00 committed by GitHub
parent 90c5538230
commit 70be9b1cbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,6 +91,7 @@ jobs:
id: pip-stuff id: pip-stuff
continue-on-error: true continue-on-error: true
run: | run: |
sudo apt update
# Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support. # Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support.
pip3 install "oscrypto>1.3.0" pip3 install "oscrypto>1.3.0"
pip3 install -r ./.github/workflows/ci_test_requirements.txt pip3 install -r ./.github/workflows/ci_test_requirements.txt
@ -118,6 +119,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt update
# Require cryptography >= 3.1 because in 3.0 and below, the backend param in load_key_and_certificates was still required. # Require cryptography >= 3.1 because in 3.0 and below, the backend param in load_key_and_certificates was still required.
# Installing a forked version of oscrypto to fix OpenSSL 3 issues # Installing a forked version of oscrypto to fix OpenSSL 3 issues
pip3 install https://github.com/Leseratte10/acsm-calibre-plugin/releases/download/config/oscrypto_1.3.0_fork_2023-12-19.zip pip3 install https://github.com/Leseratte10/acsm-calibre-plugin/releases/download/config/oscrypto_1.3.0_fork_2023-12-19.zip