You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/22 22:29:43 UTC

[GitHub] [airflow] jedcunningham commented on a diff in pull request #24524: Add note about image regeneration in June 2022

jedcunningham commented on code in PR #24524:
URL: https://github.com/apache/airflow/pull/24524#discussion_r904323602


##########
docs/docker-stack/changelog.rst:
##########
@@ -34,14 +34,29 @@ the Airflow team.
        any Airflow version from the ``Airflow 2`` line. There is no guarantee that it works, but if it does,
        then you can use latest features from that image to build the previous Airflow versions.
 
-:warning: Some of the images below (as noted in the Changelog) have been regenerated using newer
-       ``Dockerfiles``. This happens when there is a breaking change that invalidates already released images
-       and the images need regeneration. This has happened already when MySQL changed the keys they
-       used to release their packages: `#20911 <https://github.com/apache/airflow/issues/20911>`_
-       and 2.1 images were all regenerated using the 2.2 ``Dockerfile``. This is a rare event and
-       we do it only when we have no choice because of external factors. In such case, the newer version of
-       the image **might** contain breaking changes when it comes to running or building the image (but
-       we try to avoid those).
+Changes after publishing the images
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Important note!
+
+Some of the images below might be sometimes regenerated using newer ``Dockerfiles`` or constraints.
+This happens when there is an issue found or breaking change released by some of our dependencies
+that invalidates already released image and the images need refreshing. While we cannot assure 100% backwards
+compatibility when it happens, we at least document it here so that users affect might find it out and
+be aware of the changes.
+
++--------------+---------------------+-----------------------------------------+------------------------+----------------------------------------------+
+| Date         | Affected images     | Potentially breaking change             | Reason                 | Link to Pull Request                         |
++==============+=====================+=========================================+========================+==============================================+
+| 17 June 2022 | 2.2.5               | * The ``Authlib`` library downgraded    | Flask App Builder      | https://github.com/apache/airflow/pull/24516 |
+|              | 2.3.0, 2.3.1, 2.3.2 |   from 1.0.1 to 0.15.5 version          | Not compatible with    |                                              |

Review Comment:
   ```suggestion
   |              | 2.3.0-2.3.2         |   from 1.0.1 to 0.15.5 version          | not compatible with    |                                              |
   ```
   
   Another nit



##########
docs/docker-stack/changelog.rst:
##########
@@ -34,14 +34,29 @@ the Airflow team.
        any Airflow version from the ``Airflow 2`` line. There is no guarantee that it works, but if it does,
        then you can use latest features from that image to build the previous Airflow versions.
 
-:warning: Some of the images below (as noted in the Changelog) have been regenerated using newer
-       ``Dockerfiles``. This happens when there is a breaking change that invalidates already released images
-       and the images need regeneration. This has happened already when MySQL changed the keys they
-       used to release their packages: `#20911 <https://github.com/apache/airflow/issues/20911>`_
-       and 2.1 images were all regenerated using the 2.2 ``Dockerfile``. This is a rare event and
-       we do it only when we have no choice because of external factors. In such case, the newer version of
-       the image **might** contain breaking changes when it comes to running or building the image (but
-       we try to avoid those).
+Changes after publishing the images
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Important note!
+
+Some of the images below might be sometimes regenerated using newer ``Dockerfiles`` or constraints.
+This happens when there is an issue found or breaking change released by some of our dependencies
+that invalidates already released image and the images need refreshing. While we cannot assure 100% backwards
+compatibility when it happens, we at least document it here so that users affect might find it out and
+be aware of the changes.
+
++--------------+---------------------+-----------------------------------------+------------------------+----------------------------------------------+
+| Date         | Affected images     | Potentially breaking change             | Reason                 | Link to Pull Request                         |
++==============+=====================+=========================================+========================+==============================================+
+| 17 June 2022 | 2.2.5               | * The ``Authlib`` library downgraded    | Flask App Builder      | https://github.com/apache/airflow/pull/24516 |
+|              | 2.3.0, 2.3.1, 2.3.2 |   from 1.0.1 to 0.15.5 version          | Not compatible with    |                                              |
+|              |                     |                                         | Authlib >= 1.0.0       |                                              |
++--------------+---------------------+-----------------------------------------+------------------------+----------------------------------------------+
+| 18 Jan 2022  | All 2.2.*, 2.1.*    | * The AIRFLOW_GID 500 was removed       | MySQL changed keys     | https://github.com/apache/airflow/pull/20912 |

Review Comment:
   ```suggestion
   | 18 Jan 2022  | All 2.2.\*, 2.1.\*  | * The AIRFLOW_GID 500 was removed       | MySQL changed keys     | https://github.com/apache/airflow/pull/20912 |
   ```
   
   This should avoid the italics?



##########
docs/docker-stack/changelog.rst:
##########
@@ -34,14 +34,29 @@ the Airflow team.
        any Airflow version from the ``Airflow 2`` line. There is no guarantee that it works, but if it does,
        then you can use latest features from that image to build the previous Airflow versions.
 
-:warning: Some of the images below (as noted in the Changelog) have been regenerated using newer
-       ``Dockerfiles``. This happens when there is a breaking change that invalidates already released images
-       and the images need regeneration. This has happened already when MySQL changed the keys they
-       used to release their packages: `#20911 <https://github.com/apache/airflow/issues/20911>`_
-       and 2.1 images were all regenerated using the 2.2 ``Dockerfile``. This is a rare event and
-       we do it only when we have no choice because of external factors. In such case, the newer version of
-       the image **might** contain breaking changes when it comes to running or building the image (but
-       we try to avoid those).
+Changes after publishing the images
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Important note!
+
+Some of the images below might be sometimes regenerated using newer ``Dockerfiles`` or constraints.
+This happens when there is an issue found or breaking change released by some of our dependencies
+that invalidates already released image and the images need refreshing. While we cannot assure 100% backwards
+compatibility when it happens, we at least document it here so that users affect might find it out and
+be aware of the changes.

Review Comment:
   ```suggestion
   Occasionally our images need to be regenerated using newer ``Dockerfiles`` or constraints.
   This happens when an issue is found or a breaking change is released by our dependencies
   that invalidates the already released image, and regenerating the image makes it usable again.
   While we cannot assure 100% backwards compatibility when it happens, we at least document it
   here so that users affected can find the reason for the changes.
   ```
   
   nit: I reworded this paragraph, reads better to me.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org