This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 648cea0c239 [v3-1-test] Minor updates to the python client release
guide (#58442) (#58465)
648cea0c239 is described below
commit 648cea0c2391e088b4f59165331cae3635ff0bff
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 19 00:01:00 2025 +0100
[v3-1-test] Minor updates to the python client release guide (#58442)
(#58465)
(cherry picked from commit 76371f15c662990910db3454d8bd4d9917eb87b5)
Co-authored-by: Ephraim Anierobi <[email protected]>
---
dev/README_RELEASE_PYTHON_CLIENT.md | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dev/README_RELEASE_PYTHON_CLIENT.md
b/dev/README_RELEASE_PYTHON_CLIENT.md
index 34507e0bd7d..6822a7236ba 100644
--- a/dev/README_RELEASE_PYTHON_CLIENT.md
+++ b/dev/README_RELEASE_PYTHON_CLIENT.md
@@ -119,7 +119,7 @@ git log 2.8.0..HEAD --pretty=oneline --
airflow-core/src/airflow/api_fastapi/cor
```shell script
cd ${AIRFLOW_REPO_ROOT}
rm dist/*
-breeze release-management prepare-python-client --distribution-format both
--python-client-repo "${CLIENT_REPO_ROOT}"
+breeze release-management prepare-python-client --distribution-format both
--python-client-repo "${CLIENT_REPO_ROOT}" --version-suffix ""
```
- This should generate both sdist and .whl package in `dist` folder of the
Airflow repository. It should
@@ -170,10 +170,12 @@ popd
```shell script
# First clone the repo somewhere if you have not done it yet
-svn checkout https://dist.apache.org/repos/dist/dev/airflow airflow-dev
+[ -d asf-dist ] || svn checkout --depth=immediates
https://dist.apache.org/repos/dist asf-dist
+svn update --set-depth=infinity asf-dist/dev/airflow/clients/python
# Create new folder for the release
-cd airflow-dev/clients/python
+cd asf-dist/dev/airflow/clients/python
+
svn mkdir ${VERSION}${VERSION_SUFFIX}
# Move the artifacts to svn folder & commit
@@ -332,7 +334,7 @@ VERSION=X.Y.Zrc1
git checkout python-client/${VERSION}
export AIRFLOW_REPO_ROOT=$(pwd)
rm -rf dist/*
-breeze release-management prepare-python-client --distribution-format both
+breeze release-management prepare-python-client --distribution-format both
--version-suffix ""
```
The last - build step - by default will use Dockerized build and building of
Python client packages
@@ -340,7 +342,7 @@ will be done in a docker container. However, if you have
`hatch` installed loc
`--use-local-hatch` flag and it will build and use docker image that has
`hatch` installed.
```bash
-breeze release-management prepare-python-client --distribution-format both
--use-local-hatch
+breeze release-management prepare-python-client --distribution-format both
--use-local-hatch --version-suffix ""
```
This is generally faster and requires less resources/network bandwidth.