Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 666645

Summary: dev-python/elasticsearch-py: urllib3 version requirements are more restrictive that upstream's
Product: Gentoo Linux Reporter: Austin English (RETIRED) <wizardedit>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: RESOLVED FIXED    
Severity: normal CC: erkiferenc, proxy-maint
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch
6.3.0 ebuild
6.3.1 ebuild

Description Austin English (RETIRED) gentoo-dev 2018-09-20 17:37:42 UTC
Created attachment 547419 [details, diff]
patch

elasticsearch-py currently has:
RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
    <dev-python/urllib3-1.23[${PYTHON_USEDEP}]"

whereas upstream now allows >1.2.3 (since 6.3.0):
https://github.com/elastic/elasticsearch-py/commit/4352e56174b77560d2f86801cb1ad32440bb2d32#diff-2eeaed663bd0d25b7e608891384b7298

note there's a similar change for requests:
https://github.com/elastic/elasticsearch-py/commit/0252c2c6520bd72e9522f8bbdaff96db03734c6b#diff-2eeaed663bd0d25b7e608891384b7298

this is a problem for me, as I need urllib-1.2.3 because of https://github.com/urllib3/urllib3/issues/1060

I'll attach a patch / ebuilds with the dependencies updated.
Comment 1 Austin English (RETIRED) gentoo-dev 2018-09-20 17:38:06 UTC
Created attachment 547421 [details]
6.3.0 ebuild
Comment 2 Austin English (RETIRED) gentoo-dev 2018-09-20 17:38:19 UTC
Created attachment 547423 [details]
6.3.1 ebuild
Comment 3 Tomáš Mózes 2018-09-20 17:40:13 UTC
https://github.com/gentoo/gentoo/pull/9927