diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2018-12-15 16:25:59 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-16 12:22:14 +0100 |
commit | 53261d8082692aa62bdbf7edcaba163f81590a8c (patch) | |
tree | 30e12ce2ab4f08ad4ed41a6d503de1ca92deeea2 /package/lua-periphery/0001-Add-missing-header-for-musl-compatibility.patch | |
parent | d810fee306e9a3b9c2408e2927288c1bc4c8d699 (diff) | |
download | buildroot-53261d8082692aa62bdbf7edcaba163f81590a8c.tar.gz buildroot-53261d8082692aa62bdbf7edcaba163f81590a8c.zip |
package/docker-compose: add patch to allow recent 2.x releases of python-requests
setup.py explicitly listed a maximum allowed version of python-requests,
causing runtime failures with the python-requests version we have:
Loaded image: docker-enp.bin.cloud.barco.com/eis/baseos-docker-snmp:0.1.0
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 6, in <module>
from pkg_resources import load_entry_point
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3123, in <module>
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3107, in _call_aside
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3136, in _initialize_master_working_set
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 580, in _build_master
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements
File "usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
pkg_resources.DistributionNotFound: The 'requests!=2.11.0,!=2.12.2,!=2.18.0,<2.19,>=2.6.1' distribution was not found and is required by docker-compose
FAIL
Upstream regularly updates setup.py as new python-requests releases are
made, but it is unknown why new python-requests releases (which are supposed
to be backwards compatible) should not be allowed right away.
Add a path submitted upstream to only disallow new major versions, similar
to how the other dependencies are handled.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/lua-periphery/0001-Add-missing-header-for-musl-compatibility.patch')
0 files changed, 0 insertions, 0 deletions