-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
python3Packages.matplotlib: 3.3.4 -> 3.4.1 #119008
Conversation
4dab88f
to
5680237
Compare
This comment has been minimized.
This comment has been minimized.
149412d
to
4b2d828
Compare
@GrahamcOfBorg build python3Packages.matplotlib python3Packages.matplotlib.tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those ? null only hide missing packages as they can't actually be ever null.
4b2d828
to
c9af38a
Compare
@GrahamcOfBorg build python3Packages.matplotlib |
Why can't they ever be null? If I call the expression without passing that parameter, it will be null. This needs to be undone, because now, calling the expression when you do not want tk, does require you to pass in tk or at least something for tk, even though it will be unused. That's why they have These asserts are also not pointless. They perform an actual test. You may not like them (e.g. because of how they impact overriding) but they are not pointless. |
No asserts are currently triggered in the default scope:
This would only cover a hypothetical situation where one tries to deliberately pass
IMO they are not just pointless, but also harmful. Remember #53487 |
If there are no immediate concerns, let's merge. I don't mind if we revert the change that removes |
If you are not deliberately passing in null for those inputs they are never triggered in nixpkgs and do not add any real value. If are disabling tk like Those asserts are being removed since months from darwin frameworks and packages required by boolean flags and are not allowed for new packages because of the above mentioned issues. Disabling features by overriding packages with null is also not discoverable, often not tested in updates and overriding any random input to null most likely will fail packages in unforeseen ways. This also makes spotting problems harder when packages are being removed or are only required on specific platforms as they could be shadowed behind a |
/rebase staging |
Rebased, please reopen the pull request to restart CI |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)