biopragmatics/bioversions

Deployments have been failing for a long time

Closed this issue · 2 comments

The Update Database action has been failing for a couple months:

image

release: commands[1]> twine upload --non-interactive --skip-existing 'dist/*'
Uploading distributions to https://upload.pypi.org/legacy/
Uploading bioversions-0.5.321-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/67.0 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 kB • 00:00 • 172.1 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 kB • 00:00 • 172.1 MB/s
25hWARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         Invalid or non-existent authentication information. See                
         https://pypi.org/help/#invalid-auth for more information.              
release: exit 1 (0.52 seconds) /home/runner/work/bioversions/bioversions> twine upload --non-interactive --skip-existing 'dist/*' pid=2977
  release: FAIL code 1 (8.14=setup[6.42]+cmd[1.20,0.52] seconds)
  evaluation failed :( (8.34 seconds)

- name: Release to PyPI
run: |
tox -e release
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

Good time to also update the action dependencies:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v2

CC @cthoyt I think this is necessary for any updates to this repo to make their way onto https://biopragmatics.github.io/bioversions/

Thanks for the reminder @dhimmel. I added the appropriate PyPI token to make this continue to work. Still need to update some of the other things, but that might have to wait until things break 🙃