File tree 6 files changed +24
-7
lines changed
solutions/python/01-at4/code
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!
30
30
31
31
Note: This section is for stages 2 and beyond.
32
32
33
- 1 . Ensure you have ` python (3.11 ) ` installed locally
33
+ 1 . Ensure you have ` python (3.13 ) ` installed locally
34
34
1 . Run ` ./your_program.sh ` to run your program, which is implemented in
35
35
` app/main.py ` .
36
36
1 . 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
7
7
# Use this to change the Python version used to run your code
8
8
# on Codecrafters.
9
9
#
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!
30
30
31
31
Note: This section is for stages 2 and beyond.
32
32
33
- 1 . Ensure you have ` python (3.11 ) ` installed locally
33
+ 1 . Ensure you have ` python (3.13 ) ` installed locally
34
34
1 . Run ` ./your_program.sh ` to run your program, which is implemented in
35
35
` app/main.py ` .
36
36
1 . 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
7
7
# Use this to change the Python version used to run your code
8
8
# on Codecrafters.
9
9
#
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
1
attributes :
2
- required_executable : python (3.11 )
2
+ required_executable : python (3.13 )
3
3
user_editable_file : app/main.py
You can’t perform that action at this time.
0 commit comments