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

Fix Nightly push permissions #875

Closed
ryxli opened this issue Apr 9, 2024 · 6 comments
Closed

Fix Nightly push permissions #875

ryxli opened this issue Apr 9, 2024 · 6 comments

Comments

@ryxli
Copy link
Contributor

ryxli commented Apr 9, 2024

❓ Questions and Help

Please note that this issue tracker is not a help form and this issue will be closed.

Before submitting, please ensure you have gone through our
documentation.

Question

Is it possible to fix the nightly push permissions? Many pr have been merged into main, but last nightly release was from 2024.2.12 (https://pypi.org/project/torchx-nightly/)

Currently nightly push is failing due to:

ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         The user 'd4l3k' isn't allowed to upload to project 'torchx-nightly'.  
         See https://pypi.org/help/#project-name for more information.          

(https://github.com/pytorch/torchx/actions/runs/8614806013/job/23608993087#step:6:473)

@d4l3k
Copy link
Member

d4l3k commented Apr 9, 2024

Taking a look -- likely caused by the token expiring, thanks for flagging!

@d4l3k
Copy link
Member

d4l3k commented Apr 9, 2024

I've updated the token -- rerunning now https://github.com/pytorch/torchx/actions/runs/8614806013

@ryxli
Copy link
Contributor Author

ryxli commented Apr 9, 2024

Now failing with:

25hWARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         Invalid API Token: project-scoped token is not valid for project:      
         'torchx-nightly', project-scoped token is not valid for project:       
         'torchx-nightly'                                                       
Error: Process completed with exit code 1.

@d4l3k
Copy link
Member

d4l3k commented Apr 9, 2024

Oh the permission issue is on torchx-nightly not torchx :/ Chatting with folks to get that fixed

@d4l3k
Copy link
Member

d4l3k commented Apr 10, 2024

Lets try this again :) https://github.com/pytorch/torchx/actions/runs/8614806013

@d4l3k
Copy link
Member

d4l3k commented Apr 10, 2024

New nightly just went live -- https://pypi.org/project/torchx-nightly/2024.4.10/

@ryxli thanks for flagging this!

@d4l3k d4l3k closed this as completed Apr 10, 2024
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