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

Unable to release to PyPI due to direct dependency #16

Open
JeffersonBledsoe opened this issue Nov 27, 2023 · 1 comment
Open

Unable to release to PyPI due to direct dependency #16

JeffersonBledsoe opened this issue Nov 27, 2023 · 1 comment
Assignees

Comments

@JeffersonBledsoe
Copy link
Member

  • nswdesignsystem.plone6 version: 0.4.0

Description

#15 fixed an issue with the tests by adding pretagov/ftw.tika and https://github.com/pretagov/cusy.restapi.info as url dependencies. This is required due to using features from the unreleased branches in these repos. It turns out that you can't upload packages with direct dependencies to PyPI. See the following error:

Uploading nswdesignsystem.plone6-0.4.0-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB • 00:00 • 67.0 MB/s
WARNING Error during upload. Retry with the --verbose option for more        
            details.                                                             
Response status code: 400
Reason: Invalid value for requires_dist. Error: Can't have direct dependency: 'ftw.tika @ git+https://github.com/pretagov/ftw.tika@python3#egg=ftw.tika'
There were errors or warnings.
ERROR Package upload has failed.                                             
          NoneType: None         
@JeffersonBledsoe
Copy link
Member Author

@djay Aside from releasing the mentioned packages (which we should do anyway), any ideas how to get around this?

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