Skip to content

Commit

Permalink
[FEATURE] add postgres 15 support (#27444)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelauv authored Nov 17, 2022
1 parent 2d19ddd commit 355b008
Show file tree
Hide file tree
Showing 12 changed files with 600 additions and 600 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Apache Airflow is tested with:
| Python | 3.7, 3.8, 3.9, 3.10 | 3.7, 3.8, 3.9, 3.10 |
| Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) |
| Kubernetes | 1.21, 1.22, 1.23, 1.24, 1.25 | 1.21, 1.22, 1.23, 1.24, 1.25 |
| PostgreSQL | 11, 12, 13, 14 | 11, 12, 13, 14 |
| PostgreSQL | 11, 12, 13, 14, 15 | 11, 12, 13, 14 |
| MySQL | 5.7, 8 | 5.7, 8 |
| SQLite | 3.15.0+ | 3.15.0+ |
| MSSQL | 2017(\*), 2019 (\*) | 2017(\*), 2019 (\*) |
Expand Down
4 changes: 2 additions & 2 deletions dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
MOUNT_REMOVE = "remove"

ALLOWED_MOUNT_OPTIONS = [MOUNT_SELECTED, MOUNT_ALL, MOUNT_SKIP, MOUNT_REMOVE]
ALLOWED_POSTGRES_VERSIONS = ["11", "12", "13", "14"]
ALLOWED_POSTGRES_VERSIONS = ["11", "12", "13", "14", "15"]
ALLOWED_MYSQL_VERSIONS = ["5.7", "8"]
ALLOWED_MSSQL_VERSIONS = ["2017-latest", "2019-latest"]

Expand Down Expand Up @@ -155,7 +155,7 @@ def get_default_platform_machine() -> str:
PRODUCTION_IMAGE = False
ALL_PYTHON_MAJOR_MINOR_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
CURRENT_PYTHON_MAJOR_MINOR_VERSIONS = ALL_PYTHON_MAJOR_MINOR_VERSIONS
CURRENT_POSTGRES_VERSIONS = ["11", "12", "13", "14"]
CURRENT_POSTGRES_VERSIONS = ["11", "12", "13", "14", "15"]
DEFAULT_POSTGRES_VERSION = CURRENT_POSTGRES_VERSIONS[0]
CURRENT_MYSQL_VERSIONS = ["5.7", "8"]
DEFAULT_MYSQL_VERSION = CURRENT_MYSQL_VERSIONS[0]
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/howto/set-up-database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ By default, Airflow uses **SQLite**, which is intended for development purposes

Airflow supports the following database engine versions, so make sure which version you have. Old versions may not support all SQL statements.

* PostgreSQL: 10, 11, 12, 13
* PostgreSQL: 11, 12, 13, 14, 15
* MySQL: 5.7, 8
* MsSQL: 2017, 2019
* SQLite: 3.15.0+
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/installation/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Starting with Airflow 2.3.0, Airflow is tested with:.

* Databases:

* PostgreSQL: 11, 12, 13, 14
* PostgreSQL: 11, 12, 13, 14, 15
* MySQL: 5.7, 8
* SQLite: 3.15.0+
* MSSQL(Experimental): 2017, 2019
Expand Down
14 changes: 7 additions & 7 deletions images/breeze/output-commands-hash.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is automatically generated by pre-commit. If you have a conflict with this file
# Please do not solve it but run `breeze setup regenerate-command-images`.
# This command should fix the conflict and regenerate help images that you have conflict with.
main:2c9d59be4e7ee9fb2ba1a3459f4e5bfa
main:11fedd2637e0e3b31936c4f015ab0d19
build-docs:80555245ea1142991ce1d63c3bf8ce74
ci:find-newer-dependencies:8fa2b57f5f0523c928743b235ee3ab5a
ci:fix-ownership:fee2c9ec9ef19686792002ae054fecdd
Expand Down Expand Up @@ -43,16 +43,16 @@ release-management:release-prod-images:c9bc40938e0efad49e51ef66e83f9527
release-management:verify-provider-packages:88bd609aff6d09d52ab8d80d6e055e7b
release-management:82eaa53824d5e9231ccadbc73042bed2
setup:autocomplete:03343478bf1d0cf9c101d454cdb63b68
setup:config:46046276786b806fa5860016d4812e57
setup:config:3ffcd35dd24b486ddf1d08b797e3d017
setup:regenerate-command-images:20016a5ea492f214692c4b57c4fa9c06
setup:self-upgrade:d02f70c7a230eae3463ceec2056b63fa
setup:version:123b462a421884dc2320ffc5e54b2478
setup:34724e476913b6762afdf10cdc28aea9
shell:634fe1c64414108f92c33ad184786f75
start-airflow:ad1c4c98d1769290ff5f895fddd8b4f2
setup:a3bd246c3a425f3e586d11bbdc8937cb
shell:51149096ed3fb28d2a01e0a5ad0146ef
start-airflow:4bec5d26386dc268ec2de2f637c85272
static-checks:61c8d96ffe3008bff89a9df39b423be2
stop:8969537ccdd799f692ccb8600a7bbed6
testing:docker-compose-tests:b86c044b24138af0659a05ed6331576c
testing:helm-tests:94a442e7f3f63b34c4831a84d165690a
testing:tests:4ecbdd2c84b8e535127634ae006e7908
testing:411c60cce8d5af9f3cf6c9b3054baab1
testing:tests:6f6b7f18cde20255fe988f3a26f340cf
testing:2a93cd42229622d0eaa445c96fd1246d
204 changes: 102 additions & 102 deletions images/breeze/output-commands.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 41 additions & 41 deletions images/breeze/output_setup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 54 additions & 54 deletions images/breeze/output_setup_config.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
236 changes: 118 additions & 118 deletions images/breeze/output_shell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
260 changes: 130 additions & 130 deletions images/breeze/output_start-airflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 37 additions & 37 deletions images/breeze/output_testing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
212 changes: 106 additions & 106 deletions images/breeze/output_testing_tests.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 355b008

Please sign in to comment.