I’ve seen that in a number of Python modules fetchPypi
instead of fetchFromGitHub
or fetchgit
is used. In most cases, PyPi archives have tests stripped, so it seems to conflict with the general advice of running some kind of tests if available. So which option is actually recommended and why?
An example of such package is scikitimage
: https://github.com/NixOS/nixpkgs/blob/c784a303da10159af114272537254dc5171f6e2c/pkgs/development/python-modules/scikit-image/default.nix