devpi fails when package if found but not correct version

Hi, I meet a bad issue yesterday: - We have a devpi server running with some local packages uploaded, but with normal fall back to the pypi index. - Referring packages not found on the devpi server is correctly fetched from pypi. - As part of building a local wheel using 'pip wheel' and pushing it to devpi, I also pushed all the depending wheels generated to devpi. - Now, when I try 'pip install maven' I properly get the version stored on my devpi server (e.g. version 3.4) - HOWEVER, if I do 'pip install maven==3.5', devpi reports no such version and fails as it only knows of version 3.4 - it does NOT fall back to search the pypi index... Is this by design? Shouldn't devpi also fall back to searching the pypi index in this case (package is found, but no matching version)? Comments anyone?

Hi! You most likely need to set the pypi_whitelist option: http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=pypi_whitel... Regards, Florian Schulze On 9 Oct 2015, at 10:44, Jens Andersen wrote:
Hi,
I meet a bad issue yesterday:
- We have a devpi server running with some local packages uploaded, but with normal fall back to the pypi index. - Referring packages not found on the devpi server is correctly fetched from pypi. - As part of building a local wheel using 'pip wheel' and pushing it to devpi, I also pushed all the depending wheels generated to devpi. - Now, when I try 'pip install maven' I properly get the version stored on my devpi server (e.g. version 3.4) - HOWEVER, if I do 'pip install maven==3.5', devpi reports no such version and fails as it only knows of version 3.4 - it does NOT fall back to search the pypi index...
Is this by design? Shouldn't devpi also fall back to searching the pypi index in this case (package is found, but no matching version)?
Comments anyone?
-- You received this message because you are subscribed to the Google Groups "devpi-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to devpi-dev+...@googlegroups.com. To post to this group, send email to devp...@googlegroups.com. Visit this group at http://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.

Thanks Florin! Yes, setting whitelist=* on my index seems to tell devpi to update the local index for the package with all known versions - which was what I intuitively expected to be the default...

Thanks Flori*a*n :-) fredag 9. oktober 2015 13.02.36 UTC+2 skrev Jens Andersen følgende:
Thanks Florin!
Yes, setting whitelist=* on my index seems to tell devpi to update the local index for the package with all known versions - which was what I intuitively expected to be the default...
participants (2)
-
Florian Schulze
-
Jens Andersen