diff --git a/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch b/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch new file mode 100644 index 00000000000..b82c8edc38e --- /dev/null +++ b/srcpkgs/python3-openapi-core/patches/jsonschema-path.patch @@ -0,0 +1,15 @@ +Fix import for renamed module jsonschema_spec -> jsonschema_path + +This change is already merged upstream in master (n/a in a release) + +--- a/openapi_core/spec/paths.py ++++ b/openapi_core/spec/paths.py +@@ -6,7 +6,7 @@ + from typing import TypeVar + + from jsonschema.validators import _UNSET +-from jsonschema_spec import SchemaPath ++from jsonschema_path import SchemaPath + from openapi_spec_validator import validate + + TSpec = TypeVar("TSpec", bound="Spec") diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template index b6cc997bb45..cffd2263ba4 100644 --- a/srcpkgs/python3-openapi-core/template +++ b/srcpkgs/python3-openapi-core/template @@ -1,7 +1,7 @@ # Template file for 'python3-openapi-core' pkgname=python3-openapi-core -version=0.18.1 -revision=2 +version=0.18.2 +revision=1 build_style=python3-pep517 # disable tests requiring unpackaged dependencies make_check_args=" @@ -21,7 +21,7 @@ license="BSD-3-Clause" homepage="https://github.com/python-openapi/openapi-core" changelog="https://github.com/python-openapi/openapi-core/releases" distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz" -checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27 +checksum=d4cc50f3ee03ae46313c83e97c6fbfe7e7ae9686741135eb0e4ed49e9d8ff08a post_install() { vlicense LICENSE