Page MenuHomeSolus

docker-compose conflict with python-backports.functools_lru_cache
Closed, ResolvedPublic

Description

docker-compose cannot be installed when you already have the package python-backports.functools_lru_cache installed.
I have it installed as a dependency of pylint.

Conflicting files:

/usr/lib/python2.7/site-packages/backports/__init__.py
/usr/lib/python2.7/site-packages/backports/__init__.pyc

eopkg output:

stewartwebb@muh-1 ~ $ sudo eopkg it docker-compose`
Password: 
Following packages will be installed:
docker-compose     python-backports.ssl_match_hostname  python-colorama
python-docker-py   python-dockerpty                     python-docopt  
python-jsonschema  python-websocket-client            
Total size of package(s): 671.00 KB
There are extra packages due to dependencies. Do you want to continue? (yes/no)yes
Downloading 1 / 8
Package python-backports.ssl_match_hostname found in repository Solus
python-backports.ssl_match_hostname-3.5.0.1-1-1-x86_64.eopkg [cached]
Downloading 2 / 8
Package python-websocket-client found in repository Solus
python-websocket-client-0.46.0-3-1-x86_64.eopkg [cached]
Downloading 3 / 8
Package python-docker-py found in repository Solus
python-docker-py-2.6.1-7-1-x86_64.eopkg [cached]
Downloading 4 / 8
Package python-colorama found in repository Solus
python-colorama-0.3.7-2-1-x86_64.eopkg [cached]
Downloading 5 / 8
Package python-dockerpty found in repository Solus
python-dockerpty-0.4.1-2-1-x86_64.eopkg [cached]
Downloading 6 / 8
Package python-docopt found in repository Solus
python-docopt-0.6.2-2-1-x86_64.eopkg [cached]
Downloading 7 / 8
Package python-jsonschema found in repository Solus
python-jsonschema-2.6.0-2-1-x86_64.eopkg [cached]
Downloading 8 / 8
Package docker-compose found in repository Solus
docker-compose-1.17.1-10-1-x86_64.eopkg [cached]
Installing 1 / 8
python-backports.ssl_match_hostname-3.5.0.1-1-1-x86_64.eopkg [cached]
Installing python-backports.ssl_match_hostname, version 3.5.0.1, release 1
 [✓] Syncing filesystems                                                success
Program terminated.
File conflicts:
/usr/lib/python2.7/site-packages/backports/__init__.py from python-backports.functools_lru_cache package
/usr/lib/python2.7/site-packages/backports/__init__.pyc from python-backports.functools_lru_cache package

Please use 'eopkg help' for general help.
stewartwebb@muh-1 ~ $ sudo eopkg rm python-backports.functools_lru_cache
The following list of packages will be removed
in the respective order to satisfy dependencies:
pylint python-astroid python-backports.functools_lru_cache 
Do you want to continue? (yes/no)no
Package removal declined

Event Timeline

Should probably have reported against python-backports.ssl_match_hostname, sorry.

kyrios123 added a subscriber: kyrios123.

It's a conflict between python-backports.functools_lru_cache and python-backports.ssl_match_hostname
I think it could be easily solved by having a common python-backports package for

  • /usr/lib/python2.7/site-packages/backports/__init__.py
  • /usr/lib/python2.7/site-packages/backports/__init__.pyc

I will tackle this.

@ikey @JoshStrobl if you agree with the above (more info here), could you please upload the attached file on the web server since there is no repository for it ? I already have the packages updated & tested but this source should be hosted somewhere.