Skip to content

Commit

Permalink
Update to use python 3.12 instead
Browse files Browse the repository at this point in the history
Signed-off-by: Jauder Ho <jauderho@users.noreply.github.com>
  • Loading branch information
jauderho committed May 15, 2024
1 parent 30ca556 commit 96a3694
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/updatePythonDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ git config pull.rebase false
#PATH="$HOME/.local/bin:$PATH"
#pipenv install --python 3.9
#pipenv shell
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends pipenv python3.11
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends pipenv python3.12
#DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends pipenv

cd "$1"
Expand All @@ -25,12 +25,12 @@ echo
# for python3.10 and ubuntu 22.04
#python -m pip install -U pip
#python -m pip install -U setuptools
python3.11 -m pip install --no-cache-dir --upgrade pip
python3.11 -m pip install --no-cache-dir --upgrade --user pipenv certifi wheel setuptools packaging
python3.12 -m pip install --no-cache-dir --upgrade pip --break-system-packages
python3.12 -m pip install --no-cache-dir --upgrade --user pipenv certifi wheel setuptools packaging --break-system-packages
#python3.11 -m pip install --no-cache-dir --upgrade --user pipenv
#python3.11 -m pip install --no-cache-dir --upgrade --user certifi
#pipenv lock && pipenv requirements > requirements.txt
pipenv --python 3.11 lock && pipenv --python 3.11 requirements > requirements.txt
pipenv --python 3.12 lock && pipenv --python 3.12 requirements > requirements.txt

git add Pipfile Pipfile.lock requirements.txt && \
git commit -s -m "Update requirements for $1 ..." && \
Expand Down

0 comments on commit 96a3694

Please sign in to comment.