All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-*: use https for pypi URLs
@ 2017-10-30 22:54 Paul Eggleton
  2017-11-12 20:01 ` Paul Eggleton
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggleton @ 2017-10-30 22:54 UTC (permalink / raw)
  To: meta-virtualization

Several of the recipes here were using http URLs for source hosted on
pypi - pypi apparently no longer supports http so switch to https
instead.

Fixes [YOCTO #12286].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
 recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
 recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
 recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
index 47f1267..8ac1295 100644
--- a/recipes-devtools/python/python-gevent_1.0.1.bb
+++ b/recipes-devtools/python/python-gevent_1.0.1.bb
@@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
 
 SRCNAME = "gevent"
 
-SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
 SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
 SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
 
diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
index 95d6eec..9814d3d 100644
--- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
+++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
@@ -14,7 +14,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
 
 SRCNAME = "M2Crypto"
-SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
+SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
            file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
 "
 
diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
index 835b369..b4ae86b 100644
--- a/recipes-devtools/python/python-sphinx_1.4.1.bb
+++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
 PR = "r0"
 SRCNAME = "Sphinx"
 
-SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
 SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
index 71c74ff..93f2acf 100644
--- a/recipes-devtools/python/python-webob_1.6.0.bb
+++ b/recipes-devtools/python/python-webob_1.6.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
 PR = "r0"
 SRCNAME = "WebOb"
 
-SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
 SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-10-30 22:54 [PATCH] python-*: use https for pypi URLs Paul Eggleton
@ 2017-11-12 20:01 ` Paul Eggleton
  2017-11-13  1:21   ` Bruce Ashfield
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggleton @ 2017-11-12 20:01 UTC (permalink / raw)
  To: meta-virtualization

On Tuesday, 31 October 2017 11:54:13 AM NZDT Paul Eggleton wrote:
> Several of the recipes here were using http URLs for source hosted on
> pypi - pypi apparently no longer supports http so switch to https
> instead.
> 
> Fixes [YOCTO #12286].
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
>  recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
>  recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
>  recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
> index 47f1267..8ac1295 100644
> --- a/recipes-devtools/python/python-gevent_1.0.1.bb
> +++ b/recipes-devtools/python/python-gevent_1.0.1.bb
> @@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
>  
>  SRCNAME = "gevent"
>  
> -SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
> +SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>  SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
>  SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
>  
> diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
> index 95d6eec..9814d3d 100644
> --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
> +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
> @@ -14,7 +14,7 @@ LICENSE = "BSD"
>  LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
>  
>  SRCNAME = "M2Crypto"
> -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
> +SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>             file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
>  "
>  
> diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
> index 835b369..b4ae86b 100644
> --- a/recipes-devtools/python/python-sphinx_1.4.1.bb
> +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
>  PR = "r0"
>  SRCNAME = "Sphinx"
>  
> -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
> +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>  
>  SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
>  SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
> diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
> index 71c74ff..93f2acf 100644
> --- a/recipes-devtools/python/python-webob_1.6.0.bb
> +++ b/recipes-devtools/python/python-webob_1.6.0.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
>  PR = "r0"
>  SRCNAME = "WebOb"
>  
> -SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
> +SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>  
>  SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
>  SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
> 

ping ?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-12 20:01 ` Paul Eggleton
@ 2017-11-13  1:21   ` Bruce Ashfield
  2017-11-13  1:28     ` Mark Asselstine
  0 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2017-11-13  1:21 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: meta-virtualization

First I've seen of this.  It was filed as spam by gmail.

Was I actually copied on the original ? That's the best way to make
sure it doesn't
get lost.

I'll have a look at it in the next day or so, now that it has been
yanked out of the bin :)

Cheers,

Bruce

On Sun, Nov 12, 2017 at 3:01 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Tuesday, 31 October 2017 11:54:13 AM NZDT Paul Eggleton wrote:
>> Several of the recipes here were using http URLs for source hosted on
>> pypi - pypi apparently no longer supports http so switch to https
>> instead.
>>
>> Fixes [YOCTO #12286].
>>
>> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
>> ---
>>  recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
>>  recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
>>  recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
>>  recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
>>  4 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
>> index 47f1267..8ac1295 100644
>> --- a/recipes-devtools/python/python-gevent_1.0.1.bb
>> +++ b/recipes-devtools/python/python-gevent_1.0.1.bb
>> @@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
>>
>>  SRCNAME = "gevent"
>>
>> -SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>> +SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>  SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
>>  SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
>>
>> diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>> index 95d6eec..9814d3d 100644
>> --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
>> +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>> @@ -14,7 +14,7 @@ LICENSE = "BSD"
>>  LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
>>
>>  SRCNAME = "M2Crypto"
>> -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>> +SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>             file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
>>  "
>>
>> diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
>> index 835b369..b4ae86b 100644
>> --- a/recipes-devtools/python/python-sphinx_1.4.1.bb
>> +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
>>  PR = "r0"
>>  SRCNAME = "Sphinx"
>>
>> -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>> +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>
>>  SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
>>  SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
>> diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
>> index 71c74ff..93f2acf 100644
>> --- a/recipes-devtools/python/python-webob_1.6.0.bb
>> +++ b/recipes-devtools/python/python-webob_1.6.0.bb
>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
>>  PR = "r0"
>>  SRCNAME = "WebOb"
>>
>> -SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>> +SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>
>>  SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
>>  SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
>>
>
> ping ?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-13  1:21   ` Bruce Ashfield
@ 2017-11-13  1:28     ` Mark Asselstine
  2017-11-13  1:42       ` Bruce Ashfield
  2017-11-13  3:59       ` Paul Eggleton
  0 siblings, 2 replies; 11+ messages in thread
From: Mark Asselstine @ 2017-11-13  1:28 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization

On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
<bruce.ashfield@gmail.com> wrote:
> First I've seen of this.  It was filed as spam by gmail.
>
> Was I actually copied on the original ? That's the best way to make
> sure it doesn't
> get lost.
>
> I'll have a look at it in the next day or so, now that it has been
> yanked out of the bin :)

I have been moving things to inherit pypi while moving things to
stable/pike. By doing so we can most often drop the SRC_URI line and
in this way we *should* stay current with the pypi best practices.
This commit will conflict with my webob update that off the top of my
head you merged this week Bruce. Instead of merging this I will move
any recipes that remain to inherit pypi if that is alright with the
two of you.

Mark

>
> Cheers,
>
> Bruce
>
> On Sun, Nov 12, 2017 at 3:01 PM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>> On Tuesday, 31 October 2017 11:54:13 AM NZDT Paul Eggleton wrote:
>>> Several of the recipes here were using http URLs for source hosted on
>>> pypi - pypi apparently no longer supports http so switch to https
>>> instead.
>>>
>>> Fixes [YOCTO #12286].
>>>
>>> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
>>> ---
>>>  recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
>>>  recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
>>>  recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
>>>  recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
>>>  4 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
>>> index 47f1267..8ac1295 100644
>>> --- a/recipes-devtools/python/python-gevent_1.0.1.bb
>>> +++ b/recipes-devtools/python/python-gevent_1.0.1.bb
>>> @@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
>>>
>>>  SRCNAME = "gevent"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>>  SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
>>>  SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
>>>
>>> diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> index 95d6eec..9814d3d 100644
>>> --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>> @@ -14,7 +14,7 @@ LICENSE = "BSD"
>>>  LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
>>>
>>>  SRCNAME = "M2Crypto"
>>> -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>> +SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>>             file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
>>>  "
>>>
>>> diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> index 835b369..b4ae86b 100644
>>> --- a/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
>>>  PR = "r0"
>>>  SRCNAME = "Sphinx"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>
>>>  SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
>>>  SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
>>> diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
>>> index 71c74ff..93f2acf 100644
>>> --- a/recipes-devtools/python/python-webob_1.6.0.bb
>>> +++ b/recipes-devtools/python/python-webob_1.6.0.bb
>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
>>>  PR = "r0"
>>>  SRCNAME = "WebOb"
>>>
>>> -SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>> +SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>
>>>  SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
>>>  SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
>>>
>>
>> ping ?
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>> --
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-13  1:28     ` Mark Asselstine
@ 2017-11-13  1:42       ` Bruce Ashfield
  2017-11-13  3:59       ` Paul Eggleton
  1 sibling, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2017-11-13  1:42 UTC (permalink / raw)
  To: Mark Asselstine; +Cc: meta-virtualization

On Sun, Nov 12, 2017 at 8:28 PM, Mark Asselstine
<mark.asselstine@windriver.com> wrote:
> On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
> <bruce.ashfield@gmail.com> wrote:
>> First I've seen of this.  It was filed as spam by gmail.
>>
>> Was I actually copied on the original ? That's the best way to make
>> sure it doesn't
>> get lost.
>>
>> I'll have a look at it in the next day or so, now that it has been
>> yanked out of the bin :)
>
> I have been moving things to inherit pypi while moving things to
> stable/pike. By doing so we can most often drop the SRC_URI line and
> in this way we *should* stay current with the pypi best practices.
> This commit will conflict with my webob update that off the top of my
> head you merged this week Bruce. Instead of merging this I will move
> any recipes that remain to inherit pypi if that is alright with the
> two of you.

Works for me. I already dropped the ball for 13 days, what's a few more ;) :D

Cheers,

Bruce

>
> Mark
>
>>
>> Cheers,
>>
>> Bruce
>>
>> On Sun, Nov 12, 2017 at 3:01 PM, Paul Eggleton
>> <paul.eggleton@linux.intel.com> wrote:
>>> On Tuesday, 31 October 2017 11:54:13 AM NZDT Paul Eggleton wrote:
>>>> Several of the recipes here were using http URLs for source hosted on
>>>> pypi - pypi apparently no longer supports http so switch to https
>>>> instead.
>>>>
>>>> Fixes [YOCTO #12286].
>>>>
>>>> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
>>>> ---
>>>>  recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
>>>>  recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
>>>>  recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
>>>>  recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
>>>>  4 files changed, 4 insertions(+), 4 deletions(-)
>>>>
>>>> diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
>>>> index 47f1267..8ac1295 100644
>>>> --- a/recipes-devtools/python/python-gevent_1.0.1.bb
>>>> +++ b/recipes-devtools/python/python-gevent_1.0.1.bb
>>>> @@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
>>>>
>>>>  SRCNAME = "gevent"
>>>>
>>>> -SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>>> +SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
>>>>  SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
>>>>  SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
>>>>
>>>> diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>>> index 95d6eec..9814d3d 100644
>>>> --- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>>> +++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
>>>> @@ -14,7 +14,7 @@ LICENSE = "BSD"
>>>>  LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
>>>>
>>>>  SRCNAME = "M2Crypto"
>>>> -SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>>> +SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
>>>>             file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
>>>>  "
>>>>
>>>> diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>>> index 835b369..b4ae86b 100644
>>>> --- a/recipes-devtools/python/python-sphinx_1.4.1.bb
>>>> +++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
>>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
>>>>  PR = "r0"
>>>>  SRCNAME = "Sphinx"
>>>>
>>>> -SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>> +SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>>
>>>>  SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
>>>>  SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
>>>> diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
>>>> index 71c74ff..93f2acf 100644
>>>> --- a/recipes-devtools/python/python-webob_1.6.0.bb
>>>> +++ b/recipes-devtools/python/python-webob_1.6.0.bb
>>>> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
>>>>  PR = "r0"
>>>>  SRCNAME = "WebOb"
>>>>
>>>> -SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>> +SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>>>>
>>>>  SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
>>>>  SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
>>>>
>>>
>>> ping ?
>>>
>>> Cheers,
>>> Paul
>>>
>>> --
>>>
>>> Paul Eggleton
>>> Intel Open Source Technology Centre
>>> --
>>> _______________________________________________
>>> meta-virtualization mailing list
>>> meta-virtualization@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>>
>>
>>
>> --
>> "Thou shalt not follow the NULL pointer, for chaos and madness await
>> thee at its end"
>> --
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-13  1:28     ` Mark Asselstine
  2017-11-13  1:42       ` Bruce Ashfield
@ 2017-11-13  3:59       ` Paul Eggleton
  2017-11-14 17:14         ` Fabio Berton
  1 sibling, 1 reply; 11+ messages in thread
From: Paul Eggleton @ 2017-11-13  3:59 UTC (permalink / raw)
  To: mark.asselstine; +Cc: meta-virtualization

On Monday, 13 November 2017 2:28:34 PM NZDT Mark Asselstine wrote:
> On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
> <bruce.ashfield@gmail.com> wrote:
> > First I've seen of this.  It was filed as spam by gmail.
> >
> > Was I actually copied on the original ? That's the best way to make
> > sure it doesn't
> > get lost.
> >
> > I'll have a look at it in the next day or so, now that it has been
> > yanked out of the bin :)
> 
> I have been moving things to inherit pypi while moving things to
> stable/pike. By doing so we can most often drop the SRC_URI line and
> in this way we *should* stay current with the pypi best practices.
> This commit will conflict with my webob update that off the top of my
> head you merged this week Bruce. Instead of merging this I will move
> any recipes that remain to inherit pypi if that is alright with the
> two of you.

Works for me too. Thanks!

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-13  3:59       ` Paul Eggleton
@ 2017-11-14 17:14         ` Fabio Berton
  2017-11-14 17:33           ` Bruce Ashfield
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Berton @ 2017-11-14 17:14 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: mark.asselstine, meta-virtualization, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

Hi,

We have a customer using krogoth branch and is failing to fetch from pypi.
And branches morty, pyro and rocko have http URLs for python recipes. This
patch can be backported to older branches?

Fabio

On Mon, Nov 13, 2017 at 1:59 AM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Monday, 13 November 2017 2:28:34 PM NZDT Mark Asselstine wrote:
> > On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
> > <bruce.ashfield@gmail.com> wrote:
> > > First I've seen of this.  It was filed as spam by gmail.
> > >
> > > Was I actually copied on the original ? That's the best way to make
> > > sure it doesn't
> > > get lost.
> > >
> > > I'll have a look at it in the next day or so, now that it has been
> > > yanked out of the bin :)
> >
> > I have been moving things to inherit pypi while moving things to
> > stable/pike. By doing so we can most often drop the SRC_URI line and
> > in this way we *should* stay current with the pypi best practices.
> > This commit will conflict with my webob update that off the top of my
> > head you merged this week Bruce. Instead of merging this I will move
> > any recipes that remain to inherit pypi if that is alright with the
> > two of you.
>
> Works for me too. Thanks!
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>

[-- Attachment #2: Type: text/html, Size: 2761 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-14 17:14         ` Fabio Berton
@ 2017-11-14 17:33           ` Bruce Ashfield
  2017-11-20 20:20             ` Paul Eggleton
  0 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2017-11-14 17:33 UTC (permalink / raw)
  To: Fabio Berton; +Cc: Mark Asselstine, meta-virtualization, Otavio Salvador

On Tue, Nov 14, 2017 at 12:14 PM, Fabio Berton
<fabio.berton@ossystems.com.br> wrote:
> Hi,
>
> We have a customer using krogoth branch and is failing to fetch from pypi.
> And branches morty, pyro and rocko have http URLs for python recipes. This
> patch can be backported to older branches?

Does the pypi class take care of things in the old branches as well ?
If not, propose different patches for those branches, since as you'll
see in the thread:

"Bruce. Instead of merging this I will move any recipes that remain to
inherit pypi if that is alright with the two of you."

So that is the plan for master, not merging this patch as it sits.

Cheers,

Bruce

>
> Fabio
>
> On Mon, Nov 13, 2017 at 1:59 AM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>>
>> On Monday, 13 November 2017 2:28:34 PM NZDT Mark Asselstine wrote:
>> > On Sun, Nov 12, 2017 at 8:21 PM, Bruce Ashfield
>> > <bruce.ashfield@gmail.com> wrote:
>> > > First I've seen of this.  It was filed as spam by gmail.
>> > >
>> > > Was I actually copied on the original ? That's the best way to make
>> > > sure it doesn't
>> > > get lost.
>> > >
>> > > I'll have a look at it in the next day or so, now that it has been
>> > > yanked out of the bin :)
>> >
>> > I have been moving things to inherit pypi while moving things to
>> > stable/pike. By doing so we can most often drop the SRC_URI line and
>> > in this way we *should* stay current with the pypi best practices.
>> > This commit will conflict with my webob update that off the top of my
>> > head you merged this week Bruce. Instead of merging this I will move
>> > any recipes that remain to inherit pypi if that is alright with the
>> > two of you.
>>
>> Works for me too. Thanks!
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>> --
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-14 17:33           ` Bruce Ashfield
@ 2017-11-20 20:20             ` Paul Eggleton
  2017-11-21  3:08               ` Bruce Ashfield
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggleton @ 2017-11-20 20:20 UTC (permalink / raw)
  To: Bruce Ashfield, Mark Asselstine; +Cc: meta-virtualization, Otavio Salvador

On Wednesday, 15 November 2017 6:33:31 AM NZDT Bruce Ashfield wrote:
> On Tue, Nov 14, 2017 at 12:14 PM, Fabio Berton
> <fabio.berton@ossystems.com.br> wrote:
> > Hi,
> >
> > We have a customer using krogoth branch and is failing to fetch from pypi.
> > And branches morty, pyro and rocko have http URLs for python recipes. This
> > patch can be backported to older branches?
> 
> Does the pypi class take care of things in the old branches as well ?
> If not, propose different patches for those branches, since as you'll
> see in the thread:
> 
> "Bruce. Instead of merging this I will move any recipes that remain to
> inherit pypi if that is alright with the two of you."
> 
> So that is the plan for master, not merging this patch as it sits.

The pypi class used https URLs back in morty, FYI.

So just to clarify - you want pypi inherit patches going back to morty? I can 
do that, but it's slightly less safe than just tweaking the URLs for the 
stable branches. Let me know what you'd like me to do.

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] python-*: use https for pypi URLs
  2017-11-20 20:20             ` Paul Eggleton
@ 2017-11-21  3:08               ` Bruce Ashfield
  0 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2017-11-21  3:08 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: Mark Asselstine, meta-virtualization, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

On Mon, Nov 20, 2017 at 3:20 PM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Wednesday, 15 November 2017 6:33:31 AM NZDT Bruce Ashfield wrote:
> > On Tue, Nov 14, 2017 at 12:14 PM, Fabio Berton
> > <fabio.berton@ossystems.com.br> wrote:
> > > Hi,
> > >
> > > We have a customer using krogoth branch and is failing to fetch from
> pypi.
> > > And branches morty, pyro and rocko have http URLs for python recipes.
> This
> > > patch can be backported to older branches?
> >
> > Does the pypi class take care of things in the old branches as well ?
> > If not, propose different patches for those branches, since as you'll
> > see in the thread:
> >
> > "Bruce. Instead of merging this I will move any recipes that remain to
> > inherit pypi if that is alright with the two of you."
> >
> > So that is the plan for master, not merging this patch as it sits.
>
> The pypi class used https URLs back in morty, FYI.
>
> So just to clarify - you want pypi inherit patches going back to morty? I
> can
> do that, but it's slightly less safe than just tweaking the URLs for the
> stable branches. Let me know what you'd like me to do.
>

Just tweaking the URLs is fine, we've fixed it in master, so making sure it
is done there first
has been accomplished.  Since the structure/context is different in the
older branches,
different patches are fine (I just hadn't gone back to see when the pypi
bbclass had been
introduced, hence wasn't sure if the patch would apply to the older
branches as well).

Bruce


>
> Cheers,
> Paul
>
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #2: Type: text/html, Size: 2639 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH] python-*: use https for pypi URLs
@ 2017-10-30 22:49 Paul Eggleton
  0 siblings, 0 replies; 11+ messages in thread
From: Paul Eggleton @ 2017-10-30 22:49 UTC (permalink / raw)
  To: openembedded-core

Several of the recipes here were using http URLs for source hosted on
pypi - pypi apparently no longer supports http so switch to https
instead.

Fixes [YOCTO #12286].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 recipes-devtools/python/python-gevent_1.0.1.bb    | 2 +-
 recipes-devtools/python/python-m2crypto_0.22.3.bb | 2 +-
 recipes-devtools/python/python-sphinx_1.4.1.bb    | 2 +-
 recipes-devtools/python/python-webob_1.6.0.bb     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-devtools/python/python-gevent_1.0.1.bb b/recipes-devtools/python/python-gevent_1.0.1.bb
index 47f1267..8ac1295 100644
--- a/recipes-devtools/python/python-gevent_1.0.1.bb
+++ b/recipes-devtools/python/python-gevent_1.0.1.bb
@@ -13,7 +13,7 @@ RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
 
 SRCNAME = "gevent"
 
-SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz"
 SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6"
 SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43"
 
diff --git a/recipes-devtools/python/python-m2crypto_0.22.3.bb b/recipes-devtools/python/python-m2crypto_0.22.3.bb
index 95d6eec..9814d3d 100644
--- a/recipes-devtools/python/python-m2crypto_0.22.3.bb
+++ b/recipes-devtools/python/python-m2crypto_0.22.3.bb
@@ -14,7 +14,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0ccca7097c1d29fa42e75e9c15c6ff2e"
 
 SRCNAME = "M2Crypto"
-SRC_URI = "http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
+SRC_URI = "https://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME}-${PV}.tar.gz \
            file://m2crypto-Fix-build-with-SWIG-3.0.5.patch \
 "
 
diff --git a/recipes-devtools/python/python-sphinx_1.4.1.bb b/recipes-devtools/python/python-sphinx_1.4.1.bb
index 835b369..b4ae86b 100644
--- a/recipes-devtools/python/python-sphinx_1.4.1.bb
+++ b/recipes-devtools/python/python-sphinx_1.4.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=72f034adc6f7b05b09bc00d1a05bb065"
 PR = "r0"
 SRCNAME = "Sphinx"
 
-SRC_URI = "http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "4c4988e0306a04cef8dccc384281e585"
 SRC_URI[sha256sum] = "c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc"
diff --git a/recipes-devtools/python/python-webob_1.6.0.bb b/recipes-devtools/python/python-webob_1.6.0.bb
index 71c74ff..93f2acf 100644
--- a/recipes-devtools/python/python-webob_1.6.0.bb
+++ b/recipes-devtools/python/python-webob_1.6.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license.txt;md5=8ed3584bcc78c16da363747ccabc5af5
 PR = "r0"
 SRCNAME = "WebOb"
 
-SRC_URI = "http://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "https://pypi.python.org/packages/source/W/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "089d7fc6745f175737800237c7287802"
 SRC_URI[sha256sum] = "63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7"
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-21  3:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 22:54 [PATCH] python-*: use https for pypi URLs Paul Eggleton
2017-11-12 20:01 ` Paul Eggleton
2017-11-13  1:21   ` Bruce Ashfield
2017-11-13  1:28     ` Mark Asselstine
2017-11-13  1:42       ` Bruce Ashfield
2017-11-13  3:59       ` Paul Eggleton
2017-11-14 17:14         ` Fabio Berton
2017-11-14 17:33           ` Bruce Ashfield
2017-11-20 20:20             ` Paul Eggleton
2017-11-21  3:08               ` Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2017-10-30 22:49 Paul Eggleton

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.