Bug 2159979 - F38FailsToInstall: docker-compose
Summary: F38FailsToInstall: docker-compose
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-compose
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Tomecek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F38FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-01-11 09:41 UTC by Fedora Fails To Install
Modified: 2023-04-26 03:19 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-26 03:19:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-01-11 09:41:21 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (docker-compose) Fails To Install in Fedora 38:

can't install docker-compose:
  - nothing provides python3-dockerpty >= 0.4.1 needed by docker-compose-1.29.2-7.fc38.noarch
  - nothing provides python3.11dist(dockerpty) >= 0.4.1 needed by docker-compose-1.29.2-7.fc38.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-38-x86_64 --config-opts mirrored=False install docker-compose


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Tomas Tomecek 2023-01-13 10:36:54 UTC
`python3-dockerpty` is now retired and no longer available in Fedora, hence this bugzilla

is anyone still using this older python implementation of docker-compose? is there a value keeping this package alive?

I will either pick up dockerpty or orphan/retire docker-compose: please provide feedback in this bugzilla.

Comment 2 Sergio Basto 2023-01-20 23:04:13 UTC
*** Bug 2000794 has been marked as a duplicate of this bug. ***

Comment 3 Sergio Basto 2023-01-21 01:02:39 UTC
Hello , we need docker-compose https://docs.docker.com/compose/ for docker eco system , but we need update it from version 1 to 2, and packaging changed from python to go , as maintainer of moby-engine I want keep , I'm proven packager but I'd like that you add me as admin of this package thank you

Comment 4 Tomas Tomecek 2023-01-30 08:14:31 UTC
Thank you Sergio for your feedback, I'll add you. I'm curious if we should do all the changes in docker-compose (switch from 1 to 2), or have both implementations available: docker-compose would be 2, and docker-compose1 would be 1.

Comment 5 Ben Cotton 2023-02-07 15:12:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 6 Lorenzo J. Lucchini 2023-03-27 17:22:28 UTC
If, as I understand it, you're kind of asking for "me too"s about this package being valued, I personally would much rather use docker-compose (ideally a recent version, sure) from official Fedora repositories than having to add third-party repositories, which I try to avoid as they often create complications when upgrading and otherwise.

Comment 7 Iker Pedrosa 2023-04-17 14:23:21 UTC
The SSSD package is being tested using an environment that is setup using docker-compose. I think it's fine for us to use either of the two versions, but we'd at least need one of them.

Taking into account that Fedora 38 is released tomorrow, do you have any plan to work on the fix?

Comment 8 Tomas Tomecek 2023-04-18 07:58:57 UTC
This fell of my radar.

I just requested unretiring dockerpty: https://pagure.io/releng/issue/11391

If you depend on this software, I welcome you as comaintainers. Both packages are no longer maintained upstream so this is about keeping them alive.

Comment 9 Iker Pedrosa 2023-04-18 08:10:07 UTC
Which are the two packages that aren't maintained upstream?

I'm don't have a great knowledge of docker-compose so I'm asking another question. Why is upstream releasing v2, and Fedora still keeps v1? Is there any problem with licenses? Or is it manpower shortage?

Comment 10 Tomas Tomecek 2023-04-18 09:24:49 UTC
docker-compose was rewritten from Python to golang, see discussion above; packaging v2 is a colossal effort

therefore docker-compose python v1 version is no longer maintained upstream

the same for dockerpty (the low level lib that makes `exec` work), no commit in 5+ years

Comment 11 Iker Pedrosa 2023-04-18 09:43:48 UTC
I see this isn't a small effort task and it will take a long time.

Out of curiosity, do you know how difficult would it be to move away from docker-compose to podman-compose? I guess they follow a similar file structure and things should be quite straightforward.

Comment 12 Sergio Basto 2023-04-18 10:44:51 UTC
please try run :

go2rpm https://github.com/docker/compose
spectool -g golang-github-docker-compose.spec
fedpkg mockbuild 

you will see : 

No matching package to install: 'golang(github.com/compose-spec/compose-go/cli)'
No matching package to install: 'golang(github.com/compose-spec/compose-go/errdefs)'
No matching package to install: 'golang(github.com/compose-spec/compose-go/loader)'
No matching package to install: 'golang(github.com/compose-spec/compose-go/types)'
No matching package to install: 'golang(github.com/compose-spec/compose-go/utils)'
No matching package to install: 'golang(github.com/docker/buildx/build)'
No matching package to install: 'golang(github.com/docker/buildx/builder)'
No matching package to install: 'golang(github.com/docker/buildx/driver)'
No matching package to install: 'golang(github.com/docker/buildx/driver/docker)'
No matching package to install: 'golang(github.com/docker/buildx/driver/docker-container)'
No matching package to install: 'golang(github.com/docker/buildx/driver/kubernetes)'
No matching package to install: 'golang(github.com/docker/buildx/driver/remote)'
No matching package to install: 'golang(github.com/docker/buildx/store/storeutil)'
No matching package to install: 'golang(github.com/docker/buildx/util/buildflags)'
No matching package to install: 'golang(github.com/docker/buildx/util/dockerutil)'
No matching package to install: 'golang(github.com/docker/buildx/util/imagetools)'
No matching package to install: 'golang(github.com/docker/buildx/util/logutil)'
No matching package to install: 'golang(github.com/docker/buildx/util/progress)'
No matching package to install: 'golang(github.com/docker/cli-docs-tool)'
No matching package to install: 'golang(github.com/tilt-dev/fsnotify)'


we will need pack these packages compose-spec/compose-go , docker/buildx , docker/cli-docs-tool and tilt-dev/fsnotify

Comment 13 Sergio Basto 2023-04-18 10:45:31 UTC
for docker-compose-2.17.2

Comment 14 David McInnis 2023-04-20 05:17:26 UTC
I need docker-compose for my work.  Is there a work-around till this package gets fixed?

Comment 15 David McInnis 2023-04-20 05:24:45 UTC
I found a work-around to install the compose plugin manually: https://docs.docker.com/compose/install/linux/#install-the-plugin-manually

Comment 16 Fedora Update System 2023-04-21 08:55:35 UTC
FEDORA-2023-dcf5ef9eda has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dcf5ef9eda

Comment 17 Fedora Fails To Install 2023-04-21 13:56:27 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39.

Thanks for taking care of it!

Comment 18 Chris Evich 2023-04-21 18:25:52 UTC
It's a bit late, but just for the record I need the docker-compose package in F38 for upstream podman CI testing.

Comment 19 Fedora Update System 2023-04-22 01:41:16 UTC
FEDORA-2023-dcf5ef9eda has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-dcf5ef9eda`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-dcf5ef9eda

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2023-04-26 03:19:40 UTC
FEDORA-2023-dcf5ef9eda has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.