floppym 15/05/13 02:04:46 Modified: urllib3-1.10.3.ebuild ChangeLog Log: Exclude tests which rely on tarpit address 10.255.255.1. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path 1.4 dev-python/urllib3/urllib3-1.10.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild?r1=1.3&r2=1.4 Index: urllib3-1.10.3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- urllib3-1.10.3.ebuild 13 May 2015 00:44:18 -0000 1.3 +++ urllib3-1.10.3.ebuild 13 May 2015 02:04:46 -0000 1.4 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild,v 1.3 2015/05/13 00:44:18 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.10.3.ebuild,v 1.4 2015/05/13 02:04:46 floppym Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) @@ -55,15 +55,21 @@ } python_test() { - # upstream by their own admission describe the tests as flakey - # __init__.py uses a local import requiring use of PYTHONPATH=blank to offset - # Currently requires disabling FEATURES=network-sandbox (in make.conf) - # Failures currently occur under py2.7 with this disabled. After joint testing + # Failures currently occur under py2.7. After joint testing # it's planned for this to have further investigation. # https://github.com/shazow/urllib3/issues/621 - PYTHONPATH= nosetests -v ./test/ || die "Tests fail with ${EPYTHON}" + # These tests fail with network-sandbox enable due to an arbitrary "tarpit" + # address (10.255.255.1) being non-routable. + local exclude=( + -e test_enhanced_timeout + -e test_https_timeout + -e test_https_proxy_pool_timeout + -e test_https_proxy_timeout + ) + + PYTHONPATH= nosetests "${exclude[@]}" test || die "Tests fail with ${EPYTHON}" } python_install_all() { 1.39 dev-python/urllib3/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/ChangeLog?rev=1.39&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/ChangeLog?rev=1.39&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/urllib3/ChangeLog?r1=1.38&r2=1.39 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ChangeLog 13 May 2015 00:44:18 -0000 1.38 +++ ChangeLog 13 May 2015 02:04:46 -0000 1.39 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/urllib3 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.38 2015/05/13 00:44:18 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.39 2015/05/13 02:04:46 floppym Exp $ + + 13 May 2015; Mike Gilbert <[email protected]> urllib3-1.10.3.ebuild: + Exclude tests which rely on tarpit address 10.255.255.1. 13 May 2015; Ian Delaney <[email protected]> urllib3-1.10.3.ebuild: update notation of bugs filed upstream
