Repository navigation
Closed
Labels
bugSomething isn't working
Description
Summary
uv 0.12.11 fails to install some packages with long tempfile paths on Windows when LongPathsEnabled=0.
We generally try to set LongPathsEnabled=1 everywhere in our environment, but there are some CI VM images that don't currently have it enabled. The LongPathsEnabled flag is read at each process startup, so it's easy to toggle before running uv. Changing LongPathsEnabled requires Admin permissions.
| uv version | LongPathsEnabled=0 |
LongPathsEnabled=1 |
|---|---|---|
| 0.12.10 | ✅ | ✅ |
| 0.12.11 | ❌ | ✅ |
MRE
This is with LongPathsEnabled=0.
uv venv -p 3.10 && uv -v pip install jupyterlab-widgets==3.0.16
DEBUG Found workspace root: `C:\projects\foo`
DEBUG Adding root workspace member: `C:\projects\foo`
DEBUG Found workspace configuration at `C:\projects\foo\pyproject.toml`
DEBUG Searching for user configuration in: `C:\Users\user\AppData\Roaming\uv\uv.toml`
DEBUG Found user configuration in: `C:\Users\user\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.12.11 (4b53f66b7 2026-09-08 x86_64-pc-windows-msvc)
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.10.20-windows-x86_64-none` at `C:\projects\foo\.venv\Scripts\python.exe` (virtual environment)
DEBUG Using Python 3.10.20 environment at: .venv
DEBUG At least one requirement is not satisfied: jupyterlab-widgets==3.0.16
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Solving with installed Python version: 3.10.20
DEBUG Solving with target Python version: >=3.10.20
DEBUG Adding direct dependency: jupyterlab-widgets>=3.0.16, <3.0.16+
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/simple/jupyterlab-widgets/
DEBUG Sending fresh GET request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/simple/jupyterlab-widgets/
DEBUG Searching for a compatible version of jupyterlab-widgets (>=3.0.16, <3.0.16+)
DEBUG Selecting: jupyterlab-widgets==3.0.16 [compatible] (jupyterlab_widgets-3.0.16-py3-none-any.whl)
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Sending fresh HEAD request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Tried 1 versions: jupyterlab-widgets 1
DEBUG marker environment resolution took 0.381s
Resolved 1 package in 383ms
DEBUG Identified uncached distribution: jupyterlab-widgets==3.0.16
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Sending fresh GET request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
Prepared 1 package in 136ms
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
WARN Retrying to persist temporary file to C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js: failed to persist temporary file: The system cannot find the path specified. (os error 3)
error: Failed to install: jupyterlab_widgets-3.0.16-py3-none-any.whl (jupyterlab-widgets==3.0.16)
Caused by: Failed to copy to `C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js`
Caused by: Failed to persist temporary file to
C:\projects\foo\.venv\Lib\site-packages\jupyterlab_widgets-3.0.16.data\data\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\packages_base_lib_index_js-webpack_sharing_consume_default_jquery_jquery.5dd13f8e980fa3c50bfe.js:
failed to persist temporary file: The system cannot find the path specified. (os error 3)
Same scenario with uv 0.12.10:
DEBUG Found workspace root: `C:\projects\foo`
DEBUG Adding root workspace member: `C:\projects\foo`
DEBUG Found workspace configuration at `C:\projects\foo\pyproject.toml`
DEBUG Searching for user configuration in: `C:\Users\user\AppData\Roaming\uv\uv.toml`
DEBUG Found user configuration in: `C:\Users\user\AppData\Roaming\uv\uv.toml`
DEBUG uv 0.12.10 (3c979abda 2026-09-04 x86_64-pc-windows-msvc)
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.10.20-windows-x86_64-none` at `C:\projects\foo\.venv\Scripts\python.exe` (virtual environment)
DEBUG Using Python 3.10.20 environment at: .venv
DEBUG At least one requirement is not satisfied: jupyterlab-widgets==3.0.16
DEBUG Using request connect timeout of 10s and read timeout of 30s
DEBUG Solving with installed Python version: 3.10.20
DEBUG Solving with target Python version: >=3.10.20
DEBUG Adding direct dependency: jupyterlab-widgets>=3.0.16, <3.0.16+
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/simple/jupyterlab-widgets/
DEBUG Sending fresh GET request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/simple/jupyterlab-widgets/
DEBUG Searching for a compatible version of jupyterlab-widgets (>=3.0.16, <3.0.16+)
DEBUG Selecting: jupyterlab-widgets==3.0.16 [compatible] (jupyterlab_widgets-3.0.16-py3-none-any.whl)
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Sending fresh HEAD request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Tried 1 versions: jupyterlab-widgets 1
DEBUG marker environment resolution took 0.844s
Resolved 1 package in 847ms
DEBUG Identified uncached distribution: jupyterlab-widgets==3.0.16
DEBUG No cache entry for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
DEBUG Sending fresh GET request for: https://mirrors.corp.internal/artifactory/api/pypi/pypi-proxy/packages/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl
Prepared 1 package in 192ms
Installed 1 package in 101ms
+ jupyterlab-widgets==3.0.16
Platform
Windows 11 x86_64
Version
uv 0.12.11 (4b53f66 2026-09-08 x86_64-pc-windows-msvc)
Python version
Python 3.10.20
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
Test wheel installs without Windows long-path opt-in (#21624)
Fix atomic copies to long Windows paths (#21625)