python312Packages: cleanup instances of doCheck = true (#351300)

This commit is contained in:
Martin Weinelt 2024-10-26 16:19:40 +02:00 committed by GitHub
commit 900a2d4022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
45 changed files with 1 additions and 66 deletions

View File

@ -16,7 +16,6 @@ buildPythonPackage rec {
};
pythonImportsCheck = [ "anitopy" ];
doCheck = true;
meta = with lib; {
description = "Python library for parsing anime video filenames";

View File

@ -24,7 +24,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pyclipper ];
doCheck = true;
nativeCheckInputs = [
dotmap
matplotlib

View File

@ -30,7 +30,6 @@ buildPythonPackage rec {
uharfbuzz
];
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"

View File

@ -18,7 +18,6 @@ buildPythonPackage rec {
hash = "sha256-x3iUeOTAaTKNW5Y5foMPMJcWVxu52uYZoY3Hhe3UvQ4=";
};
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {

View File

@ -77,8 +77,6 @@ buildPythonPackage rec {
pytest7CheckHook
];
doCheck = true;
pythonImportsCheck = [ "commitizen" ];
# The tests require a functional git installation

View File

@ -21,7 +21,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ fonttools ];
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {

View File

@ -33,9 +33,6 @@ buildPythonPackage rec {
dissect-util
];
# Test file handling fails
doCheck = true;
pythonImportsCheck = [ "dissect.jffs" ];
meta = with lib; {

View File

@ -52,8 +52,6 @@ buildPythonPackage rec {
--replace "'pytest-runner==5.2.0'," ""
'';
doCheck = true;
pythonImportsCheck = [ "dropbox" ];
nativeBuildInputs = [

View File

@ -50,7 +50,6 @@ buildPythonPackage rec {
numpy
];
doCheck = true;
pythonImportsCheck = [ "eigenpy" ];
meta = with lib; {

View File

@ -26,7 +26,6 @@ buildPythonPackage rec {
gitpython
];
doCheck = true;
nativeCheckInputs = [
git
pytestCheckHook

View File

@ -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

View File

@ -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";

View File

@ -23,7 +23,6 @@ buildPythonPackage rec {
nativeBuildInputs = [ pytest ];
pythonImportsCheck = [ "iwlib" ];
doCheck = true;
checkInputs = [ pytest ];
checkPhase = "python iwlib/_iwlib_build.py; pytest -v";

View File

@ -19,7 +19,6 @@ buildPythonPackage {
sha256 = "1nrjnybwzy93c79yylcwmb4lvkx7hixavnjwffslz0zwn32l0kx3";
};
doCheck = true;
pythonImportsCheck = [ "kinparse" ];
nativeCheckInputs = [ pytest ];

View File

@ -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:

View File

@ -22,7 +22,6 @@ buildPythonPackage rec {
build-system = [ setuptools ];
dependencies = [ distutils ];
doCheck = true;
pythonImportsCheck = [ "lcov_cobertura" ];
meta = {

View File

@ -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

View File

@ -15,7 +15,6 @@ buildPythonPackage rec {
hash = "sha256-fOEHmtlCkFhn1jyIA+CsHIfud7x3PPb7UWQsnrVyDqY=";
};
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"

View File

@ -32,7 +32,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ opentype-sanitizer ];
nativeBuildInputs = [ setuptools-scm ];
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {

View File

@ -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/";

View File

@ -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;

View File

@ -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/";

View File

@ -70,7 +70,6 @@ buildPythonPackage rec {
scipy
];
doCheck = true;
preCheck = ''
substituteInPlace pymoo/config.py \
--replace-fail "https://raw.githubusercontent.com/anyoptimization/pymoo-data/main/" \

View File

@ -130,7 +130,6 @@ buildPythonPackage rec {
dontConfigure = true;
# Checked using pythonImportsCheck, has no tests
doCheck = true;
pythonImportsCheck =
[

View File

@ -73,7 +73,6 @@ buildPythonPackage rec {
dontConfigure = true;
# Checked using pythonImportsCheck, has no tests
doCheck = true;
pythonImportsCheck = [
"PyQt6.QtWebEngineCore"

View File

@ -60,8 +60,6 @@ buildPythonPackage rec {
requests
];
doCheck = true;
nativeCheckInputs = [
requests-mock
stestr

View File

@ -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";

View File

@ -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 ];

View File

@ -88,8 +88,6 @@ buildPythonPackage rec {
shapely
];
doCheck = true;
preCheck = ''
rm -r rasterio # prevent importing local rasterio
'';

View File

@ -52,8 +52,6 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
doCheck = true;
disabledTests = [
# https://github.com/google-research/google-research/issues/1203
"testRougeLSumSentenceSplitting"

View File

@ -23,7 +23,6 @@ buildPythonPackage rec {
setuptools-scm
];
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {

View File

@ -38,7 +38,6 @@ buildPythonPackage rec {
scipy
] ++ lib.optionals (!isPy3k) [ enum34 ];
doCheck = true;
nativeCheckInputs = [ pytest ];
checkPhase = ''

View File

@ -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 = [

View File

@ -57,8 +57,6 @@ buildPythonPackage rec {
"sipconfig"
];
doCheck = true;
meta = with lib; {
description = "Creates C++ bindings for Python modules";
mainProgram = "sip";

View File

@ -49,8 +49,6 @@ buildPythonPackage rec {
assay
];
doCheck = true;
checkPhase = ''
runHook preCheck

View File

@ -17,7 +17,6 @@ stdenv.mkDerivation {
dontConfigure = true;
dontBuild = true;
doCheck = true;
nativeCheckInputs = [
pytest

View File

@ -17,7 +17,6 @@ stdenv.mkDerivation {
dontConfigure = true;
dontBuild = true;
doCheck = true;
nativeCheckInputs = [
pytest

View File

@ -19,7 +19,6 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {

View File

@ -34,8 +34,6 @@ buildPythonPackage rec {
disabledTests = [ "test_get_page" ];
doCheck = true;
pythonImportsCheck = [ "telegraph" ];
meta = with lib; {

View File

@ -81,8 +81,6 @@ buildPythonPackage rec {
pyyaml
];
doCheck = true;
nativeCheckInputs = [
pytestCheckHook
tpm2-tools

View File

@ -24,8 +24,6 @@ buildPythonPackage rec {
tomli
];
doCheck = true;
checkPhase = ''
runHook preCheck
$out/bin/turnt test/*/*.t

View File

@ -27,7 +27,6 @@ buildPythonPackage rec {
fonttools
];
doCheck = true;
nativeBuildInputs = [ pytestCheckHook ];
meta = with lib; {

View File

@ -34,8 +34,6 @@ buildPythonPackage rec {
xapian
];
doCheck = true;
checkPhase = ''
${python.interpreter} python${pythonSuffix}/pythontest.py
'';

View File

@ -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";

View File

@ -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