From 51c0f53033eed68fddb57b49fc47f13662e987e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 9 Jan 2026 08:30:49 -0800 Subject: [PATCH] python3Packages.openapi-core: 0.19.5 -> 0.22.0 Diff: https://github.com/p1c2u/openapi-core/compare/0.19.5...0.22.0 Changelog: https://github.com/python-openapi/openapi-core/releases/tag/0.22.0 --- .../python-modules/openapi-core/default.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/openapi-core/default.nix b/pkgs/development/python-modules/openapi-core/default.nix index 61517a7a5ab7..f50a8bbc1e64 100644 --- a/pkgs/development/python-modules/openapi-core/default.nix +++ b/pkgs/development/python-modules/openapi-core/default.nix @@ -30,29 +30,18 @@ buildPythonPackage rec { pname = "openapi-core"; - version = "0.19.5"; + version = "0.22.0"; pyproject = true; src = fetchFromGitHub { owner = "p1c2u"; repo = "openapi-core"; tag = version; - hash = "sha256-Q7Z6bq8TztNm2QLL7g23rOGnXVfiTDjquHAhcSWYlC4="; + hash = "sha256-fdONzFde9k2NAd5Rd8vTLt/lQX72JdNSFJhPVWryRQw="; }; - postPatch = '' - # https://github.com/python-openapi/openapi-core/issues/1009 - substituteInPlace tests/unit/extensions/test_factories.py \ - --replace-fail 'assert test_model_class.__dataclass_fields__["name"].type == str(Any)' \ - 'assert str(test_model_class.__dataclass_fields__["name"].type) == str(Any)' - ''; - build-system = [ poetry-core ]; - pythonRelaxDeps = [ - "werkzeug" - ]; - dependencies = [ isodate more-itertools