Skip to content

Commit

Permalink
ci: fix setup-python action by pinning python to 3.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
abyesilyurt committed Jun 10, 2024
1 parent 28822a9 commit de89761
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cd-docs:
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.12.3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, macos-14]
python-version: ["3.12", "3.11", "3.10"]
python-version: ["3.12.3", "3.11", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: System Architecture
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.12", "3.11", "3.10"]
python-version: ["3.12.3", "3.11", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: System Architecture
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-syft-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

- name: Set up Docker Buildx
id: buildx
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

# The steps ensure that the cron job is able to run only for
# for beta releases and not for stable releases
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
if: ${{ !endsWith(matrix.runner, '-arm64') }}
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

# Currently psutil package requires gcc to be installed on arm
# for building psutil from source
Expand All @@ -118,7 +118,7 @@ jobs:
if: ${{ endsWith(matrix.runner, '-arm64') }}
uses: deadsnakes/action@v3.1.0
with:
python-version: "3.12"
python-version: "3.12.3"

- name: Install Git
run: |
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"
- name: Install dependencies
run: |
pip install --upgrade pip uv==0.1.35 tox tox-uv==1.5.1 setuptools wheel twine bump2version PyYAML
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-syftcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

- name: Install dependencies
if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

- name: Install build dependencies for syftcli
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.3"

#Generate SBOM
- name: Generate SBOM
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-merge-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
post-merge-cleanup-notebooks:
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.12.3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
max-parallel: 3
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]

runs-on: ubuntu-20.04 # ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
python-version: ["3.12"]
python-version: ["3.12.3"]

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-tests-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
fail-fast: false

runs-on: ${{matrix.os}}
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
pytest-modules: ["local_node"]
fail-fast: false

Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
pytest-modules: ["frontend network container_workload"]
fail-fast: false

Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
fail-fast: false

runs-on: ${{matrix.os}}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr-tests-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
include:
- python-version: "3.11"
os: "ubuntu-latest"
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
# Disable on windows until its flakyness is reduced.
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]
deployment-type: ["python"]
notebook-paths: ["tutorials"]
bump-version: ["False"]
Expand All @@ -121,7 +121,7 @@ jobs:
os: "ubuntu-latest"
deployment-type: "python"
notebook-paths: "tutorials"
- python-version: "3.12"
- python-version: "3.12.3"
os: "ubuntu-latest"
deployment-type: "python"
notebook-paths: "tutorials"
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
max-parallel: 99
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12.3"]
deployment-type: ["remote"]
notebook-paths: ["api/0.8"]
fail-fast: false
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
max-parallel: 1
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.12.3"]

runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit de89761

Please sign in to comment.