python3Packages.typed-settings: 0.10.0 -> 0.11.1

Disable click help tests.
This commit is contained in:
Martin Weinelt 2021-10-10 20:48:52 +02:00
parent b4781ea8cd
commit 107c1442f2

View File

@ -1,8 +1,10 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder
, fetchPypi , fetchPypi
, setuptoolsBuildHook , setuptoolsBuildHook
, attrs , attrs
, cattrs
, toml , toml
, pytestCheckHook , pytestCheckHook
, click , click
@ -10,28 +12,43 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "typed-settings"; pname = "typed-settings";
version = "0.10.0"; version = "0.11.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1fr6qkq3ldlp5i5l4b891w9ail9lfhaxlar3yij912slq5w0s8aw"; sha256 = "sha256-gcyOeUyRAwU5s+XoQO/yM0tx7QHjDsBeyoe5HRZHtIs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
setuptoolsBuildHook setuptoolsBuildHook
pytestCheckHook
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
attrs attrs
cattrs
toml toml
]; ];
preCheck = ''
pushd tests
'';
checkInputs = [ checkInputs = [
click click
pytestCheckHook
]; ];
disabledTests = [
# mismatches in click help output
"test_help"
];
postCheck = ''
popd
'';
meta = { meta = {
description = "Typed settings based on attrs classes"; description = "Typed settings based on attrs classes";
homepage = "https://gitlab.com/sscherfke/typed-settings"; homepage = "https://gitlab.com/sscherfke/typed-settings";