Skip to content

Commit 8cb20a8

Browse files
author
AntoniaSzecsi
committed
fix: python env not picked up by poetry on amazon linux
1 parent 611f93d commit 8cb20a8

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,6 @@ tmp*.py
153153
deps/artifacts/
154154
deps/aws-lambda-cpp-*/
155155
deps/curl-*/
156+
157+
# local caches
158+
.DS_Store

scripts/__init__.py

Whitespace-only changes.

tests/integration/docker/Dockerfile.echo.amazonlinux2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ RUN /usr/local/bin/python${RUNTIME_VERSION} -m pip install wheel poetry
9090

9191
# Configure poetry to use the correct python version
9292
RUN poetry config virtualenvs.create false
93-
RUN poetry env use /usr/local/bin/python${RUNTIME_VERSION}
93+
RUN poetry env use python3
9494

9595
RUN make init build
9696

tests/integration/docker/Dockerfile.echo.amazonlinux2023

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ RUN /usr/local/bin/python${RUNTIME_VERSION} -m pip install setuptools wheel poet
9393

9494
# Configure poetry to use the correct python version
9595
RUN poetry config virtualenvs.create false
96-
RUN poetry env use /usr/local/bin/python${RUNTIME_VERSION}
96+
RUN poetry env use python3
9797
RUN make init build
9898

9999
RUN ls -la ./dist/

0 commit comments

Comments
 (0)