Skip to content

Commit cc71b69

Browse files
author
Christopher Doris
committed
install julia 1.11 in python test workflow
1 parent e833566 commit cc71b69

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ jobs:
8484
uses: actions/setup-python@v6
8585
with:
8686
python-version: ${{ matrix.pyversion }}
87+
88+
- name: Check Python OpenSSL version (see setup_julia)
89+
shell: python
90+
run: |
91+
import ssl
92+
assert ssl.OPENSSL_VERSION_INFO < (3, 5)
8793
8894
- name: Set up uv
8995
uses: astral-sh/setup-uv@v6
@@ -94,7 +100,9 @@ jobs:
94100
id: setup_julia
95101
uses: julia-actions/setup-julia@v2
96102
with:
97-
version: '1'
103+
# Python in the GitHub runners ships with OpenSSL 3.0. Julia 1.12 requires
104+
# OpenSSL 3.5. Therefore juliapkg requires Julia 1.11 or lower.
105+
version: '1.11'
98106

99107
- name: Set up test Julia project
100108
if: ${{ matrix.juliaexe == 'julia' }}

0 commit comments

Comments
 (0)