Loading pkgs/development/python-modules/openapi-core/default.nix +11 −19 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, aiohttp, aioitertools, asgiref, buildPythonPackage, django, falcon, Loading @@ -12,7 +11,7 @@ httpx, isodate, jsonschema, jsonschema-spec, jsonschema-path, more-itertools, multidict, openapi-schema-validator, Loading @@ -20,6 +19,7 @@ parse, poetry-core, pytest-aiohttp, pytest-cov-stub, pytestCheckHook, pythonOlder, responses, Loading @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "openapi-core"; version = "0.19.2"; version = "0.19.3"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -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 Loading @@ -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 Loading @@ -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; Loading Loading
pkgs/development/python-modules/openapi-core/default.nix +11 −19 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, aiohttp, aioitertools, asgiref, buildPythonPackage, django, falcon, Loading @@ -12,7 +11,7 @@ httpx, isodate, jsonschema, jsonschema-spec, jsonschema-path, more-itertools, multidict, openapi-schema-validator, Loading @@ -20,6 +19,7 @@ parse, poetry-core, pytest-aiohttp, pytest-cov-stub, pytestCheckHook, pythonOlder, responses, Loading @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "openapi-core"; version = "0.19.2"; version = "0.19.3"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -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 Loading @@ -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 Loading @@ -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; Loading