python3Packages.clevercsv: 0.7.1 -> 0.7.4

https://github.com/alan-turing-institute/CleverCSV/blob/v0.7.4/CHANGELOG.md\#version-074
This commit is contained in:
Martin Weinelt 2022-09-14 14:32:13 +02:00
parent f1ebf7751e
commit f63960a83e

View File

@ -9,19 +9,19 @@
, regex
, tabview
, python
, unittestCheckHook
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "clevercsv";
version = "0.7.1";
version = "0.7.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "alan-turing-institute";
repo = "CleverCSV";
rev = "v${version}";
sha256 = "sha256-ynS3G2ZcEqVlC2d6n5ZQ1Em5lh/dWESj9jEO8C4WzZQ=";
sha256 = "sha256-2OLvVJbqV/wR+Quq0cAlR/vCUe1/Km/nALwfoHD9B+U=";
};
propagatedBuildInputs = [
@ -34,7 +34,7 @@ buildPythonPackage rec {
tabview
];
checkInputs = [ unittestCheckHook ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"clevercsv"
@ -48,7 +48,14 @@ buildPythonPackage rec {
'';
# their ci only runs unit tests, there are also integration and fuzzing tests
unittestFlagsArray = [ "-v" "-f" "-s" "./tests/test_unit" ];
pytestFlagsArray = [
"./tests/test_unit"
];
disabledTestPaths = [
# ModuleNotFoundError: No module named 'wilderness'
"tests/test_unit/test_console.py"
];
meta = with lib; {
description = "CleverCSV is a Python package for handling messy CSV files";