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:
Florian Bach 2022-05-16 07:13:41 +02:00
parent d66913c1ae
commit c485f4ed50
1 changed files with 3 additions and 2 deletions

View File

@ -55,12 +55,13 @@ jobs:
- name: Install dependencies
run: |
# 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
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo apt install python2
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)
run: |