diff options
author | Robert Scott <code@humanleg.org.uk> | 2024-02-12 23:50:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 23:50:05 +0000 |
commit | 8769e84829f202177373676db04ccd8f645c9ece (patch) | |
tree | bf80abc6c69f284e3cf8bd7170027fcb0f666a71 | |
parent | 897df4cc4d21cefc2b3b298fa75b5a1ab500ebd5 (diff) | |
parent | 3c8d8cfcfb96fc5895d6eafe1314d31d2576ce99 (diff) |
Merge pull request #288240 from fabaff/typeguard-refactor
python312Packages.typeguard: refactor
-rw-r--r-- | pkgs/development/python-modules/typeguard/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index c2eaf3889bf84..84648b20c1e5a 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -1,7 +1,7 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi , pythonOlder -, lib , setuptools , setuptools-scm , pytestCheckHook @@ -18,7 +18,7 @@ buildPythonPackage rec { version = "4.1.5"; format = "pyproject"; - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; @@ -51,6 +51,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pythonImportsCheck = [ + "typeguard" + ]; + disabledTestPaths = [ # mypy tests aren't passing with latest mypy "tests/mypy" @@ -68,6 +72,7 @@ buildPythonPackage rec { meta = with lib; { description = "This library provides run-time type checking for functions defined with argument type annotations"; homepage = "https://github.com/agronholm/typeguard"; + changelog = "https://github.com/agronholm/typeguard/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ ]; }; |