git: 104f0fe8ddf4 - main - devel/py-pytest-socket: update 0.7.0 → 0.8.0

Yuri Victorovich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=104f0fe8ddf455c061ecabc8fbcb1785e0fc5440

commit 104f0fe8ddf455c061ecabc8fbcb1785e0fc5440
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-07 16:59:27 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-07 17:18:57 +0000

    devel/py-pytest-socket: update 0.7.0 → 0.8.0
---
 devel/py-pytest-socket/Makefile                   | 20 ++++++++++----------
 devel/py-pytest-socket/distinfo                   |  6 +++---
 devel/py-pytest-socket/files/patch-pyproject.toml | 14 ++++++++++++++
 3 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/devel/py-pytest-socket/Makefile b/devel/py-pytest-socket/Makefile
index 0f7961cf51c8..12c10d232a51 100644
--- a/devel/py-pytest-socket/Makefile
+++ b/devel/py-pytest-socket/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-socket
-DISTVERSION=	0.7.0
+DISTVERSION=	0.8.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,22 +12,22 @@ WWW=		https://github.com/miketheman/pytest-socket
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asynctest>=0.13.0:devel/py-asynctest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}coverage>=7.3:devel/py-coverage@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpx>=0.26.0:www/py-httpx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-httpbin>=1.0:devel/py-pytest-httpbin@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uv-build>=0.7.20:devel/py-uv-build@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=7.9:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mypy>=1.20:devel/py-mypy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.15.0:devel/py-pytest-randomly@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}starlette>=0.36.1:www/py-starlette@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}starlette>=0.47.1:www/py-starlette@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	pep517 autoplist pytest
 
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
 NO_ARCH=	yes
 
-# tests are broken because they use the pytest-httpbin package that is broken with last werkzeug versions for a very long time
+# tests as of 0.8.0: 86 passed in 9.90s
 
 .include <bsd.port.mk>
diff --git a/devel/py-pytest-socket/distinfo b/devel/py-pytest-socket/distinfo
index 254ed29466b9..583d27035871 100644
--- a/devel/py-pytest-socket/distinfo
+++ b/devel/py-pytest-socket/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706501409
-SHA256 (pytest_socket-0.7.0.tar.gz) = 71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3
-SIZE (pytest_socket-0.7.0.tar.gz) = 12389
+TIMESTAMP = 1786121788
+SHA256 (pytest_socket-0.8.0.tar.gz) = af9bb5f487da72be63573a6194cfac033b6c7a1c1561e150521105970f9e99f2
+SIZE (pytest_socket-0.8.0.tar.gz) = 13912
diff --git a/devel/py-pytest-socket/files/patch-pyproject.toml b/devel/py-pytest-socket/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ca4ff84d4d53
--- /dev/null
+++ b/devel/py-pytest-socket/files/patch-pyproject.toml
@@ -0,0 +1,14 @@
+-- Relax the uv_build upper bound so the port builds with the uv_build version
+-- available in the FreeBSD ports tree (currently 0.12.0).
+-- Upstream pins <0.12.0, but FreeBSD has moved past that release.
+
+--- pyproject.toml.orig	2026-08-07 00:00:00 UTC
++++ pyproject.toml
+@@ -40,5 +40,5 @@
+ ignore_names = ["pytest_*"]
+ paths = ["src/pytest_socket"]
+
+ [build-system]
+-requires = ["uv_build>=0.7.20,<0.12.0"]
++requires = ["uv_build>=0.7.20"]
+ build-backend = "uv_build"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.