From 456af079183415846d12abd773f14e64f92a121d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 May 2023 23:34:15 +0200 Subject: [PATCH] python311Packages.typical: 2.8.0 -> 2.8.1 Diff: https://github.com/seandstewart/typical/compare/refs/tags/v2.8.0...v2.8.1 Changelog: https://github.com/seandstewart/typical/releases/tag/v2.8.1 --- .../python-modules/typical/default.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/typical/default.nix b/pkgs/development/python-modules/typical/default.nix index 8554b3ba8450..5cbdce7c6252 100644 --- a/pkgs/development/python-modules/typical/default.nix +++ b/pkgs/development/python-modules/typical/default.nix @@ -2,7 +2,6 @@ , buildPythonPackage , fastjsonschema , fetchFromGitHub -, fetchpatch , future-typing , inflection , mypy @@ -19,17 +18,16 @@ buildPythonPackage rec { pname = "typical"; - version = "2.8.0"; + version = "2.8.1"; format = "pyproject"; - # Support for typing-extensions >= 4.0.0 on Python < 3.10 is missing disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "seandstewart"; repo = "typical"; - rev = "v${version}"; - hash = "sha256-DRjQmoZzWw5vpwIx70wQg6EO/aHqyX7RWpWZ9uOxSTg="; + rev = "refs/tags/v${version}"; + hash = "sha256-2t9Jhdy9NmYBNzdtjjgUnoK2RDEUsAvDkYMcBRzEcmI="; }; nativeBuildInputs = [ @@ -53,15 +51,6 @@ buildPythonPackage rec { pandas ]; - patches = [ - # Switch to poetry-core, https://github.com/seandstewart/typical/pull/193 - (fetchpatch { - name = "switch-to-poetry-core.patch"; - url = "https://github.com/seandstewart/typical/commit/66b3c34f8969b7fb1f684f0603e514405bab0dd7.patch"; - hash = "sha256-c7qJOtHmJRnVEGl+OADB3HpjvMK8aYDD9+0gplOn9pQ="; - }) - ]; - disabledTests = [ # ConstraintValueError: Given value <{'key... "test_tagged_union_validate" @@ -83,6 +72,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for runtime analysis, inference and validation of Python types"; homepage = "https://python-typical.org/"; + changelog = "https://github.com/seandstewart/typical/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ kfollesdal ]; };