Skip to content

Commit 5e990fd

Browse files
committed
Update version to 2.4.1
1 parent 1f0c017 commit 5e990fd

File tree

15 files changed

+31
-30
lines changed

15 files changed

+31
-30
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Airflow is not a streaming solution, but it is often used to process real-time d
8585

8686
Apache Airflow is tested with:
8787

88-
| | Main version (dev) | Stable version (2.4.0) |
88+
| | Main version (dev) | Stable version (2.4.1) |
8989
|---------------------|------------------------------|------------------------------|
9090
| Python | 3.7, 3.8, 3.9, 3.10 | 3.7, 3.8, 3.9, 3.10 |
9191
| Platform | AMD64/ARM64(\*) | AMD64/ARM64(\*) |
@@ -157,15 +157,15 @@ them to the appropriate format and workflow that your tool requires.
157157

158158

159159
```bash
160-
pip install 'apache-airflow==2.4.0' \
161-
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.0/constraints-3.7.txt"
160+
pip install 'apache-airflow==2.4.1' \
161+
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.1/constraints-3.7.txt"
162162
```
163163

164164
2. Installing with extras (i.e., postgres, google)
165165

166166
```bash
167-
pip install 'apache-airflow[postgres,google]==2.4.0' \
168-
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.0/constraints-3.7.txt"
167+
pip install 'apache-airflow[postgres,google]==2.4.1' \
168+
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.1/constraints-3.7.txt"
169169
```
170170

171171
For information on installing provider packages, check
@@ -270,7 +270,7 @@ Apache Airflow version life cycle:
270270

271271
| Version | Current Patch/Minor | State | First Release | Limited Support | EOL/Terminated |
272272
|-----------|-----------------------|-----------|-----------------|-------------------|------------------|
273-
| 2 | 2.4.0 | Supported | Dec 17, 2020 | TBD | TBD |
273+
| 2 | 2.4.1 | Supported | Dec 17, 2020 | TBD | TBD |
274274
| 1.10 | 1.10.15 | EOL | Aug 27, 2018 | Dec 17, 2020 | June 17, 2021 |
275275
| 1.9 | 1.9.0 | EOL | Jan 03, 2018 | Aug 27, 2018 | Aug 27, 2018 |
276276
| 1.8 | 1.8.2 | EOL | Mar 19, 2017 | Jan 03, 2018 | Jan 03, 2018 |
@@ -300,7 +300,7 @@ They are based on the official release schedule of Python and Kubernetes, nicely
300300
2. The "oldest" supported version of Python/Kubernetes is the default one until we decide to switch to
301301
later version. "Default" is only meaningful in terms of "smoke tests" in CI PRs, which are run using this
302302
default version and the default reference image available. Currently `apache/airflow:latest`
303-
and `apache/airflow:2.4.0` images are Python 3.7 images. This means that default reference image will
303+
and `apache/airflow:2.4.1` images are Python 3.7 images. This means that default reference image will
304304
become the default at the time when we start preparing for dropping 3.7 support which is few months
305305
before the end of life for Python 3.7.
306306

airflow/utils/db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"2.3.3": "f5fcbda3e651",
7474
"2.3.4": "f5fcbda3e651",
7575
"2.4.0": "ecb43d2a1842",
76+
"2.4.1": "ecb43d2a1842",
7677
}
7778

7879

docs/apache-airflow/installation/supported-versions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Apache Airflow version life cycle:
2929
========= ===================== ========= =============== ================= ================
3030
Version Current Patch/Minor State First Release Limited Support EOL/Terminated
3131
========= ===================== ========= =============== ================= ================
32-
2 2.4.0 Supported Dec 17, 2020 TBD TBD
32+
2 2.4.1 Supported Dec 17, 2020 TBD TBD
3333
1.10 1.10.15 EOL Aug 27, 2018 Dec 17, 2020 June 17, 2021
3434
1.9 1.9.0 EOL Jan 03, 2018 Aug 27, 2018 Aug 27, 2018
3535
1.8 1.8.2 EOL Mar 19, 2017 Jan 03, 2018 Jan 03, 2018

docs/docker-stack/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Every time a new version of Airflow is released, the images are prepared in the
3131
[apache/airflow DockerHub](https://hub.docker.com/r/apache/airflow)
3232
for all the supported Python versions.
3333

34-
You can find the following images there (Assuming Airflow version `2.4.0`):
34+
You can find the following images there (Assuming Airflow version `2.4.1`):
3535

3636
* `apache/airflow:latest` - the latest released Airflow image with default Python version (3.7 currently)
3737
* `apache/airflow:latest-pythonX.Y` - the latest released Airflow image with specific Python version
38-
* `apache/airflow:2.4.0` - the versioned Airflow image with default Python version (3.7 currently)
39-
* `apache/airflow:2.4.0-pythonX.Y` - the versioned Airflow image with specific Python version
38+
* `apache/airflow:2.4.1` - the versioned Airflow image with default Python version (3.7 currently)
39+
* `apache/airflow:2.4.1-pythonX.Y` - the versioned Airflow image with specific Python version
4040

4141
Those are "reference" regular images. They contain the most common set of extras, dependencies and providers that are
4242
often used by the users and they are good to "try-things-out" when you want to just take Airflow for a spin,
@@ -47,8 +47,8 @@ via [Building the image](https://airflow.apache.org/docs/docker-stack/build.html
4747

4848
* `apache/airflow:slim-latest` - the latest released Airflow image with default Python version (3.7 currently)
4949
* `apache/airflow:slim-latest-pythonX.Y` - the latest released Airflow image with specific Python version
50-
* `apache/airflow:slim-2.4.0` - the versioned Airflow image with default Python version (3.7 currently)
51-
* `apache/airflow:slim-2.4.0-pythonX.Y` - the versioned Airflow image with specific Python version
50+
* `apache/airflow:slim-2.4.1` - the versioned Airflow image with default Python version (3.7 currently)
51+
* `apache/airflow:slim-2.4.1-pythonX.Y` - the versioned Airflow image with specific Python version
5252

5353
The Apache Airflow image provided as convenience package is optimized for size, and
5454
it provides just a bare minimal set of the extras and dependencies installed and in most cases

docs/docker-stack/docker-examples/extending/add-apt-packages/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
USER root
2020
RUN apt-get update \
2121
&& apt-get install -y --no-install-recommends \

docs/docker-stack/docker-examples/extending/add-build-essential-extend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
USER root
2020
RUN apt-get update \
2121
&& apt-get install -y --no-install-recommends \

docs/docker-stack/docker-examples/extending/add-providers/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
USER root
2020
RUN apt-get update \
2121
&& apt-get install -y --no-install-recommends \

docs/docker-stack/docker-examples/extending/add-pypi-packages/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
RUN pip install --no-cache-dir lxml
2020
# [END Dockerfile]

docs/docker-stack/docker-examples/extending/add-requirement-packages/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.5.0.dev0
18+
FROM apache/airflow:2.4.1
1919
COPY requirements.txt /
2020
RUN pip install --no-cache-dir -r /requirements.txt
2121
# [END Dockerfile]

docs/docker-stack/docker-examples/extending/custom-providers/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
RUN pip install --no-cache-dir apache-airflow-providers-docker==2.5.1
2020
# [END Dockerfile]

docs/docker-stack/docker-examples/extending/embedding-dags/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919

2020
COPY --chown=airflow:root test_dag.py /opt/airflow/dags
2121

docs/docker-stack/docker-examples/extending/writable-directory/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# This is an example Dockerfile. It is not intended for PRODUCTION use
1717
# [START Dockerfile]
18-
FROM apache/airflow:2.4.0
18+
FROM apache/airflow:2.4.1
1919
RUN umask 0002; \
2020
mkdir -p ~/writeable-directory
2121
# [END Dockerfile]

docs/docker-stack/entrypoint.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ if you specify extra arguments. For example:
132132

133133
.. code-block:: bash
134134
135-
docker run -it apache/airflow:2.4.0-python3.6 bash -c "ls -la"
135+
docker run -it apache/airflow:2.4.1-python3.6 bash -c "ls -la"
136136
total 16
137137
drwxr-xr-x 4 airflow root 4096 Jun 5 18:12 .
138138
drwxr-xr-x 1 root root 4096 Jun 5 18:12 ..
@@ -144,21 +144,21 @@ you pass extra parameters. For example:
144144

145145
.. code-block:: bash
146146
147-
> docker run -it apache/airflow:2.4.0-python3.6 python -c "print('test')"
147+
> docker run -it apache/airflow:2.4.1-python3.6 python -c "print('test')"
148148
test
149149
150150
If first argument equals to "airflow" - the rest of the arguments is treated as an airflow command
151151
to execute. Example:
152152

153153
.. code-block:: bash
154154
155-
docker run -it apache/airflow:2.4.0-python3.6 airflow webserver
155+
docker run -it apache/airflow:2.4.1-python3.6 airflow webserver
156156
157157
If there are any other arguments - they are simply passed to the "airflow" command
158158

159159
.. code-block:: bash
160160
161-
> docker run -it apache/airflow:2.4.0-python3.6 help
161+
> docker run -it apache/airflow:2.4.1-python3.6 help
162162
usage: airflow [-h] GROUP_OR_COMMAND ...
163163
164164
positional arguments:
@@ -363,7 +363,7 @@ database and creating an ``admin/admin`` Admin user with the following command:
363363
--env "_AIRFLOW_DB_UPGRADE=true" \
364364
--env "_AIRFLOW_WWW_USER_CREATE=true" \
365365
--env "_AIRFLOW_WWW_USER_PASSWORD=admin" \
366-
apache/airflow:2.4.0-python3.8 webserver
366+
apache/airflow:2.4.1-python3.8 webserver
367367
368368
369369
.. code-block:: bash
@@ -372,7 +372,7 @@ database and creating an ``admin/admin`` Admin user with the following command:
372372
--env "_AIRFLOW_DB_UPGRADE=true" \
373373
--env "_AIRFLOW_WWW_USER_CREATE=true" \
374374
--env "_AIRFLOW_WWW_USER_PASSWORD_CMD=echo admin" \
375-
apache/airflow:2.4.0-python3.8 webserver
375+
apache/airflow:2.4.1-python3.8 webserver
376376
377377
The commands above perform initialization of the SQLite database, create admin user with admin password
378378
and Admin role. They also forward local port ``8080`` to the webserver port and finally start the webserver.
@@ -412,6 +412,6 @@ Example:
412412
--env "_AIRFLOW_DB_UPGRADE=true" \
413413
--env "_AIRFLOW_WWW_USER_CREATE=true" \
414414
--env "_AIRFLOW_WWW_USER_PASSWORD_CMD=echo admin" \
415-
apache/airflow:2.4.0-python3.8 webserver
415+
apache/airflow:2.4.1-python3.8 webserver
416416
417417
This method is only available starting from Docker image of Airflow 2.1.1 and above.

scripts/ci/pre_commit/pre_commit_supported_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
HEADERS = ("Version", "Current Patch/Minor", "State", "First Release", "Limited Support", "EOL/Terminated")
2828

2929
SUPPORTED_VERSIONS = (
30-
("2", "2.4.0", "Supported", "Dec 17, 2020", "TBD", "TBD"),
30+
("2", "2.4.1", "Supported", "Dec 17, 2020", "TBD", "TBD"),
3131
("1.10", "1.10.15", "EOL", "Aug 27, 2018", "Dec 17, 2020", "June 17, 2021"),
3232
("1.9", "1.9.0", "EOL", "Jan 03, 2018", "Aug 27, 2018", "Aug 27, 2018"),
3333
("1.8", "1.8.2", "EOL", "Mar 19, 2017", "Jan 03, 2018", "Jan 03, 2018"),

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
logger = logging.getLogger(__name__)
5151

52-
version = '2.4.0'
52+
version = '2.4.1'
5353

5454
AIRFLOW_SOURCES_ROOT = Path(__file__).parent.resolve()
5555
PROVIDERS_ROOT = AIRFLOW_SOURCES_ROOT / "airflow" / "providers"

0 commit comments

Comments
 (0)