File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 - name : Checkout
6060 uses : actions/checkout@v4.1.1
6161
62- - name : Install python ${{ matrix.nox_session.python }} for tests
63- # If one version fails, uncomment this one and the next step. For example here 3.13.
64- if : ${{ ! contains(fromJson('["3.13"]'), matrix.nox_session.python ) }}
62+ # General case
63+ - name : Install python ${{ matrix.nox_session.python }} for tests (not 3.5 not 3.13)
64+ if : ${{ ! contains(fromJson('["3.5", "3. 13"]'), matrix.nox_session.python ) }}
6565 uses : MatteoH2O1999/setup-python@v4 # actions/setup-python@v5.0.0
6666 id : set-py
6767 with :
7070 allow-build : info
7171 cache-build : true
7272
73+ # Particular case of issue with 3.5
74+ - name : Install python ${{ matrix.nox_session.python }} for tests (3.5)
75+ if : contains(fromJson('["3.5"]'), matrix.nox_session.python )
76+ uses : MatteoH2O1999/setup-python@v4 # actions/setup-python@v5.0.0
77+ id : set-py
78+ with :
79+ python-version : ${{ matrix.nox_session.python }}
80+ architecture : x64
81+ allow-build : info
82+ cache-build : true
83+ env :
84+ # workaround found in https://github.com/actions/setup-python/issues/866
85+ # for issue "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:728)" on Python 3.5
86+ PIP_TRUSTED_HOST : " pypi.python.org pypi.org files.pythonhosted.org"
87+
88+
7389 - name : Install python ${{ matrix.nox_session.python }} for tests (3.13)
7490 if : contains(fromJson('["3.13"]'), matrix.nox_session.python )
7591 uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments