Skip to content

Commit

Permalink
Remove back 3.6 to unblock PRs (apache#22516)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Mar 24, 2022
1 parent 05b4409 commit e3a68e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ jobs:
needs: [build-info]
strategy:
matrix:
# We need to attempt to build all possible versions here because pull_request_target
# event is run for both main and v1-10-tests
python-version: ${{ fromJson(needs.build-info.outputs.allPythonVersions) }}
fail-fast: true
if: needs.build-info.outputs.image-build == 'true'
Expand Down Expand Up @@ -254,8 +252,6 @@ jobs:
needs: [build-info, build-ci-images]
strategy:
matrix:
# We need to attempt to build all possible versions here because pull_request_target
# event is run for both main and v1-10-tests
python-version: ${{ fromJson(needs.build-info.outputs.allPythonVersions) }}
fail-fast: true
if: needs.build-info.outputs.image-build == 'true'
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 @@ -32,7 +32,7 @@
DEFAULT_BACKEND = 'sqlite'

# Checked before putting in build cache
ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS = ['3.7', '3.8', '3.9', '3.10', '3.6']
ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS = ['3.7', '3.8', '3.9', '3.10']
ALLOWED_BACKENDS = ['sqlite', 'mysql', 'postgres', 'mssql']
ALLOWED_STATIC_CHECKS = [
"all",
Expand Down Expand Up @@ -213,7 +213,7 @@ def get_available_packages() -> List[str]:
PYTHONDONTWRITEBYTECODE = True

PRODUCTION_IMAGE = False
ALL_PYTHON_MAJOR_MINOR_VERSIONS = ['3.6', '3.7', '3.8', '3.9', '3.10']
ALL_PYTHON_MAJOR_MINOR_VERSIONS = ['3.7', '3.8', '3.9', '3.10']
CURRENT_PYTHON_MAJOR_MINOR_VERSIONS = ['3.7', '3.8', '3.9', '3.10']
CURRENT_POSTGRES_VERSIONS = ['10', '11', '12', '13']
CURRENT_MYSQL_VERSIONS = ['5.7', '8']
Expand Down
4 changes: 2 additions & 2 deletions dev/breeze/tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
[
("backend", "mysql", (True, ['sqlite', 'mysql', 'postgres', 'mssql']), None),
("backend", "xxx", (False, ['sqlite', 'mysql', 'postgres', 'mssql']), None),
("python_major_minor_version", "3.8", (True, ['3.7', '3.8', '3.9', '3.10', "3.6"]), None),
("python_major_minor_version", "3.5", (False, ['3.7', '3.8', '3.9', '3.10', "3.6"]), None),
("python_major_minor_version", "3.8", (True, ['3.7', '3.8', '3.9', '3.10']), None),
("python_major_minor_version", "3.5", (False, ['3.7', '3.8', '3.9', '3.10']), None),
("missing", "value", None, AttributeError),
],
)
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 @@ -117,7 +117,7 @@ function initialization::initialize_base_variables() {
export PRODUCTION_IMAGE="false"

# All supported major/minor versions of python in all versions of Airflow
ALL_PYTHON_MAJOR_MINOR_VERSIONS+=("3.6" "3.7" "3.8" "3.9" "3.10")
ALL_PYTHON_MAJOR_MINOR_VERSIONS+=("3.7" "3.8" "3.9" "3.10")
export ALL_PYTHON_MAJOR_MINOR_VERSIONS

# Currently supported major/minor versions of python
Expand Down

0 comments on commit e3a68e2

Please sign in to comment.