mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-11-16 19:56:11 +06:00
Update CI for new oscrypto version
This forces the CI on Ubuntu 22.04 to use oscrypto newer than 1.3.0. Such a version does not yet exist so the CI will still fail, but once that update is released, the CI will immediately start working again without manual intervention.
This commit is contained in:
parent
d66913c1ae
commit
c485f4ed50
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -55,12 +55,13 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
# 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.
|
||||||
pip3 install freezegun lxml pycryptodome rsa oscrypto "cryptography>=3.1"
|
# Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support.
|
||||||
|
pip3 install freezegun lxml pycryptodome rsa "oscrypto>1.3.0" "cryptography>=3.1"
|
||||||
# Install Python2 stuff
|
# Install Python2 stuff
|
||||||
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
|
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
|
||||||
sudo apt install python2
|
sudo apt install python2
|
||||||
python2 get-pip.py
|
python2 get-pip.py
|
||||||
pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1
|
pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" "oscrypto>1.3.0" cryptography==3.1
|
||||||
|
|
||||||
- name: Run tests (Python 3)
|
- name: Run tests (Python 3)
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user