-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
On windows poetry cannot self update. If you run poetry install and on of the packages installed is a different version of poetry windows will throw an error that looks like the following (mainly the permission error part of this)
[2023/09/05 18:28:40.090] PermissionError: [WinError 5] Access is denied: 'Z:\\data\\mci\\ae68c42c2af0b203b416c9ffe7d4824a\\venv\\Lib\\site-packages\\~ulwich\\_diff_tree.cp39-win_amd64.pyd'
[2023/09/05 18:28:40.090] at C:\data\mci\ae68c42c2af0b203b416c9ffe7d4824a\venv\lib\site-packages\poetry\utils\env.py:1525 in _run
The correct way to handle this is to install poetry into a separate venv then bootstrap that venv to install the normal venv.
- is related to
-
SERVER-80782 Upgrade dulwich pin
- Closed