raulcd commented on issue #47932:
URL: https://github.com/apache/arrow/issues/47932#issuecomment-3450142679

   I can't as we uploaded the previous one. PyPI will not allow to re-upload 
the `tar.gz` with a different content, see:
   https://test.pypi.org/help/#file-name-reuse
   I validated on https://test.pypi.org:
   ```python
   twine upload --verbose --repository-url https://test.pypi.org/legacy/ -u 
__token__ /home/raulcd/Downloads/wheels/pyarrow-22.0.0.tar.gz
   Uploading distributions to https://test.pypi.org/legacy/
   INFO     /home/raulcd/Downloads/wheels/pyarrow-22.0.0.tar.gz (1.1 MB)        
                                                                                
                                 
   INFO     username set by command options                                     
                                                                                
                                 
   INFO     Querying keyring for password                                       
                                                                                
                                 
   INFO     Trying to use trusted publishing (no token was explicitly provided) 
                                                                                
                                 
   WARNING  This environment is not supported for trusted publishing            
                                                                                
                                 
   Enter your API token: 
   INFO     username: __token__                                                 
                                                                                
                                 
   INFO     password: <hidden>                                                  
                                                                                
                                 
   Uploading pyarrow-22.0.0.tar.gz
   100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB • 00:00 • 11.1 MB/s
   INFO     Response from https://test.pypi.org/legacy/:                        
                                                                                
                                 
            400 Bad Request                                                     
                                                                                
                                 
   INFO     <html>                                                              
                                                                                
                                 
             <head>                                                             
                                                                                
                                 
              <title>400 File already exists ('pyarrow-22.0.0.tar.gz', with 
blake2_256 hash 
'a567f881187d2957e7b0dc87fe272e31074516f33218d9d89777de7df2edb217'). See        
                     
            https://test.pypi.org/help/#file-name-reuse for more 
information.</title>                                                            
                                                
             </head>                                                            
                                                                                
                                 
             <body>                                                             
                                                                                
                                 
              <h1>400 File already exists ('pyarrow-22.0.0.tar.gz', with 
blake2_256 hash 
'a567f881187d2957e7b0dc87fe272e31074516f33218d9d89777de7df2edb217'). See        
                        
            https://test.pypi.org/help/#file-name-reuse for more 
information.</h1>                                                               
                                                
              The server could not comply with the request since it is either 
malformed or otherwise incorrect.<br/><br/>                                     
                                   
            File already exists (&#x27;pyarrow-22.0.0.tar.gz&#x27;, with 
blake2_256 hash 
&#x27;a567f881187d2957e7b0dc87fe272e31074516f33218d9d89777de7df2edb217&#x27;). 
See                      
            https://test.pypi.org/help/#file-name-reuse for more information.   
                                                                                
                                 
                                                                                
                                                                                
                                 
                                                                                
                                                                                
                                 
             </body>                                                            
                                                                                
                                 
            </html>                                                             
                                                                                
                                 
   ERROR    HTTPError: 400 Bad Request from https://test.pypi.org/legacy/       
                                                                                
                                 
            Bad Request     
   ```
   If we want to fix the `LICENSE.txt`, `NOTICE.txt` for the pyarrow source 
distribution, we are going to require a patch release.
   
   Just for completeness, I've validated that wheels (at least the one I 
checked) do contain the license files:
   ```bash
   $ unzip pyarrow-22.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl
   ...
      creating: pyarrow-22.0.0.dist-info/licenses/
     inflating: pyarrow-22.0.0.dist-info/licenses/LICENSE.txt  
     inflating: pyarrow-22.0.0.dist-info/licenses/NOTICE.txt 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to