Skip to content
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

GitHub Actions in need of updates #275

Open
4 of 5 tasks
robfitzgerald opened this issue Jan 3, 2025 · 1 comment
Open
4 of 5 tasks

GitHub Actions in need of updates #275

robfitzgerald opened this issue Jan 3, 2025 · 1 comment

Comments

@robfitzgerald
Copy link
Collaborator

robfitzgerald commented Jan 3, 2025

while attempting a python release, there were multiple failures with our build-release action:

  • ci build tool moving to python >= 3.11 (warning)
  • actions/{upload|download}-artifact@v2 is deprecated (error)
  • with change to actions/{upload|download}-artifact@v2, artifact name must be unique
  • actions-rs/toolchain@v1 is an archived github project, migrate to another option (such as this)
  • failure uploading to pypi (error below) - fails possibly due to the long name of the artifact

failure uploading to pypi

see logs at link

Uploading nrel.routee.compass-0.9.0-cp310-cp310-win_amd64.whl
WARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         The digest supplied does not match a digest calculated from the        
         uploaded file.    
@robfitzgerald robfitzgerald changed the title GitHub Actions GitHub Actions in need of updates Jan 3, 2025
@nreinicke
Copy link
Collaborator

We also got a deprecation warning from PyPI for our latest release.

In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated.

Specifically, your recent upload of 'nrel.routee.compass-0.9.0.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'nrel_routee_compass'.

We might be able to fix this by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants