Open stuhood opened 6 months ago
I think that this can also exhibit as:
Bootstrapping rye internals
Found a compatible Python version: cpython@3.12.2
× Querying Python at
│ `/home/vscode/.rye/py/cpython@3.12.2/install/bin/python3` failed with
│ status exit status: 1 with exit status: 1
│ --- stdout:
│ --- stderr:
│ 'import warnings' failed; traceback:
│ ModuleNotFoundError: No module named 'warnings'
│ Could not import runpy module
│ Traceback (most recent call last):
│ File "<frozen runpy>", line 14, in <module>
│ File
│ "/home/vscode/.rye/py/cpython@3.12.2/install/lib/python3.12/importlib/__init__.py",
│ line 57, in <module>
│ import warnings
│ ModuleNotFoundError: No module named 'warnings'
│ ---
error: error bootstrapping venv
Caused by:
Failed to create self venv using /home/vscode/.rye/py/cpython@3.12.2/install/bin/python3. uv exited with status: exit status: 1
...perhaps if a Python install was partially extracted when another run tried to use it?
Steps to Reproduce
Running multiple
rye
(sync
in particular, but likely any command which uses an interpreter) processes concurrently, some of the processes can fail with:...while the others succeed.
Expected Result
Unpacked artifacts should be moved to their final location atomically.
Actual Result
See above.
Version Info
Stacktrace
No response