Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions dev/README_RELEASE_PYTHON_CLIENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -332,15 +334,15 @@ 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
will be done in a docker container. However, if you have `hatch` installed locally you can use
`--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.
Expand Down
Loading