GNU bug report logs - #69735
[BUG] Error running any docker-composse command

Previous Next

Package: guix;

Reported by: Edison Ibáñez <arkhan <at> riseup.net>

Date: Mon, 11 Mar 2024 16:54:02 UTC

Severity: normal

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69735 in the body.
You can then email your comments to 69735 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#69735; Package guix. (Mon, 11 Mar 2024 16:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Edison Ibáñez <arkhan <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 11 Mar 2024 16:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Edison Ibáñez <arkhan <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: [BUG] Error running any docker-composse command
Date: Mon, 11 Mar 2024 16:52:48 +0000
Greetings, with the last Commit, Python-Docker was updated, apparently this causes errors with Docker-Compose, the apparent solution is to update the Docker-Composse version, but changes the installation method of Python to Go, so I can't Generate the patch to update the package.

Give the error:

/gnu/store/v2sr2wqfjnnlf4cr6fbaadslrlz9cdj4-python-paramiko-2.7.2/lib/python3.10/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
Traceback (most recent call last):
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/bin/.docker-compose-real", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
  File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/docker_client.py", line 124, in docker_client
    kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'

Thanks




Information forwarded to bug-guix <at> gnu.org:
bug#69735; Package guix. (Mon, 11 Mar 2024 17:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 69735 <at> debbugs.gnu.org (full text, mbox):

From: Edison Ibáñez <arkhan <at> riseup.net>
To: 69735 <at> debbugs.gnu.org
Subject: [BUG] Error running any docker-composse command
Date: Mon, 11 Mar 2024 17:23:47 +0000
I found this that can be helpful to solve the problem

https://github.com/bonfire-networks/bonfire-app/blob/main/manifest.scm




Information forwarded to bug-guix <at> gnu.org:
bug#69735; Package guix. (Sat, 16 Mar 2024 20:38:02 GMT) Full text and rfc822 format available.

Message #11 received at 69735 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Edison Ibáñez <arkhan <at> riseup.net>
Cc: 69735 <at> debbugs.gnu.org, Arun Isaac <arunisaac <at> systemreboot.net>
Subject: Re: bug#69735: [BUG] Error running any docker-composse command
Date: Sat, 16 Mar 2024 20:37:02 +0000
Hi Edison and CC'ing Arun (commit in question),

On Mon, Mar 11, 2024 at 04:52 PM, Edison Ibáñez wrote:

> Greetings, with the last Commit, Python-Docker was updated, apparently this causes errors with Docker-Compose, the apparent solution is to update the Docker-Composse version, but changes the installation method of Python to Go, so I can't Generate the patch to update the package.
>

Indeed, we are behind with docker compose because it requires some new
effort in packaging.

> Give the error:
>
> /gnu/store/v2sr2wqfjnnlf4cr6fbaadslrlz9cdj4-python-paramiko-2.7.2/lib/python3.10/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
>   "class": algorithms.Blowfish,
> Traceback (most recent call last):
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/bin/.docker-compose-real", line 33, in <module>
>     sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/main.py", line 81, in main
>     command_func()
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/main.py", line 200, in perform_command
>     project = project_from_options('.', options)
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/command.py", line 60, in project_from_options
>     return get_project(
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/command.py", line 152, in get_project
>     client = get_client(
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/docker_client.py", line 41, in get_client
>     client = docker_client(
>   File "/gnu/store/fh9sgccvjx86f168qvh7rvan3rnbydlg-docker-compose-1.29.2/lib/python3.10/site-packages/compose/cli/docker_client.py", line 124, in docker_client
>     kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
> TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
>
> Thanks

I also get this error trying to use 'docker-compose'. This is because
this argument was removed in 7.0.0, see
<https://docker-py.readthedocs.io/en/stable/change-log.html>. Even more,
support for the compose v1 (which is what we are stuck I think until we
can upgrade docker/docker compose) was removed completely. A summary and
link to upstream issue: <https://stackoverflow.com/a/77651191>.

I would suggest we revert commit
d084fb4b04a1cebb59959633660013fff495cd0d and/or use the previous version
6.1.3 until we can have docker compose with v2 support. As it is, this
makes docker-compose unusable on Guix without some manual downgrade.

Arun, what do you think?

Thanks,
John





Information forwarded to bug-guix <at> gnu.org:
bug#69735; Package guix. (Sat, 16 Mar 2024 21:01:01 GMT) Full text and rfc822 format available.

Message #14 received at 69735 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: John Kehayias <john.kehayias <at> protonmail.com>, Edison Ibáñez <arkhan <at> riseup.net>
Cc: 69735 <at> debbugs.gnu.org
Subject: Re: bug#69735: [BUG] Error running any docker-composse command
Date: Sat, 16 Mar 2024 20:59:09 +0000
Hi John,

> I would suggest we revert commit
> d084fb4b04a1cebb59959633660013fff495cd0d and/or use the previous version
> 6.1.3 until we can have docker compose with v2 support. As it is, this
> makes docker-compose unusable on Guix without some manual downgrade.
>
> Arun, what do you think?

Reverted, thanks for reporting!

Regards,
Arun




Reply sent to John Kehayias <john.kehayias <at> protonmail.com>:
You have taken responsibility. (Mon, 25 Mar 2024 01:01:02 GMT) Full text and rfc822 format available.

Notification sent to Edison Ibáñez <arkhan <at> riseup.net>:
bug acknowledged by developer. (Mon, 25 Mar 2024 01:01:02 GMT) Full text and rfc822 format available.

Message #19 received at 69735-done <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 69735-done <at> debbugs.gnu.org,
 Edison Ibáñez <arkhan <at> riseup.net>
Subject: Re: bug#69735: [BUG] Error running any docker-composse command
Date: Mon, 25 Mar 2024 00:59:53 +0000
Hi Arun,

On Sat, Mar 16, 2024 at 08:59 PM, Arun Isaac wrote:

> Hi John,
>
>> I would suggest we revert commit
>> d084fb4b04a1cebb59959633660013fff495cd0d and/or use the previous version
>> 6.1.3 until we can have docker compose with v2 support. As it is, this
>> makes docker-compose unusable on Guix without some manual downgrade.
>>
>> Arun, what do you think?
>
> Reverted, thanks for reporting!
>
> Regards,
> Arun

Thanks! I can confirm things work again. I suppose we can update it to
6.1.3, but I haven't tried yet. More importantly would be to finally
tackle the docker upgrade...

Closing.

John





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Apr 2024 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.