about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dataclasses-json
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2023-06-18 12:50:17 +0200
committerGitHub <noreply@github.com>2023-06-18 12:50:17 +0200
commit1a3579fd9479176ceed37be1f2f8a67946dd4989 (patch)
tree894f224b515502daef15f03d46fb8e799aa93b4c /pkgs/development/python-modules/dataclasses-json
parent6a60c37169b3298af02fbcc287dd9ca87dc3ce05 (diff)
parentf956eaac6b512384a54e3aba30c7d6f1b1c8c866 (diff)
Merge pull request #236265 from GaetanLepage/mypy
python3Packages.mypy: 1.0.1 -> 1.3.0
Diffstat (limited to 'pkgs/development/python-modules/dataclasses-json')
-rw-r--r--pkgs/development/python-modules/dataclasses-json/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/dataclasses-json/default.nix b/pkgs/development/python-modules/dataclasses-json/default.nix
index fea33d9d9ba0c..661e77703bc05 100644
--- a/pkgs/development/python-modules/dataclasses-json/default.nix
+++ b/pkgs/development/python-modules/dataclasses-json/default.nix
@@ -4,7 +4,6 @@
 , typing-inspect
 , marshmallow-enum
 , hypothesis
-, mypy
 , pytestCheckHook
 }:
 
@@ -26,14 +25,14 @@ buildPythonPackage rec {
 
   nativeCheckInputs = [
     hypothesis
-    mypy
     pytestCheckHook
   ];
 
-  disabledTests = [
+  disabledTestPaths = [
+    # fails with the following error and avoid dependency on mypy
     # mypy_main(None, text_io, text_io, [__file__], clean_exit=True)
     # TypeError: main() takes at most 4 arguments (5 given)
-    "test_type_hints"
+    "tests/test_annotations.py"
   ];
 
   pythonImportsCheck = [ "dataclasses_json" ];