On Wed, Nov 15, 2017 at 9:39 AM, Mark Asselstine
<mark.asselst...@windriver.com> wrote:
> On Wed, Nov 15, 2017 at 11:07 AM, zhengrq <zhengrq.f...@cn.fujitsu.com> wrote:
>> Rename python-jsonschema from 2.5.1 to 2.6.0 as it has been upgraded but not 
>> renamed.
>
> There is a problem here but there is no version skew as far as I can tell.
>
> From the Pypi site:
> https://pypi.python.org/pypi/jsonschema/2.6.0
>
> Scrolling down to the downloads we can click on the md5sum link for the 
> tarball:
> https://pypi.python.org/pypi?:action=show_md5&digest=50c6b69a373a8b55ff1e0ec6e78f13f4
>
> So the md5sum for 2.6.0 == 50c6b69a373a8b55ff1e0ec6e78f13f4
>
> The md5sum in the recipe is:
> SRC_URI[md5sum] = "e491298485bdefeecb0f1ca3d65e5292"
>
> So clearly not 2.6.0.
>
> Back to Pypi but for version 2.5.1:
> https://pypi.python.org/pypi/jsonschema/2.5.1
>
> And again examine the md5sums for the downloads.
> The md5sum for the zip file matches the md5sum in the recipe
> e491298485bdefeecb0f1ca3d65e5292
>
> So we can either change the md5 and sha256 to match the zip file or
> set PYPI_PACKAGE_EXT to "zip".
>
> What I am less clear about is how my testing of the this recipe's move
> to use the pypi class would have missed this.

Mystery solved. My build was using the 2.6.0 recipe from meta-python.
I will have a look but if the v2.5.1 really isn't needed anymore I
might just drop this recipe from m-c-s. Either way I will follow up
with a change.

Mark

>
> Either way, Bruce, don't merge this patch. I will send you an update.
>
> Thanks Zheng for finding this.
>
> MarkA
>
>>
>> Signed-off-by: Zheng Ruoqin <zhengrq.f...@cn.fujitsu.com>
>> ---
>>  .../python/{python-jsonschema_2.5.1.bb => python-jsonschema_2.6.0.bb}     | >> 0
>>  1 file changed, 0 insertions(+), 0 deletions(-)
>>  rename meta-openstack/recipes-devtools/python/{python-jsonschema_2.5.1.bb 
>> => python-jsonschema_2.6.0.bb} (100%)
>>
>> diff --git 
>> a/meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb 
>> b/meta-openstack/recipes-devtools/python/python-jsonschema_2.6.0.bb
>> similarity index 100%
>> rename from meta-openstack/recipes-devtools/python/python-jsonschema_2.5.1.bb
>> rename to meta-openstack/recipes-devtools/python/python-jsonschema_2.6.0.bb
>> --
>> 2.7.4
>>
>>
>>
>> --
>> _______________________________________________
>> 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

Reply via email to