python3Packages.openapi-core: 0.19.5 -> 0.22.0 (#478462)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user