pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test_socket
Module Name: pkgsrc
Committed By: adam
Date: Thu May 28 11:31:22 UTC 2026
Modified Files:
pkgsrc/devel/py-test_socket: Makefile PLIST distinfo
Log Message:
py-test_socket: updated to 0.8.0
0.8.0
Enhancements:
Block DNS resolution (getaddrinfo, gethostbyname) when sockets are disabled
Support CIDR network ranges in allow_hosts
Warn before raising on a blocked socket call
Cache hostname resolutions during a test run
Changes:
Removed support for Python 3.8 and 3.9. Python 3.10 is now the minimum.
Test against Python 3.13, 3.14, and free-threaded 3.13t/3.14t
Replaced Poetry with uv
Added type hints
Swapped pytest-httpbin for a local test fixture
Dependency, CI, and development updates
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-test_socket/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-test_socket/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test_socket/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-test_socket/Makefile
diff -u pkgsrc/devel/py-test_socket/Makefile:1.4 pkgsrc/devel/py-test_socket/Makefile:1.5
--- pkgsrc/devel/py-test_socket/Makefile:1.4 Sun Sep 21 16:23:21 2025
+++ pkgsrc/devel/py-test_socket/Makefile Thu May 28 11:31:22 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2025/09/21 16:23:21 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2026/05/28 11:31:22 adam Exp $
-DISTNAME= pytest_socket-0.7.0
+DISTNAME= pytest_socket-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest_socket/}
@@ -12,10 +11,10 @@ COMMENT= Pytest Plugin to disable socket
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-randomly>=3.15.0:../../devel/py-test-randomly
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test_socket/PLIST
diff -u pkgsrc/devel/py-test_socket/PLIST:1.3 pkgsrc/devel/py-test_socket/PLIST:1.4
--- pkgsrc/devel/py-test_socket/PLIST:1.3 Sun Sep 21 16:23:21 2025
+++ pkgsrc/devel/py-test_socket/PLIST Thu May 28 11:31:22 2026
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2025/09/21 16:23:21 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/05/28 11:31:22 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
-${PYSITELIB}/pytest_socket.py
-${PYSITELIB}/pytest_socket.pyc
-${PYSITELIB}/pytest_socket.pyo
+${PYSITELIB}/pytest_socket/__init__.py
+${PYSITELIB}/pytest_socket/__init__.pyc
+${PYSITELIB}/pytest_socket/__init__.pyo
+${PYSITELIB}/pytest_socket/py.typed
Index: pkgsrc/devel/py-test_socket/distinfo
diff -u pkgsrc/devel/py-test_socket/distinfo:1.2 pkgsrc/devel/py-test_socket/distinfo:1.3
--- pkgsrc/devel/py-test_socket/distinfo:1.2 Mon Jan 29 09:38:38 2024
+++ pkgsrc/devel/py-test_socket/distinfo Thu May 28 11:31:22 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2024/01/29 09:38:38 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/05/28 11:31:22 adam Exp $
-BLAKE2s (pytest_socket-0.7.0.tar.gz) = a55533b36f7b0ca17c598dba6fcfb703890e379df047b3cedc79fad7c48e599c
-SHA512 (pytest_socket-0.7.0.tar.gz) = b32d0077287cbdea19c65f750f904084aeb9ede6b95916a471b4d16ba89648a77b799d33d1b33e1aee0fa7560bd9fe532fc1e59406aee08648efe35499fc936b
-Size (pytest_socket-0.7.0.tar.gz) = 12389 bytes
+BLAKE2s (pytest_socket-0.8.0.tar.gz) = 2a5f305e281e7c43e8bbd93495ef3d33b69b9f1f0c2ad1121174db96528693c7
+SHA512 (pytest_socket-0.8.0.tar.gz) = 2ae68d3302e90893094a94a842e0c98b71bc9beef9a54465b3177151353048fe582559123679efc45b688b329a175591d217654e8e3fa0ca237b461206263365
+Size (pytest_socket-0.8.0.tar.gz) = 13912 bytes
Home |
Main Index |
Thread Index |
Old Index