-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH Actions: Deploy sdists to PyPI #32062
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Matthias Koeppe |
Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:8
Let's get this in please |
Reviewer: Dima Pasechnik |
comment:9
OK, |
comment:10
Thanks! |
Changed branch from u/mkoeppe/gh_actions__deploy_sdists_to_pypi to |
comment:12
Update: I have added the secret https://pypi.org/project/sage-setup/9.5rc0/ https://pypi.org/project/sage-conf/9.5rc0/ https://pypi.org/project/sage-sws2rst/9.5rc0/ |
Changed commit from |
We extend the
sdist.yml
workflow from #32403 so that it builds sdists for PyPI usingmake pypi-sdists
(from #29039).This is run on release tags.
When the secret
SAGEMATH_PYPI_API_TOKEN
exists and the sdists were successfully created, it then proceeds to publish the sdists to PyPI using https://github.com/pypa/gh-action-pypi-publishAt the moment, the secret
SAGEMATH_PYPI_API_TOKEN
is only available in the repository https://github.com/mkoeppe/sage; in response to a release tag pushed to it, the workflow has successfully built the 9.5.beta6 release sdists (+ this branch): https://github.com/mkoeppe/sage/runs/4200645206?check_suite_focus=true and deployed to PyPI (see, for example https://pypi.org/project/sagemath-standard/9.5b6/)Later we can move the deployment to https://github.com/sagemath/sage, simply by providing a secret
SAGEMATH_PYPI_API_TOKEN
to it. (We may want to add a safety check to the workflow that avoids pushing a release that hasn't had a release candidate.)Depends on #29039
Depends on #32403
CC: @dimpase @jhpalmieri @kiwifb @tobiasdiez
Component: distribution
Author: Matthias Koeppe
Branch:
cd51972
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32062
The text was updated successfully, but these errors were encountered: