python312Packages.openapi-core: 0.19.2 -> 0.19.3 (#337361)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
aiohttp,
|
||||
aioitertools,
|
||||
asgiref,
|
||||
buildPythonPackage,
|
||||
django,
|
||||
falcon,
|
||||
@@ -12,7 +11,7 @@
|
||||
httpx,
|
||||
isodate,
|
||||
jsonschema,
|
||||
jsonschema-spec,
|
||||
jsonschema-path,
|
||||
more-itertools,
|
||||
multidict,
|
||||
openapi-schema-validator,
|
||||
@@ -20,6 +19,7 @@
|
||||
parse,
|
||||
poetry-core,
|
||||
pytest-aiohttp,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
responses,
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openapi-core";
|
||||
version = "0.19.2";
|
||||
version = "0.19.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -40,28 +40,23 @@ buildPythonPackage rec {
|
||||
owner = "p1c2u";
|
||||
repo = "openapi-core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-6FFJsXObIA9tchTJJmoSu9u+/ZuKuw29AYsLEmvHXrY=";
|
||||
hash = "sha256-UJkfAVorALGRqeoGr4136n98iTyPt9qzQxwnhkKgRNM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" pyproject.toml
|
||||
'';
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
isodate
|
||||
more-itertools
|
||||
parse
|
||||
openapi-schema-validator
|
||||
openapi-spec-validator
|
||||
werkzeug
|
||||
jsonschema-spec
|
||||
asgiref
|
||||
jsonschema-path
|
||||
jsonschema
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
aiohttp = [
|
||||
aiohttp
|
||||
multidict
|
||||
@@ -82,15 +77,11 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
httpx
|
||||
pytest-aiohttp
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
responses
|
||||
webob
|
||||
] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
disabledTestPaths = [
|
||||
# Requires secrets and additional configuration
|
||||
@@ -104,6 +95,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/python-openapi/openapi-core/releases/tag/${version}";
|
||||
description = "Client-side and server-side support for the OpenAPI Specification v3";
|
||||
homepage = "https://github.com/python-openapi/openapi-core";
|
||||
license = licenses.bsd3;
|
||||
|
||||
Reference in New Issue
Block a user