Can not find latest version of overridden package
Guys, I uploaded a version of a package(wheel) a few weeks ago. Now that package has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload that package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package. *Description* *User indices:* root/pypi user/index1 user/index2 *Uploaded Package:* Flask==0.10.1 *With Index: *user/index1 *Available New Version Of Package: *Flask==0.11.1 *Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1 *Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Devpi Server: *4.0.0 Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to. Thank you in advance. Subir
Hi! You are probably looking for this: http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m... Regards, Florian Schulze On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that package has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload that package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
Florian,
Thank you so much for your awesome response. Got it working by
setting: devpi index mirror_whitelist=*
Subir
On Thu, Jun 9, 2016 at 11:53 AM, Florian Schulze
Hi!
You are probably looking for this:
http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m...
Regards, Florian Schulze
On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that package has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload that package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
On Thu, Jun 09, 2016 at 12:26 -0400, Subir Jolly wrote:
Florian,
Thank you so much for your awesome response. Got it working by setting: devpi index mirror_whitelist=*
which is a bit on the dangerous side (see the docs) but what's life without some danger :) holger
Subir
On Thu, Jun 9, 2016 at 11:53 AM, Florian Schulze
wrote: Hi!
You are probably looking for this:
http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m...
Regards, Florian Schulze
On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that package has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload that package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
Correct. But we kinda need this instead of specifying packages. Is there a
flag which can be set for mirror white list which adds the uploaded package
to white list automatically?
On Jun 9, 2016 2:26 PM, "holger krekel"
On Thu, Jun 09, 2016 at 12:26 -0400, Subir Jolly wrote:
Florian,
Thank you so much for your awesome response. Got it working by setting: devpi index mirror_whitelist=*
which is a bit on the dangerous side (see the docs) but what's life without some danger :) holger
Subir
On Thu, Jun 9, 2016 at 11:53 AM, Florian Schulze < ma...@florian-schulze.net> wrote:
Hi!
You are probably looking for this:
http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m...
Regards, Florian Schulze
On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that
has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload
package that
package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
On Thu, Jun 09, 2016 at 15:03 -0400, Subir Jolly wrote:
Correct. But we kinda need this instead of specifying packages. Is there a flag which can be set for mirror white list which adds the uploaded package to white list automatically?
no, there is no flag. I don't think you can currently write a plugin for it, either. While there is a server-side hook called *after* upload, http://doc.devpi.net/latest/devguide/hooks.html#hook-semantics-for-package-u... it does not easily allow to change flags as those after-actions happens in read-only context. If needed we could consider a hook which is called *during* upload which would be able to change mirror_whitelist in the same transaction which adds the package. Do i see it correctly that you are only uploading release files which relate to ones from pypi.python.org? best, holger
On Jun 9, 2016 2:26 PM, "holger krekel"
wrote: On Thu, Jun 09, 2016 at 12:26 -0400, Subir Jolly wrote:
Florian,
Thank you so much for your awesome response. Got it working by setting: devpi index mirror_whitelist=*
which is a bit on the dangerous side (see the docs) but what's life without some danger :) holger
Subir
On Thu, Jun 9, 2016 at 11:53 AM, Florian Schulze < ma...@florian-schulze.net> wrote:
Hi!
You are probably looking for this:
http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m...
Regards, Florian Schulze
On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that
has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload
package that
package. All other user indices can access the latest version of that package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask package in pypi using user/index1 instead of getting stuck to 0.10.1? I would prefer not deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
My purpose is solved and I think my use case would be an edge case. So, I
would not request you to do anything about this but feel free to develop
*during* upload functionality if you wish.
Thanks,
Subir
On Fri, Jun 10, 2016 at 3:34 AM, holger krekel
Correct. But we kinda need this instead of specifying packages. Is there a flag which can be set for mirror white list which adds the uploaded
On Thu, Jun 09, 2016 at 15:03 -0400, Subir Jolly wrote: package
to white list automatically?
no, there is no flag. I don't think you can currently write a plugin for it, either. While there is a server-side hook called *after* upload,
http://doc.devpi.net/latest/devguide/hooks.html#hook-semantics-for-package-u... it does not easily allow to change flags as those after-actions happens in read-only context. If needed we could consider a hook which is called *during* upload which would be able to change mirror_whitelist in the same transaction which adds the package.
Do i see it correctly that you are only uploading release files which relate to ones from pypi.python.org?
best, holger
On Jun 9, 2016 2:26 PM, "holger krekel"
wrote: On Thu, Jun 09, 2016 at 12:26 -0400, Subir Jolly wrote:
Florian,
Thank you so much for your awesome response. Got it working by setting: devpi index mirror_whitelist=*
which is a bit on the dangerous side (see the docs) but what's life without some danger :) holger
Subir
On Thu, Jun 9, 2016 at 11:53 AM, Florian Schulze < ma...@florian-schulze.net> wrote:
Hi!
You are probably looking for this:
Regards, Florian Schulze
On 9 Jun 2016, at 17:37, Subir Jolly wrote:
Guys,
I uploaded a version of a package(wheel) a few weeks ago. Now that
has a higher version available in pypi. I can't seem to be able to get the newer version of the package using the user index I used to upload
package that
package. All other user indices can access the latest version of
package. So, the exact problem is only in the user index which I used to upload the package.
*Description*
*User indices:* root/pypi user/index1 user/index2
*Uploaded Package:* Flask==0.10.1 *With Index: *user/index1
*Available New Version Of Package: *Flask==0.11.1
*Command:* pip install -i http://mypypi.example.com/user/index1/ Flask==0.11.1 --trusted-host mypypi.example.com *Error:* Could not find a version that satisfies the requirement Flask==0.11.1 (from versions: 0.10.1) No matching distribution found for Flask==0.11.1
*Command: *pip install -i http://mypypi.example.com/user/index2/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success *Command: *pip install -i http://mypypi.example.com/root/pypi/ Flask==0.11.1 --trusted-host mypypi.example.com *Result: *Success
*Devpi Server: *4.0.0
Is there a way to check and get the latest version of Flask
pypi using user/index1 instead of getting stuck to 0.10.1? I would
http://doc.devpi.net/latest/userman/devpi_indices.html?highlight=whitelist#m... that package in prefer
not
deleting the older package if I don't NEED to.
Thank you in advance.
Subir
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
-- 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 https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.
participants (3)
-
Florian Schulze
-
holger krekel
-
Subir Jolly