Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666645 - dev-python/elasticsearch-py: urllib3 version requirements are more restrictive that upstream's
Summary: dev-python/elasticsearch-py: urllib3 version requirements are more restrictiv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-09-20 17:37 UTC by Austin English (RETIRED)
Modified: 2018-09-28 11:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (0001-dev-python-elasticsearch-py-fix-requests-urllib3-ver.patch,6.73 KB, patch)
2018-09-20 17:37 UTC, Austin English (RETIRED)
Details | Diff
6.3.0 ebuild (elasticsearch-py-6.3.0-r1.ebuild,2.65 KB, text/plain)
2018-09-20 17:38 UTC, Austin English (RETIRED)
Details
6.3.1 ebuild (elasticsearch-py-6.3.1-r1.ebuild,2.65 KB, text/plain)
2018-09-20 17:38 UTC, Austin English (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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