Skip to content

Commit

Permalink
feat: update internal packages to Python 3.11 (#52664)
Browse files Browse the repository at this point in the history
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Natik Gadzhi <[email protected]>
Co-authored-by: Octavia Squidington III <[email protected]>
  • Loading branch information
4 people authored Jan 31, 2025
1 parent e56fe8a commit e743cd4
Show file tree
Hide file tree
Showing 46 changed files with 2,387 additions and 1,405 deletions.
9 changes: 6 additions & 3 deletions .github/actions/install-airbyte-ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,16 @@ runs:
sudo mv airbyte-ci-bin /usr/local/bin/airbyte-ci
sudo chmod +x /usr/local/bin/airbyte-ci
- name: Install Python 3.10
id: install-python-3-10
- name: Install Python 3.11
id: install-python-3-11
uses: actions/setup-python@v4
# if: steps.determine-install-mode.outputs.install-mode == 'source'
with:
python-version: "3.10"
python-version: "3.11"
token: ${{ inputs.github_token }}
cache: "pip"
check-latest: true
update-environment: true

- name: Install Airbyte CI from source
id: install-airbyte-ci-source
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/airbyte-ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
id: install_python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true

- name: Install Poetry
id: install_poetry
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/auto_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/connector-performance-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true
- name: Install CI scripts
run: |
pip install pipx
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/format-fix-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"
check-latest: true
update-environment: true
- name: Run pre-commit
uses: pre-commit/[email protected]
continue-on-error: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"
check-latest: true
update-environment: true
- name: Run pre-commit
uses: pre-commit/[email protected]
id: format-check
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ jobs:
id: install_python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true

- name: Checkout Airbyte
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-airbyte-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Checkout Airbyte
uses: actions/checkout@v3
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Release Octavia
id: release_octavia
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-performance-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true
- name: Install CI scripts
run: |
pip install pipx
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upload-metadata-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
check-latest: true
update-environment: true
- name: Install metadata_service
if: steps.changed-files.outputs.any_changed == 'true'
run: pip install airbyte-ci/connectors/metadata_service/lib
Expand Down
3 changes: 3 additions & 0 deletions airbyte-ci/connectors/auto_merge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ have been merged.

## Changelog

### 0.1.5
Update Python version requirement from 3.10 to 3.11.

### 0.1.3
Adds `auto-merge/bypass-ci-checks` label which does not require CI checks to pass to auto-merge PR.

Expand Down
Loading

0 comments on commit e743cd4

Please sign in to comment.