uv: uv fails to install `jupyter_contrib_nbextensions==0.7.0` while pip succeeds
Hello,
I’m using uv 0.4.30 (61ed2a236 2024-11-04) on Windows and I’m trying to install jupyter_contrib_nbextensions==0.7.0. It seems that uv fails to install the package as it cannot be built with the latest versions of setuptools, due to some deprecations.
uv pip install jupyter_contrib_nbextensions==0.7.0
However, the latest version of pip (24.3.1) succeeds to build and install the package and I would like to understand this difference in behavior.
pip install jupyter_contrib_nbextensions==0.7.0
I read the documentation on build failures and I don’t understand if I can force a version of setuptools and wheel for jupyter_contrib_nbextensions.
Also, can I manage this package with uv if it has been installed using pip?
Thank you for your awesome work!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (18 by maintainers)
Commits related to this issue
- Build source distributions at top-level of cache (#8905) ## Summary See: https://github.com/astral-sh/uv/issues/8884. We build in a directory that's deep within the cache; to help with file name ... — committed to astral-sh/uv by charliermarsh 2 years ago
- Remove source distribution filename from cache (#8907) ## Summary In the example outlined in https://github.com/astral-sh/uv/issues/8884, this removes an unnecessary `jupyter_contrib_nbextensions... — committed to astral-sh/uv by charliermarsh 2 years ago
@charliermarsh I’ve tracked program’s behavior, and it should serve as a reference. The nesting of the UV cache seems quite deep, but pip seems to have only the nesting of the source code.
UV (uv 0.4.30 (61ed2a236 2024-11-04))
( maximum 233 without user home path)
PIP (pip 24.3.1)
(maximum 209 without user home path)
I don’t believe so. Using those UNC paths breaks a lot of things – for example, any relative paths in the build will be interpreted relative to the drive: https://github.com/astral-sh/uv/pull/1277
I’m a Windows user and I couldn’t reproduce the problem you mentioned.
Furthermore, according to your description, the package installed with uv is not the same as the one installed with pip.(Corrected)