remove .python-version (#32714)

* remove .python-version

* no cp
This commit is contained in:
Adeeb Shihadeh
2024-06-11 16:25:24 -07:00
committed by GitHub
parent 05669df102
commit ddfb31f1bf
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -1 +0,0 @@
3.12.4
+1 -1
View File
@@ -68,7 +68,7 @@ ENV PYENV_VERSION=3.12.4
ENV PYENV_ROOT="/home/$USER/pyenv"
ENV PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
COPY --chown=$USER pyproject.toml poetry.lock .python-version /tmp/
COPY --chown=$USER pyproject.toml poetry.lock /tmp/
COPY --chown=$USER tools/install_python_dependencies.sh /tmp/tools/
RUN cd /tmp && \
+1 -1
View File
@@ -41,7 +41,7 @@ fi
export MAKEFLAGS="-j$(nproc)"
PYENV_PYTHON_VERSION=$(cat $ROOT/.python-version)
PYENV_PYTHON_VERSION="3.12.4"
if ! pyenv prefix ${PYENV_PYTHON_VERSION} &> /dev/null; then
# no pyenv update on mac
if [ "$(uname)" == "Linux" ]; then