From 933fc6de653f91ef8193b62a43fcbc220af84bb9 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Wed, 14 Jul 2021 18:27:41 +0100 Subject: [PATCH] Release AC 1.10.15-3 (#284) https://github.com/astronomer/airflow/releases/tag/v1.10.15%2Bastro.3 Astronomer Certified 1.10.15-3, 2021-07-14 ------------------------------------------ - Exclude ``yarn.lock`` from built Python wheel file (#16577) ([commit](https://github.com/astronomer/airflow/commit/6c80e3ff5)) - [backport] Fix bug with `executor_config` and Volumes ([commit](https://github.com/astronomer/airflow/commit/7813076ac)) - Only allow webserver to request from the worker log server (#16754) ([commit](https://github.com/astronomer/airflow/commit/b8db31c19)) --- .circleci/config.yml | 4 +- .circleci/generate_circleci_config.py | 2 +- 1.10.15/CHANGELOG.md | 11 ++ 1.10.15/buster/Dockerfile | 10 +- 1.10.15/buster/build-time-pip-constraints.txt | 187 ++++++++++++++++++ 5 files changed, 209 insertions(+), 5 deletions(-) create mode 100644 1.10.15/buster/build-time-pip-constraints.txt diff --git a/.circleci/config.yml b/.circleci/config.yml index 86ae880d..cb3d3b34 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -767,7 +767,7 @@ workflows: name: push-1.10.15-buster tag: "1.10.15-buster" dev_build: false - extra_tags: "1.10.15-buster-${CIRCLE_BUILD_NUM},1.10.15-2-buster" + extra_tags: "1.10.15-buster-${CIRCLE_BUILD_NUM},1.10.15-3-buster" context: - quay.io - docker.io @@ -782,7 +782,7 @@ workflows: name: push-1.10.15-buster-onbuild tag: "1.10.15-buster-onbuild" dev_build: false - extra_tags: "1.10.15-buster-onbuild-${CIRCLE_BUILD_NUM},1.10.15-2-buster-onbuild" + extra_tags: "1.10.15-buster-onbuild-${CIRCLE_BUILD_NUM},1.10.15-3-buster-onbuild" context: - quay.io - docker.io diff --git a/.circleci/generate_circleci_config.py b/.circleci/generate_circleci_config.py index eed62e2d..c2bb74fd 100755 --- a/.circleci/generate_circleci_config.py +++ b/.circleci/generate_circleci_config.py @@ -15,7 +15,7 @@ ("1.10.10-8", ["alpine3.10", "buster"]), ("1.10.12-4", ["alpine3.10", "buster"]), ("1.10.14-3", ["buster"]), - ("1.10.15-2", ["buster"]), + ("1.10.15-3", ["buster"]), ("2.0.0-8", ["buster"]), ("2.0.2-4", ["buster"]), ("2.1.0-3", ["buster"]), diff --git a/1.10.15/CHANGELOG.md b/1.10.15/CHANGELOG.md index f3aec0a2..e13d14b9 100644 --- a/1.10.15/CHANGELOG.md +++ b/1.10.15/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +Astronomer Certified 1.10.15-3, 2021-07-14 +------------------------------------------ + +## Bug Fixes + +- Exclude ``yarn.lock`` from built Python wheel file (#16577) ([commit](https://github.com/astronomer/airflow/commit/6c80e3ff5)) +- [backport] Fix bug with `executor_config` and Volumes ([commit](https://github.com/astronomer/airflow/commit/7813076ac)) +- Only allow webserver to request from the worker log server (#16754) ([commit](https://github.com/astronomer/airflow/commit/b8db31c19)) +- Dockerfile: Add constraint for installed Airflow version (#274) ([commit](https://github.com/astronomer/ap-airflow/commit/60174ec)) +- Dockerfile: Upgrade Fab sec manager to 1.6.0 (#272) ([commit](https://github.com/astronomer/ap-airflow/commit/417fd59)) + Astronomer Certified 1.10.15-2, 2021-06-04 ------------------------------------------ diff --git a/1.10.15/buster/Dockerfile b/1.10.15/buster/Dockerfile index 5606f0c3..e0b4b9cc 100644 --- a/1.10.15/buster/Dockerfile +++ b/1.10.15/buster/Dockerfile @@ -110,7 +110,7 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -ARG VERSION="1.10.15-2" +ARG VERSION="1.10.15-3" ARG SUBMODULES="async,azure_blob_storage,azure_cosmos,azure_container_instances,celery,crypto,elasticsearch,gcp,kubernetes,mysql,postgres,s3,emr,redis,slack,ssh,statsd,virtualenv" ARG AIRFLOW_MODULE="astronomer_certified[${SUBMODULES}]==$VERSION" ARG AIRFLOW_VERSION="1.10.15" @@ -120,6 +120,12 @@ ARG AIRFLOW_VERSION="1.10.15" COPY include/pip.conf /etc/pip.conf COPY include/pip-constraints.txt /usr/local/share/astronomer-pip-constraints.txt +# This constraints will be only used during docker-build +# and won't be included in the final image +# It is useful to install airflow-providers that work but still allow users to +# install providers of their choice (as opposed to entries in astronomer-pip-constraints.txt) +COPY build-time-pip-constraints.txt /tmp/build-time-pip-constraints.txt + # Pip install airflow and astro security manager RUN pip install "${AIRFLOW_MODULE}" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_MAJOR_MINOR_VERSION}.txt" \ && pip install "https://github.com/astronomer/astronomer-airflow-scripts/releases/download/v0.0.5/astronomer_airflow_scripts-0.0.5-py3-none-any.whl" \ @@ -138,7 +144,7 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -ARG VERSION="1.10.15-2" +ARG VERSION="1.10.15-3" ARG AIRFLOW_VERSION="1.10.15" LABEL io.astronomer.docker.airflow.version="${AIRFLOW_VERSION}" LABEL io.astronomer.docker.ac.version="${VERSION}" diff --git a/1.10.15/buster/build-time-pip-constraints.txt b/1.10.15/buster/build-time-pip-constraints.txt new file mode 100644 index 00000000..936d2eb1 --- /dev/null +++ b/1.10.15/buster/build-time-pip-constraints.txt @@ -0,0 +1,187 @@ +adal==1.2.5 +alembic==1.4.3 +amqp==2.6.1 +apispec==1.3.3 +appdirs==1.4.4 +argcomplete==1.12.2 +astronomer-airflow-scripts==0.0.5 +astronomer-airflow-version-check==1.0.7 +astronomer-fab-security-manager==1.6.0 +attrs==20.3.0 +azure-common==1.1.26 +azure-core==1.9.0 +azure-cosmos==3.2.0 +azure-mgmt-containerinstance==1.5.0 +azure-nspkg==3.0.2 +azure-storage==0.36.0 +azure-storage-blob==12.6.0 +azure-storage-common==2.1.0 +Babel==2.9.0 +bcrypt==3.2.0 +billiard==3.6.3.0 +boto3==1.10.50 +botocore==1.13.50 +cached-property==1.5.2 +cachetools==4.1.1 +cattrs==1.1.2 +celery==4.4.7 +certifi==2020.11.8 +cffi==1.14.4 +chardet==3.0.4 +click==6.7 +colorama==0.4.4 +colorlog==4.0.2 +configparser==3.5.3 +croniter==0.3.36 +cryptography==3.2.1 +defusedxml==0.6.0 +dill==0.3.3 +distlib==0.3.1 +distro==1.5.0 +dnspython==1.16.0 +docutils==0.15.2 +elasticsearch==5.5.3 +elasticsearch-dsl==5.4.0 +email-validator==1.1.2 +eventlet==0.31.0 +filelock==3.0.12 +Flask==1.1.2 +Flask-Admin==1.5.4 +Flask-AppBuilder==2.3.4 +Flask-Babel==1.0.0 +Flask-Caching==1.3.3 +Flask-JWT-Extended==3.25.0 +Flask-Login==0.4.1 +Flask-OpenID==1.2.5 +Flask-SQLAlchemy==2.4.4 +flask-swagger==0.2.14 +Flask-WTF==0.14.3 +flower==0.9.5 +funcsigs==1.0.2 +future==0.18.2 +gevent==21.1.2 +google-api-core==1.23.0 +google-api-python-client==1.12.8 +google-auth==1.23.0 +google-auth-httplib2==0.0.4 +google-auth-oauthlib==0.4.2 +google-cloud-bigquery==2.4.0 +google-cloud-bigquery-storage==2.1.0 +google-cloud-bigtable==1.6.0 +google-cloud-container==1.0.1 +google-cloud-core==1.4.3 +google-cloud-dlp==1.0.0 +google-cloud-language==1.3.0 +google-cloud-secret-manager==1.0.0 +google-cloud-spanner==1.19.1 +google-cloud-speech==1.3.2 +google-cloud-storage==1.33.0 +google-cloud-texttospeech==1.0.1 +google-cloud-translate==1.7.0 +google-cloud-videointelligence==1.16.1 +google-cloud-vision==1.0.0 +google-crc32c==1.0.0 +google-resumable-media==1.1.0 +googleapis-common-protos==1.52.0 +graphviz==0.15 +greenlet==1.1.0 +grpc-google-iam-v1==0.12.3 +grpcio==1.33.2 +grpcio-gcp==0.2.2 +gunicorn==20.0.4 +httplib2==0.18.1 +humanize==3.1.0 +idna==2.8 +importlib-metadata==2.1.0 +importlib-resources==1.5.0 +iso8601==0.1.13 +isodate==0.6.0 +itsdangerous==1.1.0 +Jinja2==2.11.2 +jmespath==0.10.0 +json-merge-patch==0.2 +jsonschema==3.2.0 +jwcrypto==0.6.0 +kombu==4.6.11 +kubernetes==11.0.0 +lazy-object-proxy==1.4.3 +libcst==0.3.14 +lockfile==0.12.2 +Mako==1.1.3 +Markdown==2.6.11 +MarkupSafe==1.1.1 +marshmallow==2.21.0 +marshmallow-enum==1.5.1 +marshmallow-sqlalchemy==0.23.1 +msrest==0.6.19 +msrestazure==0.6.4 +mypy-extensions==0.4.3 +mysqlclient==1.3.14 +natsort==7.1.0 +numpy==1.19.4 +oauthlib==3.1.0 +packaging==20.7 +pandas==1.1.4 +pandas-gbq==0.14.1 +paramiko==2.7.2 +pendulum==1.4.4 +prison==0.1.3 +prometheus-client==0.8.0 +proto-plus==1.11.0 +protobuf==3.14.0 +psutil==5.7.3 +psycopg2-binary==2.8.6 +pyarrow==0.17.1 +pyasn1==0.4.8 +pyasn1-modules==0.2.8 +pycparser==2.20 +pydata-google-auth==1.1.0 +Pygments==2.7.2 +PyJWT==1.7.1 +PyNaCl==1.4.0 +pyOpenSSL==20.0.0 +pyparsing==2.4.7 +pyrsistent==0.17.3 +pysftp==0.2.9 +python-daemon==2.2.4 +python-dateutil==2.8.1 +python-editor==1.0.4 +python-nvd3==0.15.0 +python-slugify==4.0.1 +python3-openid==3.2.0 +pytz==2020.4 +pytzdata==2020.1 +PyYAML==5.3.1 +redis==3.5.3 +requests==2.23.0 +requests-oauthlib==1.3.0 +rsa==4.6 +s3transfer==0.2.1 +setproctitle==1.2 +six==1.15.0 +slackclient==1.3.2 +SQLAlchemy==1.3.20 +SQLAlchemy-JSONField==0.9.0 +SQLAlchemy-Utils==0.36.8 +sshtunnel==0.1.5 +statsd==3.3.0 +tabulate==0.8.7 +tenacity==4.12.0 +text-unidecode==1.3 +thrift==0.13.0 +tornado==5.1.1 +typing-extensions==3.7.4.3 +typing-inspect==0.6.0 +tzlocal==1.5.1 +unicodecsv==0.14.1 +uritemplate==3.0.1 +urllib3==1.25.11 +vine==1.3.0 +virtualenv==20.2.1 +websocket-client==0.54.0 +Werkzeug==0.16.1 +WTForms==2.3.3 +zipp==3.4.0 +zope.deprecation==4.4.0 +zope.event==4.5.0 +zope.interface==5.4.0