Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
docker-compose broken after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 362
Location: Leamington Spa, Warks, UK

PostPosted: Sun Mar 10, 2019 11:03 pm    Post subject: docker-compose broken after update Reply with quote

After updating, I'm getting the following when running docker-compose:
Code:
pkg_resources.DistributionNotFound: The 'requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1' distribution was not found and is required by docker-compose


From what I can see in Portage, there's only one version of app-emulation/docker-compose and one version of dev-python/requests (which is 2.21 and therefore outside the range that compose is looking for) so I'm not sure how to resolve this. Anyone else with this problem?
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
b4rti
n00b
n00b


Joined: 11 Mar 2019
Posts: 1
Location: Germany

PostPosted: Mon Mar 11, 2019 10:05 am    Post subject: Reply with quote

Hi. A quick workaround:
In:
/usr/lib/python3.6/site-packages/docker_compose-1.23.2-py3.6.egg-info/requires.txt
and:
/usr/lib/python2.7/site-packages/docker_compose-1.23.2-py2.7.egg-info/requires.txt
change:
requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1
to:
requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.6.1
Back to top
View user's profile Send private message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 362
Location: Leamington Spa, Warks, UK

PostPosted: Mon Mar 11, 2019 10:19 am    Post subject: Reply with quote

Yep, that worked. tyvm :-)
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum