-
Notifications
You must be signed in to change notification settings - Fork 26
Version mismatch causes pip warning and no install #114
Comments
Looks like that's the same issue as scipy/scipy#13196 and/or scipy/scipy#13609. Using pip's legacy resolver is a workaround. The fix was merged 2 days ago, so I hope the next wheel is fine. If not, we may be building with a numpy version that's still problematic. |
this looks more like scipy/scipy#13540: the upload for py38 64bit manylinux fails because of a failing test. Using the legacy resolver (or |
Even though that's correct for the initial issue, it looks like upgrading to Downloading https://pypi.anaconda.org/scipy-wheels-nightly/simple/scipy/1.7.0.dev0%2B83205b1/scipy-1.7.0.dev0%2B20210307035424_83205b1-cp39-cp39-manylinux1_x86_64.whl (28.1 MB)
|████████████████████████████████| 28.1 MB 80 kB/s
WARNING: Discarding https://pypi.anaconda.org/scipy-wheels-nightly/simple/scipy/1.7.0.dev0%2B83205b1/scipy-1.7.0.dev0%2B20210307035424_83205b1-cp39-cp39-manylinux1_x86_64.whl (from https://pypi.anaconda.org/scipy-wheels-nightly/simple/scipy/). Requested scipy from https://pypi.anaconda.org/scipy-wheels-nightly/simple/scipy/1.7.0.dev0%2B83205b1/scipy-1.7.0.dev0%2B20210307035424_83205b1-cp39-cp39-manylinux1_x86_64.whl has inconsistent version: filename has '1.7.0.dev0+20210307035424.83205b1', but metadata has '1.7.0.dev0+83205b1' which means that even versions with the fix (in this case the one from 2021-03-07) are not installable with newer versions of |
Looks like we should adopt the same nightly wheel naming scheme as numpy. Compare from https://anaconda.org/scipy-wheels-nightly/numpy/files:
to those from https://anaconda.org/scipy-wheels-nightly/scipy/files:
The item right after We should just make this change with relying on |
Two things to watch out for using versioneer:
It is a bit of work to make everything go together. |
Sorry, I meant without relying on versioneer. I think it's a terrible and way over-engineered piece of code. |
it does come with its own set of issues but |
You could do a pretty good job just using |
Definitely not touching that, that's even worse:) it's also responsible for still not having a sane
Exactly. The task is to append a simple incrementing integer to a version number. Should be possible to do with 20 lines of code, not with 2000 lines of code that then generate another 500 lines of code and impose extra requirements on git being available. |
If you don't care about the starting point of the count...
There |
@rgommers if you're talking about what I think you're talking about, there is a hack around that:
|
Together with no longer changing the file name of the generated wheels for dev versions in scipy-wheels, this will resolve MacPython/scipy-wheels#114
Together with no longer changing the file name of the generated wheels for dev versions in scipy-wheels, this will resolve MacPython/scipy-wheels#114
Together with no longer changing the file name of the generated wheels for dev versions in scipy-wheels, this will resolve MacPython/scipy-wheels#114
Just merged the fix - wheels should appear within a few hours. |
New wheels are up, and this works. However, the newest wheel is not the first one picked. I have asked for admin access to the bucket, but don't have it yet. @mattip or @charris, if you have admin access to https://anaconda.org/scipy-wheels-nightly/scipy/files, could you delete all nightlies for 1.7.0 and 1.6.0 from before today? |
@rgommers Thanks! I was just about to comment about this. Both my CI and local environments don't pick up the new wheels. |
@rgommers I granted you owner access to the relevant anaconda.org groups. |
Thanks @mattip. Fixed now, only recent wheels are left. |
Confirmed. My CI now grabs the new wheels:
|
In my CI build I have:
which produces the following:
So the other deps are installed but scipy seems to have a version mismatch which causes pip to never install the unstable version. I've also tried
--index-url
instead of--extra-index-url
but the same result. Any ideas?See corteva/rioxarray#257 and pytroll/satpy#1578
CC @snowman2
The text was updated successfully, but these errors were encountered: