-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.
Description
The core of the problem is that...
- We have a transitive dependency on
pywin32from azure-identity in the dev_requirements for packageazure-ai-ml - During initial venv setup, we install
eng/test_tools.txtanddev_requirements.txt - Right before invoking pytest, we install the target package from whatever packaging method we're supposed to be testing.
- is where the error pops up:
Installing collected packages: pyjwt, pywin32, websocket-client, pyrsistent, importlib-resources, tqdm, pydash, pathspec, jsonschema, docker, azure-storage-file-share, azure-storage-blob, azure-identity, applicationinsights, azure-ai-ml
Attempting uninstall: pyjwt
Found existing installation: PyJWT 2.4.0
Uninstalling PyJWT-2.4.0:
Successfully uninstalled PyJWT-2.4.0
Attempting uninstall: pywin32
Found existing installation: pywin32 304
Uninstalling pywin32-304:
Successfully uninstalled pywin32-304
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\repo\\sdk-for-python\\sdk\\ml\\azure-ai-ml\\.tox\\whl\\lib\\site-packages\\~ywin32_system32\\pythoncom36.dll'
This even happens when the correct, identical version of pywin32 is installed _already.
(snippet from pip freeze)
...
pytoml==0.1.21
pywin32==304
PyYAML==5.3.1
...
I cannot for the life of me understand why it's uninstalling, but that's where the error is coming from.
If it would just recognize the presence of the correct version, we would be ok. Need to resolve this error.
Metadata
Metadata
Assignees
Labels
Central-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.