From 7a31e54024a025914dc4497f60027f73750890a6 Mon Sep 17 00:00:00 2001 From: Florian Bach Date: Tue, 18 Oct 2022 19:54:23 +0200 Subject: [PATCH] Fix deprecation warnings in CI --- .github/workflows/main.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index daea2be..eb3cae8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install compilers run: | @@ -22,7 +22,7 @@ jobs: ./bundle_migration_plugin.sh - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: calibre-plugins path: | @@ -32,7 +32,7 @@ jobs: test-ubuntu-2004: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -41,7 +41,7 @@ jobs: # Install Python2 stuff curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py python2 get-pip.py - pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 + pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 - name: Run tests (Python 3) run: | @@ -54,7 +54,7 @@ jobs: test-ubuntu-2204-oscrypto: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -65,7 +65,7 @@ jobs: 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>1.3.0" cryptography==3.1 + pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" "oscrypto>1.3.0" cryptography==3.1 - name: Run tests (Python 3) run: | @@ -78,7 +78,7 @@ jobs: test-ubuntu-2204-oscrypto-fork: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -90,8 +90,8 @@ jobs: 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" cryptography==3.1 - pip2 install https://github.com/Leseratte10/acsm-calibre-plugin/releases/download/config/oscrypto_1.3.0_fork_fe39273cc5020.zip + pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" cryptography==3.1 + pip2 --no-python-version-warning install https://github.com/Leseratte10/acsm-calibre-plugin/releases/download/config/oscrypto_1.3.0_fork_fe39273cc5020.zip - name: Run tests (Python 3) run: | @@ -105,7 +105,7 @@ jobs: test-windows: runs-on: windows-2022 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -126,7 +126,7 @@ jobs: - name: Install deps for Python 2 run: | # Install Python2 stuff - python -m pip install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 + python -m pip --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 - name: Run tests (Python 2) run: | @@ -137,7 +137,7 @@ jobs: test-mac: runs-on: macos-11 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: | @@ -146,7 +146,7 @@ jobs: # Install Python2 stuff curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py python2 get-pip.py - pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 + pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 - name: Run tests (Python 3) run: |