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