Skip to content

Deploy to PyPI

Deploy to PyPI #46

Triggered via release December 4, 2023 12:24
@oshaduraoshadura
published f78b2ee
Status Failure
Total duration 1m 4s
Artifacts

pypi-tag-deploy.yml

on: release
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 1 notice
Password-based uploads deprecated
Starting in 2024, PyPI will require all users to enable Two-Factor Authentication. This will consequently require all users to switch to either Trusted Publishers (preferred) or API tokens for package uploads. Read more: https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2fa/
deploy
Using a username + password pair for authentication against https://upload.pypi.org/legacy/
deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Upgrade to Trusted Publishing
Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers