Commit 1909512d by Mathieu Kniewallner Committed by GitHub

chore(ci): setup certificates for 3.11 on macOS (#6576)

CI is failing on Python 3.11.0rc2 for macOS because of missing
certificates. For some reasons, they don't seem to be correctly
installed, so we manually bundle them with `certifi` and symlink them.

Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
parent bbbd1dc5
...@@ -52,6 +52,11 @@ jobs: ...@@ -52,6 +52,11 @@ jobs:
id: full-python-version id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
# XXX: Certificates are not correctly installed for 3.11-dev -- remove when fixed.
- name: Install missing certificates on 3.11 for macOS
if: ${{ matrix.python-version == '3.11-dev' && matrix.os == 'macOS' }}
run: /Applications/Python\ 3.11/Install\ Certificates.command
- name: Bootstrap poetry - name: Bootstrap poetry
run: | run: |
curl -sL https://install.python-poetry.org | python - -y curl -sL https://install.python-poetry.org | python - -y
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment