Skip to content

Commit

Permalink
CI: Configure SSL_CERT_DIR to satisfy Python 3.11 on macOS
Browse files Browse the repository at this point in the history
-- https://stackoverflow.com/q/50236117#comment122846071_50236117

Root cause::

  Error: Error downloading extends for URL https://cdn.crate.io/downloads/releases/cratedb/x64_mac/crate-5.0.1.tar.gz:
  <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)>
  • Loading branch information
amotl committed Sep 29, 2022
1 parent 6492325 commit d4f35bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
env:
CRATEDB_VERSION: ${{ matrix.cratedb-version }}
SQLALCHEMY_VERSION: ${{ matrix.sqla-version }}
SSL_CERT_DIR: /etc/ssl/certs

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
env:
CRATEDB_VERSION: ${{ matrix.cratedb-version }}
SQLALCHEMY_VERSION: ${{ matrix.sqla-version }}
SSL_CERT_DIR: /etc/ssl/certs

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit d4f35bf

Please sign in to comment.