From abb607be92140394af5d6dec1071e24787558916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 15 Mar 2026 11:17:48 -0700 Subject: [PATCH] python3Packages.openapi-schema-validator: 0.6.3 -> 0.8.1 Diff: https://github.com/p1c2u/openapi-schema-validator/compare/0.6.3...0.8.1 Changelog: https://github.com/python-openapi/openapi-schema-validator/releases/tag/0.8.1 --- .../openapi-schema-validator/default.nix | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/openapi-schema-validator/default.nix b/pkgs/development/python-modules/openapi-schema-validator/default.nix index 0b2b95c7a625..af544f92e181 100644 --- a/pkgs/development/python-modules/openapi-schema-validator/default.nix +++ b/pkgs/development/python-modules/openapi-schema-validator/default.nix @@ -6,11 +6,17 @@ # build-system poetry-core, - # propagates + # dependencies jsonschema, jsonschema-specifications, + pydantic, + pydantic-settings, + referencing, rfc3339-validator, + # optional-dependencies + regress, + # tests pytestCheckHook, pytest-cov-stub, @@ -18,41 +24,41 @@ buildPythonPackage rec { pname = "openapi-schema-validator"; - version = "0.6.3"; + version = "0.8.1"; pyproject = true; src = fetchFromGitHub { owner = "p1c2u"; repo = "openapi-schema-validator"; tag = version; - hash = "sha256-1Y049W4TbqvKZRwnvPVwyLq6CH6NQDrEfJknuMn8dGo="; + hash = "sha256-XOtSnlJJGEa6pOQDHTFRF0zqNxJIB2VlZvFv5kxwUIM="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ jsonschema jsonschema-specifications + pydantic + pydantic-settings + referencing rfc3339-validator ]; + optional-dependencies = { + ecma-regex = [ regress ]; + }; + nativeCheckInputs = [ pytestCheckHook pytest-cov-stub ]; - disabledTests = [ - # https://github.com/python-openapi/openapi-schema-validator/issues/153 - "test_array_prefixitems_invalid" - ]; - - pytestFlags = [ "-vvv" ]; - pythonImportsCheck = [ "openapi_schema_validator" ]; meta = { changelog = "https://github.com/python-openapi/openapi-schema-validator/releases/tag/${src.tag}"; - description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0"; + description = "Validates OpenAPI schema against the OpenAPI Schema Specification v3.0 and v3.1"; homepage = "https://github.com/python-openapi/openapi-schema-validator"; license = lib.licenses.bsd3; maintainers = [ ];