Fri Oct 6 12:43:24 2023 UTC ()
py-test-pylint: updated to 0.21.0

0.21.0

Dropped support for pytest < 7.0 in preparation for pytest 8.0 (should work with it when it comes out)
Dropped support for pylint < 2.15 to work better with Python 3.11 and drop backwards compatibility code
Use baked in TOML support with fallback to newer tomli library thanks to mgorny

0.20.0

Corrected issues introduced by deprecations in pylint
Added support for Python 3.12 and dropped support for Python 3.7
Last version that will support pytest < 7 and pylint < 2.6


(adam)
diff -r1.7 -r1.8 pkgsrc/devel/py-test-pylint/Makefile
diff -r1.6 -r1.7 pkgsrc/devel/py-test-pylint/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-test-pylint/Makefile (expand / switch to context diff)
--- pkgsrc/devel/py-test-pylint/Makefile 2023/06/06 12:41:15 1.7
+++ pkgsrc/devel/py-test-pylint/Makefile 2023/10/06 12:43:24 1.8
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2023/06/06 12:41:15 riastradh Exp $
+# $NetBSD: Makefile,v 1.8 2023/10/06 12:43:24 adam Exp $
 
-DISTNAME=	pytest-pylint-0.19.0
+DISTNAME=	pytest-pylint-0.21.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pytest-pylint/}
@@ -10,14 +10,18 @@
 COMMENT=	Pytest plugin to check source code with Pylint
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-pylint>=2.3.0:../../devel/py-pylint
-DEPENDS+=	${PYPKGPREFIX}-test>=5.4:../../devel/py-test
-DEPENDS+=	${PYPKGPREFIX}-toml>=0.7.1:../../textproc/py-toml
+DEPENDS+=	${PYPKGPREFIX}-pylint>=2.15.0:../../devel/py-pylint
+DEPENDS+=	${PYPKGPREFIX}-test>=7.0:../../devel/py-test
 TOOL_DEPENDS+=	${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES=	# none
 
-PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-pylint
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+.endif
 
 # test are not included
 do-test:

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-test-pylint/distinfo (expand / switch to context diff)
--- pkgsrc/devel/py-test-pylint/distinfo 2022/10/13 16:21:21 1.6
+++ pkgsrc/devel/py-test-pylint/distinfo 2023/10/06 12:43:24 1.7
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/10/13 16:21:21 adam Exp $
+$NetBSD: distinfo,v 1.7 2023/10/06 12:43:24 adam Exp $
 
-BLAKE2s (pytest-pylint-0.19.0.tar.gz) = d0a92b1eddb52eda298e4c2f8b299898606d8184f43f8d689fbd29812baf6202
+BLAKE2s (pytest-pylint-0.21.0.tar.gz) = 5fadfd4d1c7631133a6f63d7580f778742ab857e4d29a59c806a8f103eb0329c
-SHA512 (pytest-pylint-0.19.0.tar.gz) = 4d6d18ef3f93561d39759124e9d8f01759a6e5fbd82ede470cae84fbabba55a627f0e05d109eadee6ebabaacc2fd65618104db7e2cb3d165d1ca2014a57938c4
+SHA512 (pytest-pylint-0.21.0.tar.gz) = 5c7c7fc8ffd5fa9a3f216339db9ec965bb81d14efe6c70cff74a782e1cd092ca762a6bba1cf517decf97ff903338cf20045ec80580fd30d7f676c1e4c47fe96f
-Size (pytest-pylint-0.19.0.tar.gz) = 13801 bytes
+Size (pytest-pylint-0.21.0.tar.gz) = 14250 bytes