Skip to content

Commit

Permalink
Remove pypitest from the release process (apache#36466)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Dec 28, 2023
1 parent 9b5d6bf commit c16b421
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions dev/README_RELEASE_PROVIDER_PACKAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,31 +401,13 @@ increased until the tag is not found.
twine check ${AIRFLOW_REPO_ROOT}/dist/*
```

* Upload the package to PyPi's test environment:

```shell script
twine upload -r pypitest ${AIRFLOW_REPO_ROOT}/dist/*
```

If you see
> WARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 403 Forbidden from https://test.pypi.org/legacy/
The user [user_name] isn't allowed to upload to project [provider_name]

It means that you don't have permission to upload providers.
Please ask one of the Admins to grant you permissions on the packages you wish to release.


* Verify that the test packages look good by downloading it and installing them into a virtual environment.
Twine prints the package links as output - separately for each package.

* Upload the package to PyPi's production environment:
* Upload the package to PyPi:

```shell script
twine upload -r pypi ${AIRFLOW_REPO_ROOT}/dist/*
```

* Again, confirm that the packages are available under the links printed.
* Confirm that the packages are available under the links printed and look good.


## Add tags in git
Expand Down Expand Up @@ -1114,22 +1096,15 @@ This is expected, the RC tag is most likely behind the main branch.
twine check ${AIRFLOW_REPO_ROOT}/dist/*.whl ${AIRFLOW_REPO_ROOT}/dist/*.tar.gz
```

* Upload the package to PyPi's test environment:

```shell script
twine upload -r pypitest ${AIRFLOW_REPO_ROOT}/dist/*.whl ${AIRFLOW_REPO_ROOT}/dist/*.tar.gz
```

* Verify that the test packages look good by downloading it and installing them into a virtual environment.
Twine prints the package links as output - separately for each package.

* Upload the package to PyPi's production environment:
* Upload the package to PyPi:

```shell script
twine upload -r pypi ${AIRFLOW_REPO_ROOT}/dist/*.whl ${AIRFLOW_REPO_ROOT}/dist/*.tar.gz
```

Copy links to updated packages, sort it aphabeticly and save it on the side. You will need it for the announcement message.
* Verify that the packages are available under the links printed.

Copy links to updated packages, sort it alphabetically and save it on the side. You will need it for the announcement message.

* Again, confirm that the packages are available under the links printed.

Expand Down

0 comments on commit c16b421

Please sign in to comment.