Skip to content

add release via pypi #21

add release via pypi

add release via pypi #21

Triggered via pull request January 12, 2024 18:14
Status Failure
Total duration 1m 18s
Artifacts

release.yml

on: pull_request
build-and-deploy
1m 8s
build-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

1 error, 3 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/
build-and-deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. 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
build-and-deploy: # >> PyPA publish to PyPI GHA: MISSING DISTS <<#L1
It looks like there are no Python distribution packages to publish in the directory 'dist/'. Please verify that they are in place should you face this problem.
build-and-deploy
Using a username + password pair for authentication against https://upload.pypi.org/legacy/