* [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI
@ 2017-03-03 19:44 bugzilla at busybox.net
2017-03-03 22:00 ` [Buildroot] [Bug 9706] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-03-03 19:44 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9706
Bug ID: 9706
Summary: Can't download newer revisions of package from PyPI
Product: buildroot
Version: 2016.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Outdated package
Assignee: unassigned at buildroot.uclibc.org
Reporter: jem at kamama.com
CC: buildroot at uclibc.org
Target Milestone: ---
Newer versions of python projects (in my case I was attempting to update
supervisor to supervisor-3.3.1) don't download with the URL scheme currently
used. Not sure if this is only a supervisor problem or might affect other
modules from PyPI. Recommendation from PyPI is to use their API
API documentation is at https://warehouse.pypa.io/api-reference/legacy/
It looks like buildroot should first make a request against
/simple/supervisor/ and fetch links from the response.
For example if I hit https://pypi.python.org/simple/supervisor/ I get:
<!DOCTYPE html><html><head><title>Links for
supervisor</title></head><body><h1>Links for supervisor</h1><a
href="../../packages/2e/3b/f28afd29920be27c948923b276d1f131276880f6b4f9391323064b87b15b/supervisor-3.0a7.tar.gz#md5=d2e6c491fcb2606e4fd0afe4ebfd4b13"
rel="internal">supervisor-3.0a7.tar.gz</a><br/>
<a
href="../../packages/44/80/d28047d120bfcc8158b4e41127706731ee6a3419c661e0a858fb0e7c4b2d/supervisor-3.3.0.tar.gz#md5=46bac00378d1eddb616752b990c67416"
rel="internal">supervisor-3.3.0.tar.gz</a><br/>
<a
href="../../packages/4b/7d/cb3d91d6c65f73fd253c376fc0dbbc48b83e6606f61d9961d9ac7cf293f5/supervisor-3.0a9.tar.gz#md5=81d192acab20eef3578856651af7e851"
rel="internal">supervisor-3.0a9.tar.gz</a><br/>
...etc.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9706] Can't download newer revisions of package from PyPI
2017-03-03 19:44 [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI bugzilla at busybox.net
@ 2017-03-03 22:00 ` bugzilla at busybox.net
2017-03-03 22:20 ` Yegor Yefremov
2017-03-03 22:26 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-03-03 22:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9706
Arnout Vandecappelle <arnout@mind.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
When bumping the package, SUPERVISOR_SITE should change from the current
http://pypi.python.org/packages/source/s/supervisor
to
https://pypi.python.org/packages/44/80/d28047d120bfcc8158b4e41127706731ee6a3419c661e0a858fb0e7c4b2d
but it's not unusual for the _SITE to change when the version is bumped.
I don't see how this is a bug, so I'm closing as invalid. If you disagree, feel
free to reopen.
PS if you do bump the package, don't forget to send the patch to the Buildroot
mailing list for upstream inclusion.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9706] Can't download newer revisions of package from PyPI
2017-03-03 22:00 ` [Buildroot] [Bug 9706] " bugzilla at busybox.net
@ 2017-03-03 22:20 ` Yegor Yefremov
0 siblings, 0 replies; 6+ messages in thread
From: Yegor Yefremov @ 2017-03-03 22:20 UTC (permalink / raw)
To: buildroot
Hi Arnout,
On Fri, Mar 3, 2017 at 11:00 PM, <bugzilla@busybox.net> wrote:
> https://bugs.busybox.net/show_bug.cgi?id=9706
>
> Arnout Vandecappelle <arnout@mind.be> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution|--- |INVALID
>
> --- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
> When bumping the package, SUPERVISOR_SITE should change from the current
>
> http://pypi.python.org/packages/source/s/supervisor
>
> to
>
> https://pypi.python.org/packages/44/80/d28047d120bfcc8158b4e41127706731ee6a3419c661e0a858fb0e7c4b2d
>
> but it's not unusual for the _SITE to change when the version is bumped.
>
> I don't see how this is a bug, so I'm closing as invalid. If you disagree, feel
> free to reopen.
>
> PS if you do bump the package, don't forget to send the patch to the Buildroot
> mailing list for upstream inclusion.
I've posted an RFC [1] concerning this issue.
[1] https://patchwork.ozlabs.org/patch/708384/
Yegor
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9706] Can't download newer revisions of package from PyPI
2017-03-03 19:44 [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI bugzilla at busybox.net
2017-03-03 22:00 ` [Buildroot] [Bug 9706] " bugzilla at busybox.net
@ 2017-03-03 22:26 ` bugzilla at busybox.net
2017-03-03 23:12 ` bugzilla at busybox.net
2017-03-04 10:44 ` bugzilla at busybox.net
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-03-03 22:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9706
--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
Correction, the URL for version 3.3.1 is:
https://pypi.python.org/packages/80/37/964c0d53cbd328796b1aeb7abea4c0f7b0e8c7197ea9b0b9967b7d004def
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9706] Can't download newer revisions of package from PyPI
2017-03-03 19:44 [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI bugzilla at busybox.net
2017-03-03 22:00 ` [Buildroot] [Bug 9706] " bugzilla at busybox.net
2017-03-03 22:26 ` bugzilla at busybox.net
@ 2017-03-03 23:12 ` bugzilla at busybox.net
2017-03-04 10:44 ` bugzilla at busybox.net
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-03-03 23:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9706
--- Comment #3 from J. Eric Mason <jem@kamama.com> ---
Semantically buildroot could (I won't go as far to say should yet) be using the
simple repository protocol to find download URLs and hashes for a package
generically https://www.python.org/dev/peps/pep-0503/ as the URLs could change
over time. If I have the bandwidth I'll see if I can propose a changelist to do
this resolution so this wouldn't be a problem in the future.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 9706] Can't download newer revisions of package from PyPI
2017-03-03 19:44 [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI bugzilla at busybox.net
` (2 preceding siblings ...)
2017-03-03 23:12 ` bugzilla at busybox.net
@ 2017-03-04 10:44 ` bugzilla at busybox.net
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-03-04 10:44 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9706
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I think what you're proposing is exactly what Yegor Yefremov has implemented in
https://patchwork.ozlabs.org/patch/708384/.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-03-04 10:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 19:44 [Buildroot] [Bug 9706] New: Can't download newer revisions of package from PyPI bugzilla at busybox.net
2017-03-03 22:00 ` [Buildroot] [Bug 9706] " bugzilla at busybox.net
2017-03-03 22:20 ` Yegor Yefremov
2017-03-03 22:26 ` bugzilla at busybox.net
2017-03-03 23:12 ` bugzilla at busybox.net
2017-03-04 10:44 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.