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

Upload to pypi is failing #139

Open
dkirkby opened this issue Dec 4, 2024 · 1 comment
Open

Upload to pypi is failing #139

dkirkby opened this issue Dec 4, 2024 · 1 comment

Comments

@dkirkby
Copy link
Member

dkirkby commented Dec 4, 2024

The pypi upload command twine upload dist/* is failing with:

HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Can't have direct dependency: desiutil@ https://github.com/desihub/desiutil/archive/refs/tags/3.4.2.tar.gz ; extra == "docs". See https://packaging.python.org/specifications/core-metadata for more information.

The offending lines are in setup.cfg:

[options.extras_require]
docs =
    sphinx-astropy
    desiutil @ https://github.com/desihub/desiutil/archive/refs/tags/3.4.2.tar.gz
    desimodel @ https://github.com/desihub/desimodel/archive/refs/tags/0.19.1.tar.gz

After some iteration with @weaverba137 on slack, we can probably just remove those 2 lines with github URLs.

See here for more on the error.

@weaverba137
Copy link
Member

See also #138.

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