Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 support #11

Closed
fergyfresh opened this issue Sep 14, 2018 · 6 comments
Closed

python3 support #11

fergyfresh opened this issue Sep 14, 2018 · 6 comments

Comments

@fergyfresh
Copy link

Hey, i don't know much about this, but I'm trying to use your container to do the following.

docker-compose up
pip install -r requirements.txt
python -m unittest

I know this isn't much to go off of, but i noticed the latest docker build on dockerhub uses python2.7 and was wondering if you could point me in the right direction of making this python3.6 compatible provided you think its possible.

@tmaier
Copy link
Owner

tmaier commented Apr 12, 2019

Related PR #12

@tmaier
Copy link
Owner

tmaier commented Apr 12, 2019

The use case you are describing works, but is unintended. See similar discussion on #3

@ollisal
Copy link

ollisal commented Jan 8, 2020

Python2 has reached end-of-life and docker-compose upstream is currently removing support for it: docker/compose#6890

Current docker-compose also has some annoying bugs when used with Python2, e.g. docker/docker-py#2425.

Thus, changing to python3 sooner rather than later would be a good idea for docker-compose usage alone.

@ollisal
Copy link

ollisal commented Jan 8, 2020

My fork of another similar Docker image, tiangolo/docker-with-compose, at https://github.com/JaksoSoftware/docker-with-compose uses Python 3.8. It's available as python3 inside the container.

Published as ollisal/docker-with-compose

@tmaier
Copy link
Owner

tmaier commented Jan 8, 2020

@ollisal can you open a pull request?

@tmaier
Copy link
Owner

tmaier commented Jan 13, 2020

@ollisal your link does not work. Can you open a pull request?

@tmaier tmaier closed this as completed Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants