From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-python][PATCH 02/13] Update python recipes to use the common pypi package
Date: Wed, 24 Feb 2016 17:12:40 +0100 [thread overview]
Message-ID: <20160224161240.GE2560@jama> (raw)
In-Reply-To: <20160224130533.GE7560@jama>
[-- Attachment #1: Type: text/plain, Size: 7059 bytes --]
On Wed, Feb 24, 2016 at 02:05:33PM +0100, Martin Jansa wrote:
> On Sun, Jan 24, 2016 at 08:17:35AM -0500, Derek Straka wrote:
> > ---
> > meta-python/classes/pypi.bbclass | 4 +++-
> > meta-python/recipes-devtools/python/pyrtm_0.2.bb | 5 +----
> > .../recipes-devtools/python/python-autobahn_0.8.6.bb | 8 ++------
> > .../python/python-backports-ssl_3.4.0.2.bb | 10 ++--------
> > .../recipes-devtools/python/python-bitarray_0.8.1.bb | 9 +--------
> > .../recipes-devtools/python/python-certifi_14.05.14.bb | 10 +---------
> > .../recipes-devtools/python/python-cheetah_2.4.4.bb | 12 ++++--------
> > meta-python/recipes-devtools/python/python-cmd2_0.6.7.bb | 11 +----------
> > .../recipes-devtools/python/python-cryptography_1.1.bb | 6 +-----
> > meta-python/recipes-devtools/python/python-decorator.inc | 9 ++-------
> > .../recipes-devtools/python/python-django-south_1.0.2.bb | 9 ++-------
> > .../recipes-devtools/python/python-django_1.6.10.bb | 9 ++-------
> > .../recipes-devtools/python/python-flufl-enum_4.0.1.bb | 12 ++----------
> > .../recipes-devtools/python/python-gevent_0.13.8.bb | 7 +------
> > .../recipes-devtools/python/python-greenlet_0.4.7.bb | 11 ++++-------
> > .../recipes-devtools/python/python-html5lib_0.999.bb | 8 +-------
> > meta-python/recipes-devtools/python/python-jinja2_2.7.3.bb | 10 ++--------
> > .../recipes-devtools/python/python-jsonpatch_1.12.bb | 14 ++------------
> > .../recipes-devtools/python/python-jsonpointer_1.10.bb | 13 ++-----------
> > meta-python/recipes-devtools/python/python-ldap_2.3.9.bb | 6 ++----
> > meta-python/recipes-devtools/python/python-ldap_2.4.10.bb | 2 --
> > meta-python/recipes-devtools/python/python-lxml.inc | 7 ++-----
> > .../recipes-devtools/python/python-m2crypto_0.21.1.bb | 8 ++++----
> > .../recipes-devtools/python/python-markupsafe_0.23.bb | 9 ++-------
> > meta-python/recipes-devtools/python/python-mccabe_0.2.1.bb | 11 +----------
> > meta-python/recipes-devtools/python/python-mock_1.0.1.bb | 12 +-----------
> > .../recipes-devtools/python/python-msgpack_0.4.5.bb | 10 ++--------
> > meta-python/recipes-devtools/python/python-paste_2.0.2.bb | 13 ++++---------
> > meta-python/recipes-devtools/python/python-pep8_1.4.6.bb | 11 +----------
> > meta-python/recipes-devtools/python/python-pip_7.1.2.bb | 6 +-----
> > .../recipes-devtools/python/python-prettytable_0.7.2.bb | 11 ++---------
> > meta-python/recipes-devtools/python/python-pyasn1_0.1.9.bb | 7 +------
> > .../recipes-devtools/python/python-pyflakes_0.7.3.bb | 11 +----------
> > meta-python/recipes-devtools/python/python-pygpgme_0.3.bb | 7 ++-----
> > meta-python/recipes-devtools/python/python-pyinotify.inc | 8 +++-----
> > .../recipes-devtools/python/python-pyopenssl_0.15.1.bb | 9 ++-------
> > .../recipes-devtools/python/python-pyparsing_2.0.3.bb | 11 ++---------
> > meta-python/recipes-devtools/python/python-pytz_2015.4.bb | 6 +-----
> > .../recipes-devtools/python/python-pyudev_0.16.1.bb | 8 +-------
> > meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb | 10 +++-------
> > .../recipes-devtools/python/python-requests_2.7.0.bb | 9 +--------
> > .../recipes-devtools/python/python-snakefood_1.4.bb | 7 +------
> > meta-python/recipes-devtools/python/python-tornado_4.3.bb | 9 +--------
> > .../recipes-devtools/python/python-twisted_13.2.0.bb | 8 ++++----
> > meta-python/recipes-devtools/python/python-ujson_1.33.bb | 12 +++---------
> > .../recipes-devtools/python/python-vcversioner_2.14.0.0.bb | 5 +----
> > .../recipes-devtools/python/python-zopeinterface_4.1.1.bb | 8 +++-----
> > 47 files changed, 88 insertions(+), 330 deletions(-)
>
> This is probably better place to report this:
>
> Do we need to use https for pypi? All these new versions are failing
> with:
FWIW: using http:// doesn't help because it's redirected to https://
and it fails also outside bitbake build:
$ curl https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
$ curl --sslv2 https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz
curl: (4) OpenSSL was built without SSLv2 support
It's probably caused by Ubuntu 14.04 openssl being built without SSLv2
support
If you don't want to re-build openssl yourself:
https://www.duncanwinfrey.com/openssl-1-0-1f-on-ubuntu-14-04-x64-with-sslv2-enabled/
you can use some open proxy as work around
e.g. from this list http://www.sslproxies.org/
there are checksums in the recipes so you don't need to worry (so much)
that they will be modified by proxy - at least you know that you got the
same archive as recipe author when he was updating the SRC_URI checksums
e.g.:
curl --proxy http://5.135.254.35:3128/ https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz -o mock-1.3.0.tar.gz
That's what I've used and now these packages will be added to http://sources.openembedded.org/
which should resolve it for other people as well.
> WARNING: python-mock-1.3.0-r0 do_fetch: Failed to fetch URL https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz, attempting MIRRORS if available
> ERROR: python-mock-1.3.0-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 4, output:
> OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
> Unable to establish SSL connection.
>
> ERROR: python-mock-1.3.0-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz'. Unable to fetch URL from any source.
> ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/python-mock/1.3.0-r0/temp/log.do_fetch.22652
> NOTE: recipe python-mock-1.3.0-r0: task do_fetch: Failed
>
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-mock_1.3.0.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-ujson_1.35.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_0.6.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack_0.4.7.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-flufl-enum_4.1.bb, do_fetch
> /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-feedparser_5.2.1.bb, do_fetch
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2016-02-24 16:11 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 23:09 [meta-python][PATCH 00/13] Python pypi standardization and recipe updates Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:09 ` [meta-python][PATCH 01/13] meta-python: update pypi class to avoid setuptool inherit to be more flexible Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-24 12:24 ` Burton, Ross
2016-01-23 23:09 ` [meta-python][PATCH 02/13] Update python recipes to use the common pypi package Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-02-24 13:05 ` Martin Jansa
2016-02-24 16:12 ` Martin Jansa [this message]
2016-01-23 23:10 ` [meta-python][PATCH 03/13] pyrtm: update to 0.4.2 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 04/13] python-cython: update to 0.23.4 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 05/13] python-decorator: update to 4.0.6 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 06/13] python-lxml: update to 3.5.0 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 07/13] python-pyserial: update to 3.0.1 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 08/13] python-backports-ssl: update to 3.5.0.1 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 09/13] python-certifi: update to 2015.11.20.1 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 10/13] python-cmd2: update to 0.6.8 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 11/13] python-daemonize: update to 2.4.2 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 12/13] python-feedparser: update to 5.2.1 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-23 23:10 ` [meta-python][PATCH 13/13] python-flufl-enum: update to 4.1 Derek Straka
2016-01-24 13:17 ` Derek Straka
2016-01-27 12:15 ` [meta-python][PATCH 00/13] Python pypi standardization and recipe updates Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160224161240.GE2560@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.