Closed bjcubsfan closed 9 years ago
We run our tests against python3. master
supports python3, and the support will be in the next release (1.5.0).
The version up on pypi is of the latest release which doesn't yet support python3.
You can pip install master with this command:
pip install git+git://github.com/docker/compose.git@master
OK, thanks
The problem is still present in current 1.5.0rc3. Does that mean that support for Python 3 has been postponed?
Python 3 support is in 1.5.0. Could you paste the stack trace you're seeing?
Uhm, I was tricked by the fact that by default pip installs only stable versions. I shall pin the exact version of docker-compose in my requirements.txt file, or use pip install --pre
.
Thank you and sorry for the noise.
I used conda to set up a python environment with both python 2 and python 3:
I pip installed docker compose in each environment:
The
docker-compose
command works in the python2 environment, but not in the python3 environment. It also does not work in my native python3 environment on Arch Linux. It throws an error about the 'Queue' package. I think you could use the python six module to make this work with both python2 and python3. Here's the error that was thrown: