Merge pull request #207515 from r-ryantm/auto-update/python3.10-dacite

python310Packages.dacite: 1.6.0 -> 1.7.0
This commit is contained in:
Fabian Affolter
2022-12-24 13:11:32 +01:00
committed by GitHub
@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "dacite";
version = "1.6.0";
version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@@ -16,19 +16,14 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "konradhalas";
repo = pname;
rev = "v${version}";
sha256 = "0nv2bnj3bq2v08ac4p583cnpjq2d6bv5isycgji5i5wg1y082a3d";
rev = "refs/tags/v${version}";
hash = "sha256-+yWvlJcOmqDkHl3JZfPnIV3C4ieSo4FiBvoUZ0+J4N0=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
# https://github.com/konradhalas/dacite/issues/167
"test_from_dict_with_union_and_wrong_data"
];
pythonImportsCheck = [
"dacite"
];
@@ -36,6 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python helper to create data classes from dictionaries";
homepage = "https://github.com/konradhalas/dacite";
changelog = "https://github.com/konradhalas/dacite/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};