File tree Expand file tree Collapse file tree 6 files changed +24
-7
lines changed
solutions/python/01-at4/code Expand file tree Collapse file tree 6 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Time to move on to the next stage!
3030
3131Note: This section is for stages 2 and beyond.
3232
33- 1 . Ensure you have ` python (3.11 ) ` installed locally
33+ 1 . Ensure you have ` python (3.13 ) ` installed locally
34341 . Run ` ./your_program.sh ` to run your program, which is implemented in
3535 ` app/main.py ` .
36361 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Python version used to run your code
88# on Codecrafters.
99#
10- # Available versions: python-3.12
11- language_pack : python-3.12
10+ # Available versions: python-3.13
11+ language_pack : python-3.13
Original file line number Diff line number Diff line change 1+ FROM python:3.13-alpine
2+
3+ RUN pip install --no-cache-dir "pipenv>=2024.4.0"
4+
5+ COPY Pipfile /app/Pipfile
6+ COPY Pipfile.lock /app/Pipfile.lock
7+
8+ WORKDIR /app
9+
10+ ENV WORKON_HOME=/venvs
11+
12+ RUN pipenv install
13+
14+ # Force environment creation
15+ RUN pipenv run python3 -c "1+1"
16+
17+ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Pipfile,Pipfile.lock"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Time to move on to the next stage!
3030
3131Note: This section is for stages 2 and beyond.
3232
33- 1 . Ensure you have ` python (3.11 ) ` installed locally
33+ 1 . Ensure you have ` python (3.13 ) ` installed locally
34341 . Run ` ./your_program.sh ` to run your program, which is implemented in
3535 ` app/main.py ` .
36361 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Python version used to run your code
88# on Codecrafters.
99#
10- # Available versions: python-3.12
11- language_pack : python-3.12
10+ # Available versions: python-3.13
11+ language_pack : python-3.13
Original file line number Diff line number Diff line change 11attributes :
2- required_executable : python (3.11 )
2+ required_executable : python (3.13 )
33 user_editable_file : app/main.py
You can’t perform that action at this time.
0 commit comments