Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing install python 3.10 #5674

Merged
merged 4 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/backend_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Install Nox
run: pip install nox>=2022

Expand Down Expand Up @@ -340,6 +346,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Install Nox
run: pip install nox>=2022

Expand Down Expand Up @@ -426,6 +438,12 @@ jobs:
- name: Load image
run: docker load --input /tmp/python-${{ matrix.python_version }}.tar

- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Install Nox
run: pip install nox>=2022

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cypress_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
# Docker auth with read-only permissions.
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_RO_TOKEN: ${{ secrets.DOCKER_RO_TOKEN }}
DEFAULT_PYTHON_VERSION: "3.10.13"

jobs:
Cypress-E2E:
Expand All @@ -26,10 +27,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python 3.10
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Install Nox
run: pip install nox>=2022
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
# Docker auth with read-write (publish) permissions. Set as env in workflow root as auth is required in multiple jobs.
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DEFAULT_PYTHON_VERSION: "3.10.13"

jobs:
ParseTags:
Expand Down Expand Up @@ -71,6 +72,12 @@ jobs:
with:
fetch-depth: 0 # This is required to properly tag images

- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -104,7 +111,6 @@ jobs:
if: needs.ParseTags.outputs.alpha_tag == 'true' || needs.ParseTags.outputs.beta_tag == 'true'
run: nox -s "push(${{ matrix.application }},prerelease)" -- git_tag


NotifyRedeploy:
runs-on: ubuntu-latest
needs: Push
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
TAG: ${{ github.event.release.tag_name }}
PROD_PUBLISH: true
DEFAULT_PYTHON_VERSION: "3.10.13"

jobs:
publish_docs:
Expand All @@ -19,9 +20,11 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v5
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
cache: "pip"

- name: Echo the Release Tag
run: echo ${{ env.TAG }}
Expand All @@ -31,7 +34,7 @@ jobs:

- name: Install Docs Requirements
run: pip install -r docs/fides/requirements.txt

- name: Install fides
run: pip install -e ./[all]

Expand Down
Loading