pytorch / torchx

TorchX is a universal job launcher for PyTorch applications. TorchX is designed to have fast iteration time for training/research and support for E2E production ML pipelines when you're ready.
https://pytorch.org/torchx
Other
306 stars 99 forks source link

Fix Nightly push permissions #875

Closed ryxli closed 2 months ago

ryxli commented 2 months ago

❓ 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 commented 2 months ago

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

d4l3k commented 2 months ago

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

ryxli commented 2 months ago

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 commented 2 months ago

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

d4l3k commented 2 months ago

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

d4l3k commented 2 months ago

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

@ryxli thanks for flagging this!