diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile index 52b2a23a9720..c49c0c588149 100644 --- a/www/py-yarl/Makefile +++ b/www/py-yarl/Makefile @@ -1,34 +1,34 @@ PORTNAME= yarl PORTVERSION= 1.24.5 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Yet another URL library WWW= https://github.com/aio-libs/yarl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \ ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multidict>=4.0:www/py-multidict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}propcache>=0.2.0:devel/py-propcache@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pydantic>=0:devel/py-pydantic@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR} USES= python USE_PYTHON= autoplist cython pep517 pytest post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting_c*.so pre-test: @cd ${TEST_WRKSRC}/yarl && ${LN} -fs ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting_c*.so .include diff --git a/www/py-yarl/files/patch-tests_test__pydantic.py b/www/py-yarl/files/patch-tests_test__pydantic.py deleted file mode 100644 index 6d1a2ad8d66c..000000000000 --- a/www/py-yarl/files/patch-tests_test__pydantic.py +++ /dev/null @@ -1,14 +0,0 @@ -https://github.com/aio-libs/yarl/issues/1872 - ---- tests/test_pydantic.py.orig 2026-05-19 19:57:25 UTC -+++ tests/test_pydantic.py -@@ -10,6 +10,9 @@ else: - pydantic = pytest.importorskip("pydantic") - - -+pytest.skip("fails with 'RuntimeError: no validator found for , see `arbitrary_types_allowed` in Config'", allow_module_level=True) -+ -+ - class TstModel(pydantic.BaseModel): - url: URL -