Fix python client NOTICE and wheel content (#60539)

There were some issues found in the process of Python Client
generation:

* NOTICE file was empty
* The .whl file contained `docs` and `tests` folders needlessly
* Verification steps were not separated out from publishing RC

This PR fixes those problems.
This commit is contained in:
Jarek Potiuk authored and GitHub committed 2026-01-14 21:46:57 +01:00
1 parent 700f519a87
commit ed62102b55
4 files changed
+17 -17

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
Apache Airflow
Copyright 2016-2026 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
-2
View File
@@ -94,8 +94,6 @@ include = [
[tool.hatch.build.targets.wheel]
artifacts = [
"/airflow_client",
"/docs",
"/test",
"v2.yaml",
]
include = [
-1
View File
@@ -436,7 +436,6 @@ Regards,
EOF
```
## Verify the release candidate by PMC members
### SVN check
+12 -14
View File
@@ -25,13 +25,9 @@
- [Release package](#release-package)
- [Prepare PyPI convenience "RC" packages](#prepare-pypi-convenience-rc-packages)
- [Prepare Vote email on the Airflow Client release candidate](#prepare-vote-email-on-the-airflow-client-release-candidate)
- [Verify the release candidate by PMC members](#verify-the-release-candidate-by-pmc-members)
- [SVN check](#svn-check)
- [Reproducible package check](#reproducible-package-check)
- [Signature check](#signature-check)
- [SHA512 checksum check](#sha512-checksum-check)
- [Verify the release candidate by Contributors](#verify-the-release-candidate-by-contributors)
- [Testing with Breeze's start-airflow](#testing-with-breezes-start-airflow)
- [Verification of the release candidate](#verification-of-the-release-candidate)
- [Verify the release candidate by PMC members](#verify-the-release-candidate-by-pmc-members)
- [Verify the release candidate by Contributors](#verify-the-release-candidate-by-contributors)
- [Publish the final Apache Airflow client release](#publish-the-final-apache-airflow-client-release)
- [Summarize the voting for the Apache Airflow client release](#summarize-the-voting-for-the-apache-airflow-client-release)
- [Publish release to SVN](#publish-release-to-svn)
@@ -329,7 +325,9 @@ Cheers,
EOF
```
# Verify the release candidate by PMC members
# Verification of the release candidate
## Verify the release candidate by PMC members
PMC members should verify the releases in order to make sure the release is following the
[Apache Legal Release Policy](http://www.apache.org/legal/release-policy.html).
@@ -345,7 +343,7 @@ The legal checks include:
* verifying if all the checksums are valid for the release
* verifying if all the sources have correct licences
## SVN check
### SVN check
The files should be present in the sub-folder of
[Airflow dist](https://dist.apache.org/repos/dist/dev/airflow/clients/python)
@@ -367,7 +365,7 @@ Or update it if you already checked it out:
svn update .
```
## Reproducible package check
### Reproducible package check
Airflow Python client supports reproducible builds, which means that the packages prepared from the same
sources should produce binary identical packages in reproducible way. You should check if the packages can be
@@ -509,7 +507,7 @@ For example:
! /CODE_OF_CONDUCT.md
```
## Signature check
### Signature check
Make sure you have imported into your GPG the PGP key of the person signing the release. You can find the valid keys in
[KEYS](https://dist.apache.org/repos/dist/release/airflow/KEYS).
@@ -576,7 +574,7 @@ gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 1271 7556 040E EF2E EAF1 B9C2 75FC CD0A 25FA 0E4B
```
## SHA512 checksum check
### SHA512 checksum check
Run this:
@@ -596,7 +594,7 @@ Checking apache_airflow-client-2.0.2rc4-py2.py3-none-any.whl.sha512
```
# Verify the release candidate by Contributors
## Verify the release candidate by Contributors
This can be done (and we encourage to) by any of the Contributors. In fact, it's best if the
actual users of Airflow Client test it in their own staging/test installations. Each release candidate
@@ -607,7 +605,7 @@ release candidate number 1,2,3,....).
Once you install and run Airflow Client, you should perform any verification you see as necessary to check
that the client works as you expected.
## Testing with Breeze's start-airflow
### Testing with Breeze's start-airflow
You can test the client by running the `start-airflow` command from Breeze. This will start Airflow
and allows you to test the client in a real environment.