From 3d32b34739c29c75cb7c948eaa0b24d4085d9c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 3 Apr 2026 06:22:06 +0200 Subject: [PATCH] dev-python/openapi-core: Bump to 0.23.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/openapi-core/Manifest | 2 + .../openapi-core/openapi-core-0.23.1.ebuild | 72 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 dev-python/openapi-core/openapi-core-0.23.1.ebuild diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 8016bb7d413b8..86143d178c5de 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -2,3 +2,5 @@ DIST openapi_core-0.22.0.tar.gz 109242 BLAKE2B bf64e91e77b5a7a6ebd75a51cf0422b1c DIST openapi_core-0.22.0.tar.gz.provenance 9826 BLAKE2B be43b254d91c0e1e91f3a7fef8a686eb17ff050073f019df1922718f1eec038fab7fbed9354c6533376f7b71f2c6da75964d44b09b4d9b1673f27fdd8a14a5eb SHA512 7e89655ca6480f1e758e158ff6071e064c52678d0138d501048306f348e1d3afb2506f5de848718d289bcd7eef25ecf2d97d51751fcdcb371b3c2f1f87fb45b7 DIST openapi_core-0.23.0.tar.gz 123506 BLAKE2B 332d145a5ce44a744620b5b3a39dc50225e0797a4c1402ff5a950d1f867dcaf7cabb7d17d14f82d5c6b91579020053e4550dd73d64189ea38d68e4ad3aa2bc63 SHA512 f5a5993903ee9f3ba028bd3ef31689b427c632c747745e85c3355f6de8157deb3dbcc1a7a1b97a54040acac24eee101e6ef6f83a78c4a894c6eb198cf8cf4346 DIST openapi_core-0.23.0.tar.gz.provenance 9634 BLAKE2B da5dfd0e64f268f6e1c7c78923a8d61e7fd3e8edd20e7b087786fcc721e93b1eb8568d4dc0b95b2bd261dc48db3a4496045ccc1faa9b70d563d592b635c6a4b2 SHA512 c0a334e3bb685f869729f26c2436f164545ef7e2d173319e27570c253611749620588ff2a863642f2106bb6a6039e677e22a35d1c8ae5f506eb738637e620b3a +DIST openapi_core-0.23.1.tar.gz 124348 BLAKE2B b2b8ce9a92a7367ec1af8c9e7cfe5a0a6c4a76467ba3aefa89d3b5ca77986d57c2167baadce8c550abdf41cf27e87d9977c9a6afb88b27332cb0c107433200d3 SHA512 a61381c9a721173926293ff5af9312f7d9b1a474759528bf8444891bc95ec4486fe8f735deaeb96aaae1e39c727d30797abd5ad2445b8020a0a38cb351964b86 +DIST openapi_core-0.23.1.tar.gz.provenance 9692 BLAKE2B 660bc710207df92352071cb93f7d86f8bc28bc7d8cd74b467da500e60ab365bc01527fc15f9f5df38954fdfe5b886eb4a468cbb7a1f67ad79fc759a2c0b72fe2 SHA512 8ed9b49f65bb6461cf36fdfcd1fbd396484294006d121cea9cbbe2a4d1e817eae407ff625e65cf6995e3affb4ea5b9b246e93e1d7e2f92f07a2f4ba70a4b750c diff --git a/dev-python/openapi-core/openapi-core-0.23.1.ebuild b/dev-python/openapi-core/openapi-core-0.23.1.ebuild new file mode 100644 index 0000000000000..d3fe4faf1791c --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.23.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-openapi/openapi-core +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" +HOMEPAGE=" + https://github.com/python-openapi/openapi-core/ + https://pypi.org/project/openapi-core/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +RDEPEND=" + =dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + =dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + =dev-python/jsonschema-path-0.4.5[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + =dev-python/openapi-schema-validator-0.7.0[${PYTHON_USEDEP}] + =dev-python/openapi-spec-validator-0.8.0[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.1.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + >=dev-python/aioitertools-0.11.0[${PYTHON_USEDEP}] + >=dev-python/django-4.0[${PYTHON_USEDEP}] + >=dev-python/flask-2.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.40.0[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{aiohttp,asyncio} ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # missing dependendencies + tests/integration/contrib/falcon + tests/integration/contrib/fastapi + + # TODO: these tests fail to collect + tests/integration/validation/test_security_override.py + tests/integration/validation/test_read_only_write_only.py +) + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' pyproject.toml || die +}