-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Python dependencies are no longer checked #253131
Comments
I encountered this in a context where it is bad because I have a package with |
Dependencies are no longer checked at all, regardless of the value of More concretely, it is neither checked whether a requirement exists at all nor whether the required version matches. I've confirmed this for This is a major regression. WorkaroundAdd the following to your # Enable Python requirements check
dontUsePypaInstall = true;
nativeBuildInputs = [ pipInstallHook ]; |
With my poc (same as OP but updated) it's different:
I can also show that in the |
The dependency check has now been introduced in python-updates branch as |
Describe the bug
The python tooling does not enforce the presence of dependencies at build time when
doCheck
is set to false.Steps To Reproduce
Steps to reproduce the behavior:
nix build github/lourkeur/nixpkgs-python-dependency-bypass
Expected behavior
The build should fail with
ERROR; Could not find a version that satisfies the requirement [...]
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Introduced in #248866
Notify maintainers
@tjni and @FRidh for the bisected commits (6c85fff,0d7647889c6701d8a0e6fa784e886012011ca2d8)
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: