We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfe47bf commit 99c76feCopy full SHA for 99c76fe
.github/workflows/python.yml
@@ -29,6 +29,7 @@ jobs:
29
uses: actions/checkout@v4
30
31
- name: Set up Python
32
+ id: setup-python # Add an id to reference the Python version
33
uses: actions/setup-python@v5
34
with:
35
python-version: '3.11'
@@ -37,7 +38,10 @@ jobs:
37
38
if: runner.os == 'Linux'
39
run: |
40
sudo apt-get update
- sudo apt-get install -y python3.11-dev pkg-config
41
+ sudo apt-get install -y python3-dev pkg-config gcc libssl-dev
42
+ # As a fallback, try to install the version-specific dev package if available
43
+ # This might error if the package doesn't exist, so we use '|| true'
44
+ sudo apt-get install -y python${{ steps.setup-python.outputs.python-version }}-dev || true
45
46
- name: Run jacspy tests
47
working-directory: jacspy
0 commit comments