ashb commented on code in PR #30994:
URL: https://github.com/apache/airflow/pull/30994#discussion_r1197635148
##########
airflow/providers/airbyte/__init__.py:
##########
@@ -15,3 +15,24 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+#
+# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
+# OVERWRITTEN WHEN PREPARING DOCUMENTATION FOR THE PACKAGES.
+#
+# IF YOU WANT TO MODIFY IT, YOU SHOULD MODIFY THE TEMPLATE
+# `PROVIDER__INIT__PY_TEMPLATE.py.jinja2` IN the `dev/provider_packages`
DIRECTORY
+#
+from __future__ import annotations
+
+import packaging.version
+
+import airflow
+
+__all__ = ["version"]
+
+version = "3.2.1"
+
+if packaging.version.parse(airflow.version.version) <
packaging.version.parse("2.4.0"):
Review Comment:
These should be `airflow.__version__` to avoid circular dependency. And this
works all the way back to 2.0
https://github.com/apache/airflow/blob/v2-0-stable/airflow/__init__.py#L37
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]