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

pypi release 0.0dev38 vs 0.0dev0 meta data conflict #10

Open
jamienoss opened this issue Dec 4, 2020 · 2 comments
Open

pypi release 0.0dev38 vs 0.0dev0 meta data conflict #10

jamienoss opened this issue Dec 4, 2020 · 2 comments

Comments

@jamienoss
Copy link
Contributor

jamienoss commented Dec 4, 2020

Hey @Johannes-Sahlmann

I believe the following line https://github.com/spacetelescope/pystortion/blob/master/setup.cfg#L45
may be causing the following error that I'm seeing from a Windows CI build - https://github.com/spacetelescope/catkit/pull/163/checks?check_run_id=1493301452#step:5:1045

ERROR: Requested pystortion from https://files.pythonhosted.org/packages/93/9e/4539dc20a2057ae0b5c2c6a03554df59944d8e85982f869a7b825166adc6/pystortion-0.0.dev38.tar.gz#sha256=81b3d11f047ef2d1de1cf6e2f3cd2ac020ae3b54641e5c9c0f3b362d5ccb15ad (from -r D:\a\catkit\hicat-package\condaenv.678inxdy.requirements.txt (line 5)) has different version in metadata: '0.0.dev0'

Any thoughts?

Cheers,
Jamie

@Johannes-Sahlmann
Copy link
Collaborator

Hi @jamienoss , first time I am seeing something like this.

One possible solution could be to make a release of this package where that 0.0.dev0 is set to a proper version number, and then change your dependency to include the version number explicitly.

@Johannes-Sahlmann
Copy link
Collaborator

Looks like this is a rather frequent problem now which is related to more strict checking in new versions of pip:
see e.g. pypa/pip#8745
espnet/espnet#2736

Forcing pip==20.2.4 in my dependencies made the error go away in a small local test that I performed.

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