Merge pull request #230207 from fabaff/typical-bump

python311Packages.typical: 2.8.0 -> 2.8.1
This commit is contained in:
Fabian Affolter 2023-05-06 12:25:52 +02:00 committed by GitHub
commit a8f877882a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@
, buildPythonPackage , buildPythonPackage
, fastjsonschema , fastjsonschema
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, future-typing , future-typing
, inflection , inflection
, mypy , mypy
@ -19,17 +18,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "typical"; pname = "typical";
version = "2.8.0"; version = "2.8.1";
format = "pyproject"; format = "pyproject";
# Support for typing-extensions >= 4.0.0 on Python < 3.10 is missing
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "seandstewart"; owner = "seandstewart";
repo = "typical"; repo = "typical";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-DRjQmoZzWw5vpwIx70wQg6EO/aHqyX7RWpWZ9uOxSTg="; hash = "sha256-2t9Jhdy9NmYBNzdtjjgUnoK2RDEUsAvDkYMcBRzEcmI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -53,15 +51,6 @@ buildPythonPackage rec {
pandas 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 = [ disabledTests = [
# ConstraintValueError: Given value <{'key... # ConstraintValueError: Given value <{'key...
"test_tagged_union_validate" "test_tagged_union_validate"
@ -83,6 +72,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python library for runtime analysis, inference and validation of Python types"; description = "Python library for runtime analysis, inference and validation of Python types";
homepage = "https://python-typical.org/"; homepage = "https://python-typical.org/";
changelog = "https://github.com/seandstewart/typical/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ kfollesdal ]; maintainers = with maintainers; [ kfollesdal ];
}; };