python3Packages.openapi-core: 0.19.5 -> 0.22.0 (#478462)

This commit is contained in:
dotlambda
2026-01-13 13:07:42 +00:00
committed by GitHub
@@ -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