Bug 1636882
| Summary: | docker-compose throws bogus warning about multiple docker-py versions being installed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | erik.bernstein |
| Component: | docker-compose | Assignee: | Carl George 🤠<carlwgeorge> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | carlwgeorge, davejohansen, error, roman, ttomecek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | docker-compose-1.18.0-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-25 23:16:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
erik.bernstein
2018-10-08 07:57:58 UTC
Something installed from RPM shouldn't advise users to manipulate it's dependencies via pip. python34-docker is correctly pulled in just by installing docker-compose. python34-docker-py doesn't exist, but even if it did it would have file conflicts with python34-docker so you wouldn't be able to install both. I can see why upstream wants the check (pip doesn't care about file conflicts and just overwrites files, and will let you install both docker-py and docker), but it is pointless for the RPM. I've patched it out. https://src.fedoraproject.org/rpms/docker-compose/c/77a765799de7fae359edd8f4739452331e4b4284 docker-compose-1.18.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-33a4b596ca Hi Carl, thanks for your quick response. (In reply to Carl George from comment #1) > Something installed from RPM shouldn't advise users to manipulate it's > dependencies via pip. python34-docker is correctly pulled in just by > installing docker-compose. python34-docker-py doesn't exist, but even if it > did it would have file conflicts with python34-docker so you wouldn't be > able to install both. I can see why upstream wants the check (pip doesn't > care about file conflicts and just overwrites files, and will let you > install both docker-py and docker), but it is pointless for the RPM. I've > patched it out. Not sure about virtualenvironments. Haven't tested it yet, but a user might be able to create a virtualenvironment that contains on older version of python-docker-py. In this case, the package in the venv would conflict with the system package from python34-docker and a warning might be appropriate. On the other Hand, this is somewhat expected when you mess with python packages on your system. docker-compose-1.18.0-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-33a4b596ca docker-compose-1.18.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |