nangtani / blender-addon-tester

The blender addon tester is a test harness to enable pytest hook to allow addons to be tested inside a defined version of blender.
MIT License
64 stars 13 forks source link

Windows failure observed on locally run machines (Not CI) #9

Closed douglaskastle closed 4 years ago

douglaskastle commented 4 years ago

Only happens with the python 3.5 version so 2.78 an 2.79. version 2.80 works fine and above, which has python3.7

Exception:
Traceback (most recent call last):
  File "C:\cygwin64\home\douglas\projects\blender-fake-addon\examples\blender-2.79b-windows64\2.79\python\lib\shutil.py", line 544, in move
    os.rename(src, real_dst)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'c:\\cygwin64\\home\\douglas\\projects\\blender-fake-addon\\examples\\blender-2.79b-windows64\\2.79\\python\\lib\\site-packages\\pip\\_vendor\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\__pycache__\\__init__.cpython-35.pyc' -> 'C:\\Users\\douglas\\AppData\\Local\\Temp\\pip-e9ejge9c-uninstall\\cygwin64\\home\\douglas\\projects\\blender-fake-addon\\examples\\blender-2.79b-windows64\\2.79\\python\\lib\\site-packages\\pip\\_vendor\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\__pycache__\\__init__.cpython-35.pyc'
douglaskastle commented 4 years ago

This seems to be as a result of the pip contained inside the python that comes with blender doesn't hold the correct information to remove itself.

This becomes an issue when you want to upgrade pip with a newer version of pip. It first tries to remove itself and fails. Any action after that is broken.

douglaskastle commented 4 years ago

This appears to be working locally and on github actions