chevah / pythia

Chevah's Python 3 distribution
MIT License
4 stars 2 forks source link

Reimplement caching code #61

Open adiroiban opened 1 month ago

adiroiban commented 1 month ago

Right now pythia.sh will try to initialize using any directory that already exists on CACHE_PATH

The problem is that you can end up with an invalid directory and pythia.sh will keep trying to init fro that folder.

For example

$ ls -sl /srv/k8s/arc/pythia-cache/python3.11-linux-x64/
total 0
0 drwxr-xr-x 3 1001 1001 151 Jun 13 08:53 lib

Required chages: