-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.fluidasserts: 20.1.28253 -> 20.1.33141 #78401
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
pythonPackages.fluidasserts: 20.1.28253 -> 20.1.33141 #78401
Conversation
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.
otherwise LGTM
I have two questions, not directly related to this PR: is there a way one could add tests that require network connectivity ? what happens if my package depends on OS things like postgresql etc ? can I add them to propagatedBuildInputs ? |
If the connectivity is local, then yes. If you need the internet, no; that would hinder reproducibility of the builds.
If you need the postgres libraries, that would be a build input. If you want call something like |
you would probably be interested in https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pyproj/default.nix I patched the calling of the executable like so: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pyproj/001.proj.patch |
cool! just found the way to add tests for the mock servers! will do that in another PR though |
If it's a series of services (E.g. nextcloud + redis + postgres), generally these tests are written as nixos tests, which allow for simulation of many machines talking to each other. |
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.
LGTM
[8 built, 3 copied (10.1 MiB), 0.2 MiB DL]
https://github.com/NixOS/nixpkgs/pull/78401
4 package built:
fluidasserts python37Packages.azure-storage-file-share python37Packages.pyhcl python38Packages.pyhcl
Motivation for this change
this version includes some terraform checks and frees the hard dependency on specific versions of azure packages
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)