-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.getmac: init at 0.8.2 #78015
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
Conversation
f0126b4
to
9aac09f
Compare
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
sha256 = "08d4iv5bjl1s4i9qhzf3pzjgj1rgbwi0x26qypf3ycgdj0a6gvh2"; | ||
}; | ||
|
||
doCheck = true; |
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.
default for buildPythonPackage, you can remove
doCheck = true; |
sha256 = "08d4iv5bjl1s4i9qhzf3pzjgj1rgbwi0x26qypf3ycgdj0a6gvh2"; | ||
}; | ||
|
||
doCheck = true; |
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.
pulled from their tox.ini, but we aren't too concerned about coverage and a few other metrics:
checkPhase = ''
pytest
'';
}; | ||
|
||
doCheck = true; | ||
checkInputs = [ pytest ]; |
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.
pulled from their tox.ini, but we aren't too concerned about coverage and a few other metrics:
checkInputs = [ pytest ]; | |
checkInputs = [ pytest ]; | |
checkPhase = '' | |
pytest | |
''; |
}; | ||
|
||
doCheck = true; | ||
checkInputs = [ pytest ]; |
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.
pulled from their tox.ini, but we aren't too concerned about coverage and a few other metrics:
checkInputs = [ pytest ]; | |
checkInputs = [ pytest ]; | |
checkPhase = '' | |
pytest | |
''; |
Thanks @jonringer. I'm getting test failures. Does Nix(OS) sandboxing actually hide interfaces from the sandbox entirely? It could explain this.
I'll keep taking a look (maybe we can selectively disable just these tests), but of course any tips are appreciated. Sincere thanks for all the effort you took to review all of this multiple times. I really appreciate the pointers. |
9aac09f
to
9378e79
Compare
9378e79
to
9b42ec2
Compare
There we go! Those tests were just testing the CLI behavior, so I disabled them. Builds for py2 and py3. Should be good to go. |
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.
diff LGTM
commit LGTM
has tests 👍
[4 built, 5 copied (0.6 MiB), 0.1 MiB DL]
https://github.com/NixOS/nixpkgs/pull/78015
3 package built:
python27Packages.getmac python37Packages.getmac python38Packages.getmac
@GrahamcOfBorg build python27Packages.getmac python37Packages.getmac python38Packages.getmac |
Motivation for this change
This is needed by home-assistant when the braviatv component is used.
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)