pythonPackages.fs: build with all Python versions
and add updated explanation of why tests are disabled. See also https://github.com/NixOS/nixpkgs/pull/13066
This commit is contained in:
parent
74bda15a94
commit
c44176237a
@ -8960,10 +8960,11 @@ in modules // {
|
|||||||
${python.interpreter} -m unittest discover
|
${python.interpreter} -m unittest discover
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Judging from SyntaxError
|
# Because 2to3 is used the tests in $out need to be run.
|
||||||
disabled = isPy3k;
|
# Both when using unittest and pytest this resulted in many errors,
|
||||||
|
# some Python byte/str errors, and others specific to resources tested.
|
||||||
# Lots of errors. Likely due to being in a chroot
|
# Failing tests due to the latter is to be expected with this type of package.
|
||||||
|
# Tests are therefore disabled.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user