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

Docker: Python 3.9.1 runs natively on Apple M1 Macs #4232

Closed
wants to merge 3 commits into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Dec 9, 2020

BLOCKED by a pyenv release based on pyenv/pyenv#1752

Related to #4330

Python 3.9.1 runs natively on Apple silicon M1 Macs and is the first version of Python to default to 64-bit on Windows.

Closes #

Technical

Testing

docker build -t openlibrary/olbase:latest -f docker/Dockerfile.olbase .
# If I bash into this image then `pyenv versions` returns 2.7.6, 3.8.6, 3.9.1
export HOSTNAME=${HOSTNAME:-$HOST}
export COMPOSE_FILE="docker-compose.yml:docker-compose.override.yml"
docker-compose down && PYENV_VERSION=3.9.1 docker-compose up -d && docker-compose logs -f --tail=10
open HTTP://localhost:8080/status

Screenshot

Stakeholders

@cclauss cclauss requested a review from cdrini December 9, 2020 10:18
@cclauss cclauss added the State: Blocked Work has stopped, waiting for something (Info, Dependent fix, etc. See comments). [managed] label Dec 14, 2020
@cclauss cclauss marked this pull request as draft December 14, 2020 14:17
@cclauss cclauss changed the title Docker: Python 3.9.1 runs natively on Apple M1 Macs Draft: Docker: Python 3.9.1 runs natively on Apple M1 Macs Dec 14, 2020
@cclauss cclauss changed the title Draft: Docker: Python 3.9.1 runs natively on Apple M1 Macs Docker: Python 3.9.1 runs natively on Apple M1 Macs Jan 10, 2021
@cclauss cclauss marked this pull request as ready for review January 10, 2021 08:25
@cclauss cclauss added Python and removed State: Blocked Work has stopped, waiting for something (Info, Dependent fix, etc. See comments). [managed] labels Jan 10, 2021
@cclauss cclauss added this to the Active Sprint milestone Jan 10, 2021
@cclauss cclauss closed this Jan 15, 2021
@cclauss cclauss deleted the Python-3.9.1 branch January 15, 2021 00:24
@mekarpeles mekarpeles added python Pull requests that update Python code and removed Module: Python labels Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants