From e87b18eb577eb0d5b73047713b00e57187437b02 Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Wed, 2 Apr 2025 22:05:01 +0530 Subject: [PATCH 1/2] feat: add Dockerfile for Python 3.13 with Pipenv setup --- dockerfiles/python-3.13.Dockerfile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dockerfiles/python-3.13.Dockerfile diff --git a/dockerfiles/python-3.13.Dockerfile b/dockerfiles/python-3.13.Dockerfile new file mode 100644 index 0000000..a71a02b --- /dev/null +++ b/dockerfiles/python-3.13.Dockerfile @@ -0,0 +1,3 @@ +FROM python:3.13-alpine + +RUN apk add --no-cache 'git>=2.40' From f4acef896076dfff71d290987acb66b9e1e6f64b Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Wed, 2 Apr 2025 22:05:10 +0530 Subject: [PATCH 2/2] feat: update Python version to 3.13 in configuration and documentation files --- compiled_starters/python/README.md | 2 +- compiled_starters/python/codecrafters.yml | 4 ++-- solutions/python/01-gg4/code/README.md | 2 +- solutions/python/01-gg4/code/codecrafters.yml | 4 ++-- starter_templates/python/config.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compiled_starters/python/README.md b/compiled_starters/python/README.md index a8ab833..1bb2c87 100644 --- a/compiled_starters/python/README.md +++ b/compiled_starters/python/README.md @@ -27,7 +27,7 @@ That's all! Note: This section is for stages 2 and beyond. -1. Ensure you have `python` installed locally +1. Ensure you have `python (3.13)` installed locally 1. Run `./your_program.sh` to run your Git implementation, which is implemented in `app/main.py`. 1. Commit your changes and run `git push origin master` to submit your solution diff --git a/compiled_starters/python/codecrafters.yml b/compiled_starters/python/codecrafters.yml index ec2956e..0e01962 100644 --- a/compiled_starters/python/codecrafters.yml +++ b/compiled_starters/python/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Python version used to run your code # on Codecrafters. # -# Available versions: python-3.12 -language_pack: python-3.12 +# Available versions: python-3.13 +language_pack: python-3.13 diff --git a/solutions/python/01-gg4/code/README.md b/solutions/python/01-gg4/code/README.md index a8ab833..1bb2c87 100644 --- a/solutions/python/01-gg4/code/README.md +++ b/solutions/python/01-gg4/code/README.md @@ -27,7 +27,7 @@ That's all! Note: This section is for stages 2 and beyond. -1. Ensure you have `python` installed locally +1. Ensure you have `python (3.13)` installed locally 1. Run `./your_program.sh` to run your Git implementation, which is implemented in `app/main.py`. 1. Commit your changes and run `git push origin master` to submit your solution diff --git a/solutions/python/01-gg4/code/codecrafters.yml b/solutions/python/01-gg4/code/codecrafters.yml index ec2956e..0e01962 100644 --- a/solutions/python/01-gg4/code/codecrafters.yml +++ b/solutions/python/01-gg4/code/codecrafters.yml @@ -7,5 +7,5 @@ debug: false # Use this to change the Python version used to run your code # on Codecrafters. # -# Available versions: python-3.12 -language_pack: python-3.12 +# Available versions: python-3.13 +language_pack: python-3.13 diff --git a/starter_templates/python/config.yml b/starter_templates/python/config.yml index 471e35f..22a0370 100644 --- a/starter_templates/python/config.yml +++ b/starter_templates/python/config.yml @@ -1,3 +1,3 @@ attributes: - required_executable: python + required_executable: python (3.13) user_editable_file: app/main.py