From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#35779: docker-compose missing dependency Date: Sat, 18 May 2019 11:01:28 +0200 Message-ID: References: <20190517162408.GA16169@mail.freearts.agency> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000347077058925c07d" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRvFB-0002nK-Kv for bug-guix@gnu.org; Sat, 18 May 2019 05:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRvF9-0007e1-OV for bug-guix@gnu.org; Sat, 18 May 2019 05:03:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRvF7-0007dI-UG for bug-guix@gnu.org; Sat, 18 May 2019 05:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRvF7-0003fD-PU for bug-guix@gnu.org; Sat, 18 May 2019 05:03:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190517162408.GA16169@mail.freearts.agency> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: sirmacik Cc: 35779@debbugs.gnu.org --000000000000347077058925c07d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, sirmacik ezt =C3=ADrta (id=C5=91pont: 2019. m=C3=A1j= . 17., P=C3=A9n 18:25): > Hey Guix! > > I've encountered the following error while trying to run > docker-compose: > > $ docker-compose up > Traceback (most recent call last): > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 574, in _build_master > ws.require(__requires__) > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 892, in require > needed =3D self.resolve(parse_requirements(requirements)) > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 783, in resolve > raise VersionConflict(dist, req).with_context(dependent_req) > pkg_resources.ContextualVersionConflict: (jsonschema 3.0.1 > (/gnu/store/w0qzc3l0w8i2ikgjrfjhgk9wh07pcn9x-python-jsonschema-3.0.1/lib/= python3.7/site-packages), > Requirement.parse('jsonschema<3,>=3D2.5.1'), {'docker-compose'}) > The problem here seems to be that the jsonschema package is too new. First I would check if it is possible to update docker to a version, where the current jsonschema is ok, if not then reintroducing an older jsonschema version, and depending on that in docker would work. I am writing this from a mobile, and have no way to look into this more right now. > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File > "/gnu/store/7kblfjjjlkvy92gmqq0i9fksimcarrih-docker-compose-1.5.2/bin/.do= cker-compose-real", > line 6, in > from pkg_resources import load_entry_point > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 3088, in > @_call_aside > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 3072, in _call_aside > f(*args, **kwargs) > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 3101, in _initialize_master_working_set > working_set =3D WorkingSet._build_master() > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 576, in _build_master > return cls._build_from_requirements(__requires__) > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 589, in _build_from_requirements > dists =3D ws.resolve(reqs, Environment()) > File > "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/s= ite-packages/pkg_resources/__init__.py", > line 778, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'jsonschema<3,>=3D2.5.1' > distribution was not found and is required by docker-compose > > It happens every time one invokes program and Unfortunately makes it > unusable. :/ > > -- > sirmacik > PGP: 0xE0DC81D523891771 > Best regards, g_bor > > > > --000000000000347077058925c07d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

sirmacik <sirmacik@wioo.waw.pl> ezt =C3=ADrta (id=C5=91pont: 2019. m=C3= =A1j. 17., P=C3=A9n 18:25):
Hey Gui= x!

I've encountered the following error while trying to run
docker-compose:

$ docker-compose up
Traceback (most recent call last):
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 574, in _= build_master
=C2=A0 =C2=A0 ws.require(__requires__)
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 892, in r= equire
=C2=A0 =C2=A0 needed =3D self.resolve(parse_requirements(requirements))
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 783, in r= esolve
=C2=A0 =C2=A0 raise VersionConflict(dist, req).with_context(dependent_req)<= br> pkg_resources.ContextualVersionConflict: (jsonschema 3.0.1 (/gnu/store/w0qz= c3l0w8i2ikgjrfjhgk9wh07pcn9x-python-jsonschema-3.0.1/lib/python3.7/site-pac= kages), Requirement.parse('jsonschema<3,>=3D2.5.1'), {'do= cker-compose'})
The probl= em here seems to be that the jsonschema package is too new. First I would c= heck if it is possible to update docker to a version, where the current jso= nschema is ok, if not then reintroducing an older jsonschema version, and d= epending on that in docker would work. I am writing this from a mobile, and= have no way to look into this more right now.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
=C2=A0 File "/gnu/store/7kblfjjjlkvy92gmqq0i9fksimcarrih-docker-compos= e-1.5.2/bin/.docker-compose-real", line 6, in <module>
=C2=A0 =C2=A0 from pkg_resources import load_entry_point
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 3088, in = <module>
=C2=A0 =C2=A0 @_call_aside
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 3072, in = _call_aside
=C2=A0 =C2=A0 f(*args, **kwargs)
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 3101, in = _initialize_master_working_set
=C2=A0 =C2=A0 working_set =3D WorkingSet._build_master()
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 576, in _= build_master
=C2=A0 =C2=A0 return cls._build_from_requirements(__requires__)
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 589, in _= build_from_requirements
=C2=A0 =C2=A0 dists =3D ws.resolve(reqs, Environment())
=C2=A0 File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/= lib/python3.7/site-packages/pkg_resources/__init__.py", line 778, in r= esolve
=C2=A0 =C2=A0 raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jsonschema<3,>=3D2.5.1&#= 39; distribution was not found and is required by docker-compose

It happens every time one invokes program and Unfortunately makes it
unusable. :/

--
sirmacik
PGP: 0xE0DC81D523891771
Best = regards,
g_bor



--000000000000347077058925c07d--