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: use v1 of PyPI publish action #33

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

angela-tran
Copy link
Member

@angela-tran angela-tran commented Mar 13, 2024

Follow-up to #31

Trying to resolve an error we're seeing with publishing: https://github.com/cal-itp/littlepay/actions/runs/8269089795/job/22623537304#step:7:19

Warning:  It looks like you are trying to use an API token to authenticate in the package index and your token value does not start with "pypi-" as it typically should. This may cause an authentication error. Please verify that you have copied your token properly if such an error occurs.

and

Uploading distributions to https://test.pypi.org/legacy/
INFO     dist/calitp_littlepay-2024.3.1rc2-py3-none-any.whl (25.3 KB)           
INFO     dist/calitp-littlepay-2024.3.1rc2.tar.gz (36.9 KB)                     
INFO     username set by command options                                        
INFO     password set by command options                                        
INFO     username: __token__                                                    
INFO     password: <empty>                                                      
Uploading calitp_littlepay-2024.3.1rc2-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/48.0 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB • 00:00 • 51.1 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB • 00:00 • 51.1 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB • 00:00 • 51.1 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB • 00:00 • 51.1 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB • 00:00 • 51.1 MB/s
25hINFO     Response from https://test.pypi.org/legacy/:                           
         403 Invalid or non-existent authentication information. See            
         https://test.pypi.org/help/#invalid-auth for more information.         
INFO     <html>                                                                 
          <head>                                                                
           <title>403 Invalid or non-existent authentication information. See   
         https://test.pypi.org/help/#invalid-auth for more information.</title> 
          </head>                                                               
          <body>                                                                
           <h1>403 Invalid or non-existent authentication information. See      
         https://test.pypi.org/help/#invalid-auth for more information.</h1>    
           Access was denied to this resource.<br/><br/>                        
         Invalid or non-existent authentication information. See                
         https://test.pypi.org/help/#invalid-auth for more information.         
                                                                                
                                                                                
          </body>                                                               
         </html>                                                                
ERROR    HTTPError: 403 Forbidden from https://test.pypi.org/legacy/            
         Invalid or non-existent authentication information. See                
         https://test.pypi.org/help/#invalid-auth for more information.   

@angela-tran angela-tran self-assigned this Mar 13, 2024
@angela-tran angela-tran requested a review from a team as a code owner March 13, 2024 17:51
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

@angela-tran angela-tran merged commit 7862b6d into main Mar 13, 2024
3 checks passed
@angela-tran angela-tran deleted the fix/pypi-publish-action branch March 13, 2024 17:54
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

Successfully merging this pull request may close these issues.

2 participants