python312Packages: cleanup instances of doCheck = true
(#351300)
This commit is contained in:
commit
900a2d4022
@ -16,7 +16,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "anitopy" ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for parsing anime video filenames";
|
||||
|
@ -24,7 +24,6 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ pyclipper ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
dotmap
|
||||
matplotlib
|
||||
|
@ -30,7 +30,6 @@ buildPythonPackage rec {
|
||||
uharfbuzz
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
unittestFlagsArray = [
|
||||
"-s"
|
||||
|
@ -18,7 +18,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-x3iUeOTAaTKNW5Y5foMPMJcWVxu52uYZoY3Hhe3UvQ4=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -77,8 +77,6 @@ buildPythonPackage rec {
|
||||
pytest7CheckHook
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck = [ "commitizen" ];
|
||||
|
||||
# The tests require a functional git installation
|
||||
|
@ -21,7 +21,6 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ fonttools ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -33,9 +33,6 @@ buildPythonPackage rec {
|
||||
dissect-util
|
||||
];
|
||||
|
||||
# Test file handling fails
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck = [ "dissect.jffs" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -52,8 +52,6 @@ buildPythonPackage rec {
|
||||
--replace "'pytest-runner==5.2.0'," ""
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck = [ "dropbox" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -50,7 +50,6 @@ buildPythonPackage rec {
|
||||
numpy
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [ "eigenpy" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -26,7 +26,6 @@ buildPythonPackage rec {
|
||||
gitpython
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
pytestCheckHook
|
||||
|
@ -31,7 +31,6 @@ buildPythonPackage rec {
|
||||
youseedee
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
disabledTestPaths = [
|
||||
# These tests require babelfont but we have to leave it out and skip them
|
||||
|
@ -53,8 +53,6 @@ buildPythonPackage rec {
|
||||
"-Dpython=${python.pythonOnBuildForHost.interpreter}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# TODO: Meson setup hook does not like buildPythonPackage
|
||||
# https://github.com/NixOS/nixpkgs/issues/47390
|
||||
installCheckPhase = "meson test --print-errorlogs";
|
||||
|
@ -23,7 +23,6 @@ buildPythonPackage rec {
|
||||
nativeBuildInputs = [ pytest ];
|
||||
pythonImportsCheck = [ "iwlib" ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = "python iwlib/_iwlib_build.py; pytest -v";
|
||||
|
||||
|
@ -19,7 +19,6 @@ buildPythonPackage {
|
||||
sha256 = "1nrjnybwzy93c79yylcwmb4lvkx7hixavnjwffslz0zwn32l0kx3";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [ "kinparse" ];
|
||||
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
@ -29,7 +29,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-W0BebCXC1wqwtQP+zHjISxSJjXHD9U6p9eNS12Nfb2Y=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
preCheck = ''
|
||||
# pytestCheckHook puts . at the front of Python's sys.path, due to:
|
||||
|
@ -22,7 +22,6 @@ buildPythonPackage rec {
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [ distutils ];
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [ "lcov_cobertura" ];
|
||||
|
||||
meta = {
|
||||
|
@ -122,7 +122,6 @@ buildPythonPackage rec {
|
||||
(calls `sim.run()`), as only then MPI will be initialised and MPI linking
|
||||
errors can be caught.
|
||||
*/
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
mpiCheckPhaseHook
|
||||
openssh
|
||||
|
@ -15,7 +15,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-fOEHmtlCkFhn1jyIA+CsHIfud7x3PPb7UWQsnrVyDqY=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
unittestFlagsArray = [
|
||||
"-s"
|
||||
|
@ -32,7 +32,6 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ opentype-sanitizer ];
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -29,8 +29,6 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pidfile featuring stale detection and file-locking";
|
||||
homepage = "https://github.com/trbs/pid/";
|
||||
|
@ -80,7 +80,6 @@ buildPythonPackage rec {
|
||||
PARQUET_HOME = arrow-cpp;
|
||||
|
||||
ARROW_TEST_DATA = lib.optionalString doCheck arrow-cpp.ARROW_TEST_DATA;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
@ -43,8 +43,6 @@ buildPythonPackage {
|
||||
|
||||
configureScript = "./autogen.sh";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper to libcangjie";
|
||||
homepage = "http://cangjians.github.io/projects/pycangjie/";
|
||||
|
@ -70,7 +70,6 @@ buildPythonPackage rec {
|
||||
scipy
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
substituteInPlace pymoo/config.py \
|
||||
--replace-fail "https://raw.githubusercontent.com/anyoptimization/pymoo-data/main/" \
|
||||
|
@ -130,7 +130,6 @@ buildPythonPackage rec {
|
||||
dontConfigure = true;
|
||||
|
||||
# Checked using pythonImportsCheck, has no tests
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck =
|
||||
[
|
||||
|
@ -73,7 +73,6 @@ buildPythonPackage rec {
|
||||
dontConfigure = true;
|
||||
|
||||
# Checked using pythonImportsCheck, has no tests
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"PyQt6.QtWebEngineCore"
|
||||
|
@ -60,8 +60,6 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
requests-mock
|
||||
stestr
|
||||
|
@ -19,8 +19,6 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "MPD (Music Player Daemon) client library written in pure Python";
|
||||
homepage = "https://gitlab.com/kaliko/python-musicpd";
|
||||
|
@ -13,6 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pyytlounge";
|
||||
version = "2.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FabioGNR";
|
||||
@ -21,10 +22,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-0QPa3EzOBv5fuw3FGgmoN4KiC4KHo1Z+Svjcneoe0pc=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
@ -88,8 +88,6 @@ buildPythonPackage rec {
|
||||
shapely
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
rm -r rasterio # prevent importing local rasterio
|
||||
'';
|
||||
|
@ -52,8 +52,6 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/google-research/google-research/issues/1203
|
||||
"testRougeLSumSentenceSplitting"
|
||||
|
@ -23,7 +23,6 @@ buildPythonPackage rec {
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -38,7 +38,6 @@ buildPythonPackage rec {
|
||||
scipy
|
||||
] ++ lib.optionals (!isPy3k) [ enum34 ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -42,7 +42,6 @@ buildPythonPackage rec {
|
||||
scikit-build
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
# I'm not modifying the checkPhase nor adding a pytestCheckHook because the pytest is called
|
||||
# within the cmake test phase
|
||||
nativeCheckInputs = [
|
||||
|
@ -57,8 +57,6 @@ buildPythonPackage rec {
|
||||
"sipconfig"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Creates C++ bindings for Python modules";
|
||||
mainProgram = "sip";
|
||||
|
@ -49,8 +49,6 @@ buildPythonPackage rec {
|
||||
assay
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
@ -17,7 +17,6 @@ stdenv.mkDerivation {
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
|
@ -17,7 +17,6 @@ stdenv.mkDerivation {
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
|
@ -19,7 +19,6 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -34,8 +34,6 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTests = [ "test_get_page" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
pythonImportsCheck = [ "telegraph" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -81,8 +81,6 @@ buildPythonPackage rec {
|
||||
pyyaml
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
tpm2-tools
|
||||
|
@ -24,8 +24,6 @@ buildPythonPackage rec {
|
||||
tomli
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
$out/bin/turnt test/*/*.t
|
||||
|
@ -27,7 +27,6 @@ buildPythonPackage rec {
|
||||
fonttools
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeBuildInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -34,8 +34,6 @@ buildPythonPackage rec {
|
||||
xapian
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} python${pythonSuffix}/pythontest.py
|
||||
'';
|
||||
|
@ -60,8 +60,6 @@ buildPythonPackage rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interactive viewer for graphs written in Graphviz's dot";
|
||||
mainProgram = "xdot";
|
||||
|
@ -32,7 +32,6 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
# Package has no unit tests, but we can check an example as per README.rst:
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
Loading…
Reference in New Issue
Block a user