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

pointing to Github version of triangle in setup.py prevents publishing to pypi #23

Open
Duke-of-Lizard opened this issue Sep 2, 2024 · 1 comment
Assignees

Comments

@Duke-of-Lizard
Copy link
Contributor

@eddjharrison, I see you added this to setup.py five months ago: https://github.com/emerald-geomodelling/EmeraldTriangles/blame/c0fd07d6dcdcb68db9f960f7f1d5f2d3e038bb39/setup.py#L45

When I try publishing the newest version of emetraltriangles to pypi, I get this error:

Uploading emeraldtriangles-0.1.3.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.1/28.1 kB • 00:00 • 70.4 MB/s
INFO     Response from https://upload.pypi.org/legacy/:                                                                                                                                                                                                                                                                    
         400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.                                                                                                                                       
INFO     <html>                                                                                                                                                                                                                                                                                                            
          <head>                                                                                                                                                                                                                                                                                                           
           <title>400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.</title>                                                                                                                      
          </head>                                                                                                                                                                                                                                                                                                          
          <body>                                                                                                                                                                                                                                                                                                           
           <h1>400 Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.</h1>                                                                                                                            
           The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>                                                                                                                                                                                                     
         Can&#x27;t have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.                                                                                                                                      
                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                           
          </body>                                                                                                                                                                                                                                                                                                          
         </html>                                                                                                                                                                                                                                                                                                           
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/                                                                                                                                                                                                                                                   
         Can't have direct dependency: triangle@ git+https://github.com/drufat/triangle.git. See https://packaging.python.org/specifications/core-metadata for more information.      
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