From 6b5f048b4b8f6779d2f9b3b74bc0904cca4bf422 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 11 Feb 2023 23:03:12 +0000 Subject: [PATCH] Problems with venv script, ongoing.. --- requirements-p11d3.txt | 0 requirements.txt | 31 +++++++++++-------------------- venv-trog.sh | 10 ++++++++-- 3 files changed, 19 insertions(+), 22 deletions(-) create mode 100644 requirements-p11d3.txt diff --git a/requirements-p11d3.txt b/requirements-p11d3.txt new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt index e0762b9..2479500 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,22 +1,13 @@ -asgiref==3.5.2 -attrs==22.2.0 -black==22.12.0 -click==8.1.3 -colorama==0.4.6 -coverage==6.5.0 +asgiref==3.6.0 +black==23.1.0 +coverage==7.1.0 Django==3.2 -docutils==0.19 -interrogate==1.5.0 -isort==5.11.4 -mypy-extensions==0.4.3 -pathspec==0.10.3 -Pillow==9.3.0 -platformdirs==2.6.2 -py==1.11.0 -pytz==2022.6 -ruff==0.0.226 -sqlparse==0.4.3 -tabulate==0.9.0 -toml==0.10.2 -typing_extensions==4.4.0 +isort==5.12 +mypy-extensions==1.0.0 +pathspec==0.11 +Pillow==9.4.0 +pytz==2022.7 +ruff==0.0.245 +setuptools==67.2.0 Unidecode==1.3.6 + diff --git a/venv-trog.sh b/venv-trog.sh index fc91704..a47ab87 100644 --- a/venv-trog.sh +++ b/venv-trog.sh @@ -12,8 +12,8 @@ echo '-- Run this in a terminal in the real troggle directory: "bash venv-trog.s # NOW we set up troggle -PYTHON=python3.10 -VENAME=p10d3 # python3.x and django 3.2 +PYTHON=python3.11 +VENAME=p11d3 # python3.x and django 3.2 echo "** You are logged in as `id -u -n`" echo "The 50MB pip cache will be in /home/`id -u -n`/.cache/" echo "The 150MB venv will created in /home/`id -u -n`/$VENAME/" @@ -96,6 +96,12 @@ ls -tla echo "###" echo "### now installing ${TROGDIR}/requirements.txt" echo "###" + +# NOW THERE IS A PERMISSIONS FAILURE THAT DIDN'T HAPPEN BEFORE +# seen on wsl2 as well as wsl1 +# which ALSO ruins EXISTING permissions ! +# Guessing it is to do with pip not liking non-standard py 3.11 installation on Ubuntu 22.04 + $PIP install -r ${TROGDIR}/requirements.txt echo '### install from requirements.txt completed.' echo '### '