-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv fails to pip compile nb-black #2638
Comments
I get the same error with pip:
|
Oh, apologies. For me this was running in the context of a larger repo and CI pipeline which didn't give me errors with nb-black but did after I tried migrating to uv. Not sure if there was some other difference/logic that was handling the error there or whether it was using an older version of pip or setuptools. I'll investigate the differences further. |
I'll close this issue now assuming it's not directly uv related. |
Yeah, I can't help with your larger pipeline without understanding it, but it seems nb_black has been broken for awhile and there has been no response from maintainers, I would suggest removing it from your dependency chain if you can: |
uv pip compile fails with nb-black package (while pip compile works with it). I think uv is just being stricter about the version data type in the nb-black's setup.py while pip compile is apparently more lenient. I'm happy to accept this is just something broken in nb-black and I don't plan to keep that dependency... I just noticed the behaviour was different between pip compile and uv pip compile.
Running on Windows, pipx installed uv (with a Python 3.12.2 env). Created a Python 3.11.2 venv and attempted the above uv pip compile (I have reproduced the same issue on Ubuntu too also with a Python 3.11.2 venv).
uv --version
).The text was updated successfully, but these errors were encountered: