Skip to content

Commit

Permalink
Merge pull request #43 from codecrafters-io/update-python-version-3.12
Browse files Browse the repository at this point in the history
CC-1028 update to python 3.12
  • Loading branch information
libmartinito authored Mar 13, 2024
2 parents 6c9e21e + e0bc1ca commit 5c4e8db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions compiled_starters/python/codecrafters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ debug: false
# Use this to change the Python version used to run your code
# on Codecrafters.
#
# Available versions: python-3.11
language_pack: python-3.11
# Available versions: python-3.12
language_pack: python-3.12
8 changes: 8 additions & 0 deletions dockerfiles/python-3.12.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM python:3.12-alpine

RUN apk add --no-cache 'curl>=7.66'

# Download docker-explorer.
ARG docker_explorer_version=v18
RUN curl --fail -Lo /usr/local/bin/docker-explorer https://github.com/codecrafters-io/docker-explorer/releases/download/${docker_explorer_version}/${docker_explorer_version}_linux_amd64
RUN chmod +x /usr/local/bin/docker-explorer
4 changes: 2 additions & 2 deletions solutions/python/01-init/code/codecrafters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ debug: false
# Use this to change the Python version used to run your code
# on Codecrafters.
#
# Available versions: python-3.11
language_pack: python-3.11
# Available versions: python-3.12
language_pack: python-3.12
4 changes: 2 additions & 2 deletions starter_templates/codecrafters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ debug: false
# on Codecrafters.
#
{{# language_is_python }}
# Available versions: python-3.11
language_pack: python-3.11
# Available versions: python-3.12
language_pack: python-3.12
{{/ language_is_python }}
{{# language_is_swift }}
# Available versions: swift-5.6
Expand Down

0 comments on commit 5c4e8db

Please sign in to comment.