python3-openapi-core: update to 0.19.2.

This commit is contained in:
Gonzalo Tornaría 2024-08-03 14:42:14 -03:00 committed by Andrew J. Hesford
parent a46bfcb524
commit a7249815ae
2 changed files with 3 additions and 17 deletions

View File

@ -1,15 +0,0 @@
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")

View File

@ -1,6 +1,6 @@
# Template file for 'python3-openapi-core' # Template file for 'python3-openapi-core'
pkgname=python3-openapi-core pkgname=python3-openapi-core
version=0.18.2 version=0.19.2
revision=1 revision=1
build_style=python3-pep517 build_style=python3-pep517
# disable tests requiring unpackaged dependencies # disable tests requiring unpackaged dependencies
@ -8,6 +8,7 @@ make_check_args="
--ignore=tests/unit/contrib/django --ignore=tests/unit/contrib/django
--ignore=tests/integration/contrib/django --ignore=tests/integration/contrib/django
--ignore=tests/integration/contrib/falcon --ignore=tests/integration/contrib/falcon
--ignore=tests/integration/contrib/fastapi
--ignore=tests/integration/contrib/starlette --ignore=tests/integration/contrib/starlette
" "
hostmakedepends="python3-poetry-core" hostmakedepends="python3-poetry-core"
@ -21,7 +22,7 @@ license="BSD-3-Clause"
homepage="https://github.com/python-openapi/openapi-core" homepage="https://github.com/python-openapi/openapi-core"
changelog="https://github.com/python-openapi/openapi-core/releases" changelog="https://github.com/python-openapi/openapi-core/releases"
distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz" distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
checksum=d4cc50f3ee03ae46313c83e97c6fbfe7e7ae9686741135eb0e4ed49e9d8ff08a checksum=db4e13dd3162d861d9485ae804f350586d9fd1d72808cdb264d6993d9b5ede3f
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE