-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
pythonPackages.criticality-score: init at 1.0.7 #108794
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
This PR includes #108792 which should be merged first. |
Next time just include it in this. |
pkgs/top-level/python-packages.nix
Outdated
@@ -1426,6 +1426,8 @@ in { | |||
|
|||
credstash = callPackage ../development/python-modules/credstash { }; | |||
|
|||
criticality_score = callPackage ../development/python-modules/criticality_score { }; |
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.
criticality_score = callPackage ../development/python-modules/criticality_score { }; | |
criticality-score = callPackage ../development/python-modules/criticality-score { }; |
Python packages need to follow the pep that converts _ to -.
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.
Thanks for the review. Updated PR.
|
||
# tests are not included in pypi distributions and would require lots of | ||
# optional dependencies | ||
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.
doCheck = true; | |
doCheck = true; | |
pythonImportsCheck = [ "criticality_score" ]; |
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.
Thanks for the review. Updated PR.
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 17 packages built:
The following issues got detected with the above build packages. python37Packages.criticality_score: Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
|
2cda378
to
6bd2453
Compare
The bump was required to make this run, but also has some downstream packages so I split it off into an own PR. |
Fine for me. Can you please add disableCheck for criticality_score because there are not tests to run. Also I merged the blocking PR. |
6bd2453
to
26573de
Compare
@SuperSandro2000 Thanks, updated. |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages built:
|
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages built:
|
Motivation for this change
Compute the criticality score of https://github.com/NixOS/nixpkgs.
Result:
Seems like nixpkgs is pretty important.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review pr 108794"
./result/bin/
)nix path-info -S
before and after)