This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 83a3cc5e19 Consolidate the definition of python packages versions in
release managemenet commands (#36743)
83a3cc5e19 is described below
commit 83a3cc5e19b543f0e7c95d693f5315457fc0a910
Author: Hussein Awala <[email protected]>
AuthorDate: Fri Jan 12 03:33:14 2024 +0100
Consolidate the definition of python packages versions in release
managemenet commands (#36743)
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 5bdfbf99a0..202ae1f682 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -210,12 +210,13 @@ GITPYTHON_VERSION = "3.1.40"
RICH_VERSION = "13.7.0"
NODE_VERSION = "21.2.0"
PRE_COMMIT_VERSION = "3.5.0"
+HATCH_VERSION = "1.9.1"
PYYAML_VERSION = "6.0.1"
AIRFLOW_BUILD_DOCKERFILE = f"""
FROM
python:{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}-slim-{ALLOWED_DEBIAN_VERSIONS[0]}
RUN apt-get update && apt-get install -y --no-install-recommends git
-RUN pip install pip=={AIRFLOW_PIP_VERSION} hatch==1.9.1
pyyaml=={PYYAML_VERSION}\
+RUN pip install pip=={AIRFLOW_PIP_VERSION} hatch=={HATCH_VERSION}
pyyaml=={PYYAML_VERSION}\
gitpython=={GITPYTHON_VERSION} rich=={RICH_VERSION}
pre-commit=={PRE_COMMIT_VERSION}
COPY . /opt/airflow
"""