Skip to content

Commit 9888b0f

Browse files
committed
Add support for Python 3.13
1 parent d1bf9c5 commit 9888b0f

117 files changed

Lines changed: 644 additions & 576 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/post_tests_success/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ runs:
4747
uses: codecov/codecov-action@v4
4848
env:
4949
CODECOV_TOKEN: ${{ inputs.codecov-token }}
50-
if: env.ENABLE_COVERAGE == 'true' && env.TEST_TYPES != 'Helm' && inputs.python-version != '3.12'
50+
if: >
51+
env.ENABLE_COVERAGE == 'true' && env.TEST_TYPES != 'Helm' && inputs.python-version != '3.12'
52+
&& inputs.python-version != '3.13'
5153
with:
5254
name: coverage-${{env.JOB_ID}}
5355
flags: python-${{ env.PYTHON_MAJOR_MINOR_VERSION }},${{ env.BACKEND }}-${{ env.BACKEND_VERSION }}

.github/actions/prepare_all_ci_images/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,9 @@ runs:
6666
platform: ${{ inputs.platform }}
6767
python: "3.12"
6868
python-versions-list-as-string: ${{ inputs.python-versions-list-as-string }}
69+
- name: "Restore CI docker image ${{ inputs.platform }}:3.13"
70+
uses: ./.github/actions/prepare_single_ci_image
71+
with:
72+
platform: ${{ inputs.platform }}
73+
python: "3.13"
74+
python-versions-list-as-string: ${{ inputs.python-versions-list-as-string }}

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ Airflow is not a streaming solution, but it is often used to process real-time d
9797

9898
Apache Airflow is tested with:
9999

100-
| | Main version (dev) | Stable version (2.10.5) |
101-
|------------|------------------------|----------------------------|
102-
| Python | 3.9, 3.10, 3.11, 3.12 | 3.8, 3.9, 3.10, 3.11, 3.12 |
103-
| Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) |
104-
| Kubernetes | 1.29, 1.30, 1.31, 1.32 | 1.27, 1.28, 1.29, 1.30 |
105-
| PostgreSQL | 13, 14, 15, 16, 17 | 12, 13, 14, 15, 16 |
106-
| MySQL | 8.0, 8.4, Innovation | 8.0, 8.4, Innovation |
107-
| SQLite | 3.15.0+ | 3.15.0+ |
100+
| | Main version (dev) | Stable version (2.10.5) |
101+
|------------|-----------------------------|----------------------------|
102+
| Python | 3.9, 3.10, 3.11, 3.12, 3.13 | 3.8, 3.9, 3.10, 3.11, 3.12 |
103+
| Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) |
104+
| Kubernetes | 1.29, 1.30, 1.31, 1.32 | 1.27, 1.28, 1.29, 1.30 |
105+
| PostgreSQL | 13, 14, 15, 16, 17 | 12, 13, 14, 15, 16 |
106+
| MySQL | 8.0, 8.4, Innovation | 8.0, 8.4, Innovation |
107+
| SQLite | 3.15.0+ | 3.15.0+ |
108108

109109
\* Experimental
110110

contributing-docs/07_local_virtualenv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Required Software Packages
3434
Use system-level package managers like yum, apt-get for Linux, or
3535
Homebrew for macOS to install required software packages:
3636

37-
* Python (One of: 3.9, 3.10, 3.11, 3.12)
37+
* Python (One of: 3.9, 3.10, 3.11, 3.12, 3.13)
3838
* MySQL 5.7+
3939
* libxml
4040
* helm (only for helm chart tests)

dev/README_RELEASE_AIRFLOW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ the older branches, you should set the "skip" field to true.
841841
## Verify production images
842842
843843
```shell script
844-
for PYTHON in 3.9 3.10 3.11 3.12
844+
for PYTHON in 3.9 3.10 3.11 3.12 3.13
845845
do
846846
docker pull apache/airflow:${VERSION}-python${PYTHON}
847847
breeze prod-image verify --image-name apache/airflow:${VERSION}-python${PYTHON}

dev/breeze/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PRE-COMMIT.
128128

129129
---------------------------------------------------------------------------------------------------------
130130

131-
Package config hash: 6b59c778b56a87c8b91951e553072e1dbca5c871dc7eeb6c010481c5ebf6388ad04571c04d89ed8fe3cc9d9e5c827d889b0d08d3cb8ef0fb2d3a6fd3457aa607
131+
Package config hash: f467dbcbef10f9b901c7b5379de72dfbdcc1ee74a2417e0f3682824fb96c3ce3d886e5c06d83a65f4c945ef2066d08f405c5f5cce531e2802001d268e7f94ff3
132132

133133
---------------------------------------------------------------------------------------------------------

dev/breeze/doc/ci/02_images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ percent-encoded when you access them via UI (/ = %2F)
567567
| PROD image | airflow/\<BRANCH\>/prod/python\<X.Y\> | faster to build or pull. Production image optimized for size. |
568568

569569
- \<BRANCH\> might be either "main" or "v2-\*-test"
570-
- \<X.Y\> - Python version (Major + Minor).Should be one of \["3.9", "3.10", "3.11", "3.12" \].
570+
- \<X.Y\> - Python version (Major + Minor).Should be one of \["3.9", "3.10", "3.11", "3.12", "3.13" \].
571571

572572

573573
----

dev/breeze/doc/images/output-commands.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)