-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update invalid EC key test for compatibility with upcoming OpenSSL changes (#7833) One of the tests checking behavior with invalid EC keys hardcoded the error reason. This commit replaces the string matching with a regex to match both the current string and a new reason, introduced by upcoming OpenSSL changes [0], which would otherwise trigger a false positive failure. [0]: openssl/openssl#19681 * fix CI * fixes #7653 -- handle OPENSSL_cleanup existing on LibreSSL 3.6.0 (#7654) * kill CI cache * endless CI fixing Co-authored-by: Nicola Tuveri <[email protected]> Co-authored-by: Alex Gaynor <[email protected]>
- Loading branch information
1 parent
7d9c6c3
commit 61e9d6a
Showing
6 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ env: | |
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -70,7 +70,7 @@ jobs: | |
~/.cargo/registry/src/ | ||
~/.cargo/git/db/ | ||
src/rust/target/ | ||
key: ${{ runner.os }}-${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-cargo-3-${{ hashFiles('**/Cargo.lock') }} | ||
key: ${{ runner.os }}-${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-cargo-4-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- uses: actions/[email protected] | ||
timeout-minutes: 3 | ||
|
@@ -99,7 +99,7 @@ jobs: | |
path: ${{ github.workspace }}/osslcache | ||
# When altering the openssl build process you may need to increment the value on the end of this cache key | ||
# so that you can prevent it from fetching the cache and skipping the build step. | ||
key: ${{ matrix.PYTHON.OPENSSL.TYPE }}-${{ matrix.PYTHON.OPENSSL.VERSION }}-${{ env.CONFIG_HASH }}-2 | ||
key: ${{ matrix.PYTHON.OPENSSL.TYPE }}-${{ matrix.PYTHON.OPENSSL.VERSION }}-${{ env.CONFIG_HASH }}-3 | ||
if: matrix.PYTHON.OPENSSL | ||
- name: Build custom OpenSSL/LibreSSL | ||
run: .github/workflows/build_openssl.sh | ||
|
@@ -140,7 +140,7 @@ jobs: | |
- {IMAGE: "ubuntu-focal", TOXENV: "py38"} | ||
- {IMAGE: "ubuntu-jammy", TOXENV: "py310"} | ||
- {IMAGE: "ubuntu-rolling", TOXENV: "py310"} | ||
- {IMAGE: "fedora", TOXENV: "py310"} | ||
- {IMAGE: "fedora", TOXENV: "py311"} | ||
- {IMAGE: "alpine", TOXENV: "py310"} | ||
name: "${{ matrix.IMAGE.TOXENV }} on ${{ matrix.IMAGE.IMAGE }}" | ||
timeout-minutes: 15 | ||
|
@@ -502,7 +502,7 @@ jobs: | |
import pkg_resources | ||
import shutil | ||
import urllib.request | ||
d = pkg_resources.get_distribution("cryptography") | ||
with urllib.request.urlopen("https://pypi.org/pypi/cryptography/json") as r: | ||
latest_version = json.load(r)["info"]["version"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters