Autodeploy to PyPI
See original GitHub issueAs suggested in https://github.com/sixohsix/twitter/issues/356, I’ll set up automated deploys:
- Deploy to TestPyPI on merge to master, to make sure the release mechanism is working smoothly and avoid surprises on release day
- Deploy to production PyPI for GitHub releases/tags
I’ve set up a test twitter
project on TestPyPI.
@RouxRC If you create an account on https://test.pypi.org, I’ll give you access too.
Then, to use https://github.com/pypa/gh-action-pypi-publish, we then need to create API tokens for TestPyPI and PyPI and store them as secrets under https://github.com/sixohsix/twitter/settings.
TODO:
- Add an API token called (say)
twitter-ci
at https://test.pypi.org/manage/account/token/ - Paste the token as
TEST_PYPI_PASSWORD
at https://github.com/sixohsix/twitter/settings/secrets/actions/new - Repeat for production PyPI https://pypi.org/manage/account/token/, save as
PYPI_PASSWORD
More info on PyPI API tokens: https://pypi.org/help/#apitoken
I don’t have access to https://github.com/sixohsix/twitter/settings. @RouxRC Please could you either give me access to that, or please could you follow the instructions above to add the tokens?
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (15 by maintainers)
Top Results From Across the Web
git-auto-deploy - PyPI
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or webhooks. Navigation. Project description; Release history; Download files ...
Read more >Autodeploy to PyPI · Issue #355 · ultrajson/ultrajson · GitHub
This is to test the release machinery itself and make sure it's working smoothly when it's time for a full release. · It...
Read more >travis auto deploy to pypi · f524387728 - deb-python-pulp ...
- pip install . # command to run tests.
Read more >autodeploy 0.2.5.2 on PyPI - Libraries.io
Library for easy deploy - 0.2.5.2 - a Python package on PyPI - Libraries.io. ... License: BSD-3-Clause; Install: pip install autodeploy==0.2.5.2 ...
Read more >PyPI deployment - Travis CI Docs
Travis CI can automatically release your Python package to PyPI after a successful build. For a minimal configuration, generate PyPI API token and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Lots of thanks @sixohsix & @hugovk!
Thank you! I’ve made you both owners of the org as well, and added the PyPI API tokens to https://github.com/python-twitter-tools/twitter/settings/secrets/actions
I’ll get the rest of the autodeploy set up later.