unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36256: dependency error with docker-compose
@ 2019-06-17  0:49 Edison Ibáñez
  2019-06-18  9:08 ` Björn Höfling
  0 siblings, 1 reply; 2+ messages in thread
From: Edison Ibáñez @ 2019-06-17  0:49 UTC (permalink / raw)
  To: 36256

Regards,

When installing docker-compose note that the version is outdated and
therefore the dependencies are broken which causes the following error:

Traceback (most recent call last):
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 574, in _build_master
    ws.require(__requires__)
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 892, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-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/1iq4qvdhl5qbw8dy7kxknky6rxi0v3wc-python-jsonschema-3.0.1/lib/python3.7/site-packages), Requirement.parse('jsonschema<3,>=2.5.1'), {'docker-compose'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/gnu/store/kf538ibrwbvmmscjb402rpf8hh369g47-docker-compose-1.24.0/bin/.docker-compose-real", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3088, in <module>
    @_call_aside
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
    f(*args, **kwargs)
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-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/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/gnu/store/zm3188ipzi262s0m8bxm24br77yh9pd8-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 778, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'jsonschema<3,>=2.5.1'
  distribution was not found and is required by docker-compose

Try to update it as seen in the following link:

https://bin.disroot.org/?d21a1c74236d7ebd#FlZ2iQxLIkrclC1O45wr7YuUI5bjBcjStwc710J6TWo=

but I keep getting the same error

I hope you can help me

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#36256: dependency error with docker-compose
  2019-06-17  0:49 bug#36256: dependency error with docker-compose Edison Ibáñez
@ 2019-06-18  9:08 ` Björn Höfling
  0 siblings, 0 replies; 2+ messages in thread
From: Björn Höfling @ 2019-06-18  9:08 UTC (permalink / raw)
  To: Edison Ibáñez; +Cc: 36256-done

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

This bug was fixed by Tobias on commit:

914bba28096c1b85e368537c02e9841258887acb

Please use "guix pull", "guix package -u" and try again.

Further note: The current docker_compose cannot use jsonschema 3.x, it
must use 2.x. There is a bug-report and a pull-request about that, so
it is expected to compatible with the 3.x version soon:

https://github.com/docker/compose/issues/6347

https://github.com/docker/compose/pull/6631

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-18  9:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-17  0:49 bug#36256: dependency error with docker-compose Edison Ibáñez
2019-06-18  9:08 ` Björn Höfling

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).