remove .python-version (#32714)

* remove .python-version

* no cp
old-commit-hash: ddfb31f1bf
testing-closet^2
Adeeb Shihadeh 11 months ago committed by GitHub
parent a5aa89fe69
commit 632060c0dc
  1. 1
      .python-version
  2. 2
      Dockerfile.openpilot_base
  3. 2
      tools/install_python_dependencies.sh

@ -1 +0,0 @@
3.12.4

@ -68,7 +68,7 @@ ENV PYENV_VERSION=3.12.4
ENV PYENV_ROOT="/home/$USER/pyenv" ENV PYENV_ROOT="/home/$USER/pyenv"
ENV PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH" 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/ COPY --chown=$USER tools/install_python_dependencies.sh /tmp/tools/
RUN cd /tmp && \ RUN cd /tmp && \

@ -41,7 +41,7 @@ fi
export MAKEFLAGS="-j$(nproc)" 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 if ! pyenv prefix ${PYENV_PYTHON_VERSION} &> /dev/null; then
# no pyenv update on mac # no pyenv update on mac
if [ "$(uname)" == "Linux" ]; then if [ "$(uname)" == "Linux" ]; then

Loading…
Cancel
Save