Skip to content

Commit

Permalink
Remove postgres 9.6 support (#19987)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelauv authored Dec 5, 2021
1 parent 538612c commit a299cbf
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions BREEZE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ This is the current syntax for `./breeze <./breeze>`_:
--postgres-version POSTGRES_VERSION
Postgres version used. One of:
9.6 10 11 12 13
10 11 12 13
--mysql-version MYSQL_VERSION
MySql version used. One of:
Expand Down Expand Up @@ -2320,7 +2320,7 @@ This is the current syntax for `./breeze <./breeze>`_:
--postgres-version POSTGRES_VERSION
Postgres version used. One of:
9.6 10 11 12 13
10 11 12 13
--mysql-version MYSQL_VERSION
MySql version used. One of:
Expand Down
4 changes: 2 additions & 2 deletions PULL_REQUEST_WORKFLOW.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ We approached the problem by:

* Python versions (currently 3.6, 3.7, 3.8, 3.9)
* Backend types (currently MySQL/Postgres)
* Backed version (currently MySQL 5.7, MySQL 8, Postgres 9.6, Postgres 13
* Backed version (currently MySQL 5.7, MySQL 8, Postgres 13

We've decided that instead of running all the combinations of parameters for all matrix component we will
only run default values (Python 3.6, Mysql 5.7, Postgres 9.6) for all PRs which are not approved yet by
only run default values (Python 3.6, Mysql 5.7, Postgres 13) for all PRs which are not approved yet by
the committers. This has a nice effect, that full set of tests (though with limited combinations of
the matrix) are still run in the CI for every Pull Request that needs tests at all - allowing the
contributors to make sure that their PR is "good enough" to be reviewed.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ Airflow is not a streaming solution, but it is often used to process real-time d

Apache Airflow is tested with:

| | Main version (dev) | Stable version (2.2.2) |
| -------------------- | ------------------------- | ------------------------ |
| Python | 3.6, 3.7, 3.8, 3.9 | 3.6, 3.7, 3.8, 3.9 |
| Kubernetes | 1.20, 1.21 | 1.18, 1.19, 1.20 |
| PostgreSQL | 9.6, 10, 11, 12, 13 | 9.6, 10, 11, 12, 13 |
| MySQL | 5.7, 8 | 5.7, 8 |
| SQLite | 3.15.0+ | 3.15.0+ |
| MSSQL(Experimental) | 2017, 2019 | |
| | Main version (dev) | Stable version (2.2.2) |
| -------------------- | -------------------- | ------------------------ |
| Python | 3.6, 3.7, 3.8, 3.9 | 3.6, 3.7, 3.8, 3.9 |
| Kubernetes | 1.20, 1.21 | 1.18, 1.19, 1.20 |
| PostgreSQL | 10, 11, 12, 13 | 9.6, 10, 11, 12, 13 |
| MySQL | 5.7, 8 | 5.7, 8 |
| SQLite | 3.15.0+ | 3.15.0+ |
| MSSQL(Experimental) | 2017, 2019 | |

**Note**: MySQL 5.x versions are unable to or have limitations with
running multiple schedulers -- please see the [Scheduler docs](https://airflow.apache.org/docs/apache-airflow/stable/scheduler.html).
Expand Down
4 changes: 2 additions & 2 deletions TESTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ The typical session for tests with Kubernetes looks like follows:
Airflow source version: 2.0.0.dev0
Python version: 3.7
Backend: postgres 9.6
Backend: postgres 10
No kind clusters found.
Expand Down Expand Up @@ -798,7 +798,7 @@ The typical session for tests with Kubernetes looks like follows:
Airflow source version: 2.0.0.dev0
Python version: 3.7
Backend: postgres 9.6
Backend: postgres 10
airflow-python-3.7-v1.17.0-control-plane
airflow-python-3.7-v1.17.0-worker
Expand Down
2 changes: 1 addition & 1 deletion breeze-complete
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _breeze_allowed_helm_versions="v3.6.3"
_breeze_allowed_kind_versions="v0.11.1"
_breeze_allowed_mysql_versions="5.7 8"
_breeze_allowed_mssql_versions="2017-latest 2019-latest"
_breeze_allowed_postgres_versions="9.6 10 11 12 13"
_breeze_allowed_postgres_versions="10 11 12 13"
_breeze_allowed_kind_operations="start stop restart status deploy test shell k9s"
_breeze_allowed_executors="KubernetesExecutor CeleryExecutor LocalExecutor CeleryKubernetesExecutor"
_breeze_allowed_test_types="All Always Core Providers API CLI Integration Other WWW Postgres MySQL Helm Quarantined"
Expand Down
4 changes: 2 additions & 2 deletions docs/apache-airflow/concepts/scheduler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ This does however place some requirements on the Database.
Database Requirements
"""""""""""""""""""""

The short version is that users of PostgreSQL 9.6+ or MySQL 8+ are all ready to go -- you can start running as
The short version is that users of PostgreSQL 10+ or MySQL 8+ are all ready to go -- you can start running as
many copies of the scheduler as you like -- there is no further set up or config options needed. If you are
using a different database please read on.

Expand All @@ -146,7 +146,7 @@ UPDATE NOWAIT`` but the exact query is slightly different).

The following databases are fully supported and provide an "optimal" experience:

- PostgreSQL 9.6+
- PostgreSQL 10+
- MySQL 8+

.. warning::
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: 9.6, 10, 11, 12, 13
* PostgreSQL: 10, 11, 12, 13
* 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 @@ Airflow is tested with:

* Databases:

* PostgreSQL: 9.6, 10, 11, 12, 13
* PostgreSQL: 10, 11, 12, 13
* MySQL: 5.7, 8
* SQLite: 3.15.0+
* MSSQL(Experimental): 2017, 2019
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/libraries/_initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function initialization::initialize_base_variables() {
export CURRENT_PYTHON_MAJOR_MINOR_VERSIONS

# Currently supported versions of Postgres
CURRENT_POSTGRES_VERSIONS+=("9.6" "13")
CURRENT_POSTGRES_VERSIONS+=("10" "13")
export CURRENT_POSTGRES_VERSIONS

# Currently supported versions of MySQL
Expand Down

0 comments on commit a299cbf

Please sign in to comment.