pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-test-remotedata



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 28 05:39:25 UTC 2026

Modified Files:
        pkgsrc/net/py-test-remotedata: Makefile PLIST distinfo

Log Message:
py-test-remotedata: updated to 0.4.3

0.4.3 (2026-10-27)

- The ``--remote-data`` option now sets its ``dest`` explicitly so that
  it can share it with a short option defined by another plugin (e.g.,
  ``-R`` in ``pytest-astropy``) with the development version of
  pytest.

- The socket blocker no longer calls ``socket.getfqdn()`` on every
  intercepted connection. This could take tens of seconds per call on
  some systems (e.g. macOS CI runners). Connections to the machine's own
  hostname or fully qualified domain name are now detected by checking
  whether the resolved address is local. The addresses of the allowed
  data hosts are also now only resolved once per process.

- Versions of Python <3.11 and pytest <7.2 are no longer supported.

- The package is now built with ``hatchling`` and all packaging metadata
  lives in ``pyproject.toml``.

- Fixed a ``TypeError`` in the socket blocker when ``socket.socket`` has
  been replaced (e.g. by a mock) in the test being run.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-test-remotedata/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-test-remotedata/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-test-remotedata/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-test-remotedata/Makefile
diff -u pkgsrc/net/py-test-remotedata/Makefile:1.4 pkgsrc/net/py-test-remotedata/Makefile:1.5
--- pkgsrc/net/py-test-remotedata/Makefile:1.4  Tue Aug  4 20:18:59 2026
+++ pkgsrc/net/py-test-remotedata/Makefile      Wed Oct 28 05:39:25 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2026/08/04 20:18:59 adam Exp $
+# $NetBSD: Makefile,v 1.5 2026/10/28 05:39:25 adam Exp $
 
-DISTNAME=      pytest_remotedata-0.4.2
+DISTNAME=      pytest_remotedata-0.4.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^pytest_/test-/}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-remotedata/}
@@ -10,10 +10,10 @@ HOMEPAGE=   https://github.com/astropy/pyt
 COMMENT=       Pytest plugin for controlling remote data access
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-test>=5.0:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0:../../devel/py-hatch-vcs
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=0:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-test>=7.2:../../devel/py-test
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/net/py-test-remotedata/PLIST
diff -u pkgsrc/net/py-test-remotedata/PLIST:1.2 pkgsrc/net/py-test-remotedata/PLIST:1.3
--- pkgsrc/net/py-test-remotedata/PLIST:1.2     Tue Aug  4 20:18:59 2026
+++ pkgsrc/net/py-test-remotedata/PLIST Wed Oct 28 05:39:25 2026
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2026/08/04 20:18:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2026/10/28 05:39:25 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.rst
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pytest_remotedata/__init__.py
 ${PYSITELIB}/pytest_remotedata/__init__.pyc
 ${PYSITELIB}/pytest_remotedata/__init__.pyo

Index: pkgsrc/net/py-test-remotedata/distinfo
diff -u pkgsrc/net/py-test-remotedata/distinfo:1.3 pkgsrc/net/py-test-remotedata/distinfo:1.4
--- pkgsrc/net/py-test-remotedata/distinfo:1.3  Tue Aug  4 20:18:59 2026
+++ pkgsrc/net/py-test-remotedata/distinfo      Wed Oct 28 05:39:25 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2026/08/04 20:18:59 adam Exp $
+$NetBSD: distinfo,v 1.4 2026/10/28 05:39:25 adam Exp $
 
-BLAKE2s (pytest_remotedata-0.4.2.tar.gz) = 4401ab542eef13e18a02f3b109a69f8d38941d7b97fde05c03d06b415fc81975
-SHA512 (pytest_remotedata-0.4.2.tar.gz) = 52404c2f3d453d0e837381c31be5190522521420d95b5edea189971eba94621d5344eeb39d45175fa76812011748133fe3918f143be65760f73f0e9f2577b7d3
-Size (pytest_remotedata-0.4.2.tar.gz) = 14034 bytes
+BLAKE2s (pytest_remotedata-0.4.3.tar.gz) = 45de4128371dddd7c21d47392500c284d95b374acc00be1f922457c0f40810d3
+SHA512 (pytest_remotedata-0.4.3.tar.gz) = 9c21f3bf5edada2bcf969e5a597e4f237076fac76c2e829651792e203d2991911a5b7f3d5da16cc1670bfe9b7cc4231af49c553f93dade1a739b199885d078dc
+Size (pytest_remotedata-0.4.3.tar.gz) = 12983 bytes



Home | Main Index | Thread Index | Old Index