all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* docker-compose not work
@ 2019-06-16 15:28 arkhan
  2019-06-16 17:46 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: arkhan @ 2019-06-16 15:28 UTC (permalink / raw)
  To: help-guix

regards,

I just installed guixsd in my work station, at the moment everything is fine.

install docker and docker-compose but at the time of executing it I have the following error

Traceback (most recent call last):
 File "/gnu/store/l26izdvqqb5lpbbiwk3rhd6zf5q5x7sh-docker-compose-1.5.2/bin/.docker-compose-real", line 6, in <module>
 from pkg_resources import load_entry_point
 File "/gnu/store/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3088, in <module>
 @_call_aside
 File "/gnu/store/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
 f(*args, **kwargs)
 File "/gnu/store/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-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/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-python-3.7.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 574, in _build_master
 ws.require(__requires__)
 File "/gnu/store/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-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/wqr8rwnwpmag01i6kb0laf62vsqnhrxy-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

apparently the dependencies of this package are wrong,

someone can tell me how I can solve it.

thank you.

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

* Re: docker-compose not work
  2019-06-16 15:28 docker-compose not work arkhan
@ 2019-06-16 17:46 ` Tobias Geerinckx-Rice
  2019-06-17  0:42   ` Edison Ibáñez
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-06-16 17:46 UTC (permalink / raw)
  To: help-guix

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

Arkhan,

arkhan@disroot.org wrote:
> regards,

Hullo, and welcome to Guix!

> install docker and docker-compose but at the time of executing 
> it I have the following error

[…]

> pkg_resources.DistributionNotFound: The 'jsonschema<3,>=2.5.1' 
> distribution was not found and is required by docker-compose
>
> apparently the dependencies of this package are wrong,
>
> someone can tell me how I can solve it.

The root of this problem is that our docker-compose package is 
*very* old: it was added in January 2016(!), and has never been 
updated since.  I guess that proves how unneccessary Docker is 
once you've discovered Guix…  *ducks*

We have docker-compose 1.5.2.  Upstream is currently at 1.24.0. 
Updating it probably won't be trivial (although I haven't checked 
in detail—it might be).

However, even 1.24.0 complains about jsonschema<3,>=2.5.1 not 
being found.  Since Docker insists on using an old library, and I 
don't feel comfortable removing the version constraints (I don't 
use Docker), I've added it back on master and told docker-compose 
to use it.

Could you guix pull and try an updated docker-compose?  If you're 
very lucky, this more than 3-year-old piece of software will just 
work.  If not, please open a bug by sending your message to 
bug-guix@gnu.org.

Thanks!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* Re: docker-compose not work
  2019-06-16 17:46 ` Tobias Geerinckx-Rice
@ 2019-06-17  0:42   ` Edison Ibáñez
  2019-06-17  1:27     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Edison Ibáñez @ 2019-06-17  0:42 UTC (permalink / raw)
  To: help-guix

Hello Tobias

I have tried to update the package as you can see in the paste

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

but I still have the same error.

for work reasons I have to use docker for the different projects in which he participated


El domingo 16 de junio del 2019 a las 1246 horas, Tobias Geerinckx-Rice escribió:

> Arkhan,
>
> arkhan@disroot.org wrote:
>> regards,
>
> Hullo, and welcome to Guix!
>
>> install docker and docker-compose but at the time of executing it I
>> have the following error
>
> […]
>
>> pkg_resources.DistributionNotFound: The 'jsonschema<3,>=2.5.1'
>> distribution was not found and is required by docker-compose
>>
>> apparently the dependencies of this package are wrong,
>>
>> someone can tell me how I can solve it.
>
> The root of this problem is that our docker-compose package is *very*
> old: it was added in January 2016(!), and has never been updated
> since.  I guess that proves how unneccessary Docker is once you've
> discovered Guix…  *ducks*
>
> We have docker-compose 1.5.2.  Upstream is currently at
> 1.24.0. Updating it probably won't be trivial (although I haven't
> checked in detail—it might be).
>
> However, even 1.24.0 complains about jsonschema<3,>=2.5.1 not being
> found.  Since Docker insists on using an old library, and I don't feel
> comfortable removing the version constraints (I don't use Docker),
> I've added it back on master and told docker-compose to use it.
>
> Could you guix pull and try an updated docker-compose?  If you're very
> lucky, this more than 3-year-old piece of software will just work.  If
> not, please open a bug by sending your message to bug-guix@gnu.org.
>
> Thanks!
>
> T G-R

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

* Re: docker-compose not work
  2019-06-17  0:42   ` Edison Ibáñez
@ 2019-06-17  1:27     ` Tobias Geerinckx-Rice
  2019-06-18  9:10       ` Björn Höfling
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-06-17  1:27 UTC (permalink / raw)
  To: help-guix, Edison Ibáñez

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

Edison,

Edison Ibáñez wrote:
> I have tried to update the package as you can see in the paste
>
> https://bin.disroot.org/?d21a1c74236d7ebd#FlZ2iQxLIkrclC1O45wr7YuUI5bjBcjStwc710J6TWo=
>
> but I still have the same error.

Well, I had already said as much in my previous e-mail:

Tobias Geerinckx-Rice wrote:
>> However, even 1.24.0 complains about jsonschema<3,>=2.5.1 not 
>> being
>> found.  Since Docker insists on using an old library, and I 
>> don't feel
>> comfortable removing the version constraints (I don't use 
>> Docker),

So please guix pull, update docker-compose (‘guix upgrade 
docker-compose’), and check whether it works with the old version 
of python-jsonschema I added.

Even if you want to update to 1.24.0, you'll still have to add 
python-jsonschema-2.6 as an input, as done in commit 
914bba28096c1b85e368537c02e9841258887acb.

Lastly, I'm aware that updating to a 1.24.0 that builds is trivial 
(I had to do so to write the above), but I don't know if it will 
actually work in practice without updating the rest of Docker. 
Hence the conservatism.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* Re: docker-compose not work
  2019-06-17  1:27     ` Tobias Geerinckx-Rice
@ 2019-06-18  9:10       ` Björn Höfling
  0 siblings, 0 replies; 5+ messages in thread
From: Björn Höfling @ 2019-06-18  9:10 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

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

On Mon, 17 Jun 2019 03:27:30 +0200
Tobias Geerinckx-Rice <me@tobias.gr> wrote:

> Edison,
> 
> Edison Ibáñez wrote:
> > I have tried to update the package as you can see in the paste
> >
> > https://bin.disroot.org/?d21a1c74236d7ebd#FlZ2iQxLIkrclC1O45wr7YuUI5bjBcjStwc710J6TWo=
> >
> > but I still have the same error.  

Tobias, thanks for fixing this. I merged and closed the bugs 36256
35779.

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 be 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-16 15:28 docker-compose not work arkhan
2019-06-16 17:46 ` Tobias Geerinckx-Rice
2019-06-17  0:42   ` Edison Ibáñez
2019-06-17  1:27     ` Tobias Geerinckx-Rice
2019-06-18  9:10       ` Björn Höfling

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.