summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-12-24 13:11:32 +0100
committerGitHub <noreply@github.com>2022-12-24 13:11:32 +0100
commit7e771b04f6d41b3d12a9b5fa4780c3460f15c65a (patch)
tree8fb6cc827cb12a088dc997968087a562c50e504e
parente308995e2809599dfe58306b5ae37e8bbcb854b6 (diff)
parentf0e6dd2e8300058232e514e5c5a223d62ea4a8d4 (diff)
Merge pull request #207515 from r-ryantm/auto-update/python3.10-dacite
python310Packages.dacite: 1.6.0 -> 1.7.0
-rw-r--r--pkgs/development/python-modules/dacite/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/dacite/default.nix b/pkgs/development/python-modules/dacite/default.nix
index ba74695fb5ea..12b14b226def 100644
--- a/pkgs/development/python-modules/dacite/default.nix
+++ b/pkgs/development/python-modules/dacite/default.nix
@@ -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 ];
};