Skip to content

Commit bf99bcc

Browse files
dirraopotiuk
authored andcommitted
python 3.12 support
1 parent c0f7601 commit bf99bcc

File tree

82 files changed

+767
-683
lines changed

Some content is hidden

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

82 files changed

+767
-683
lines changed

airflow/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
PY39 = sys.version_info >= (3, 9)
7676
PY310 = sys.version_info >= (3, 10)
7777
PY311 = sys.version_info >= (3, 11)
78+
PY312 = sys.version_info >= (3, 12)
7879

7980
# Things to lazy import in form {local_name: ('target_module', 'target_name', 'deprecated')}
8081
__lazy_imports: dict[str, tuple[str, str, bool]] = {

airflow/providers/apache/beam/provider.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ additional-extras:
6262
dependencies:
6363
- apache-beam[gcp]
6464

65+
excluded-python-versions: ['3.12']
66+
6567
integrations:
6668
- integration-name: Apache Beam
6769
external-doc-url: https://beam.apache.org/

dev/README_RELEASE_AIRFLOW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ the older branches, you should set the "skip" field to true.
819819
## Verify production images
820820
821821
```shell script
822-
for PYTHON in 3.8 3.9 3.10 3.11
822+
for PYTHON in 3.8 3.9 3.10 3.11 3.12
823823
do
824824
docker pull apache/airflow:${VERSION}-python${PYTHON}
825825
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
@@ -66,6 +66,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PRE-COMMIT.
6666

6767
---------------------------------------------------------------------------------------------------------
6868

69-
Package config hash: f22d0c615925c3accb40fc1cf0ca5dc9ca57719968df55f12e96383bc5072113aef6d785565ae33f2f73889388ba2a2136a010f5dbfe12fe3cb90bc88c058bcb
69+
Package config hash: b558c71f45f060bfaf0576e94b4680985b0d83119107a0fbf32bd37da5b98de84bea89e3b251aacddbf93e05276f59bfbd411adeecc37173fbfdb6a1fed197c2
7070

7171
---------------------------------------------------------------------------------------------------------

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

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)