commit 67db27af4e4046c0d94cb0bb13926f069fb32126 Author: Thierry Thomas Date: Sun May 30 22:38:38 2021 +0200 devel/py-pytest-runner: upgrade to 5.3.1 and deprecate PR: xxxxx Approved by: /* TODO */ diff --git a/devel/py-pytest-runner/Makefile b/devel/py-pytest-runner/Makefile index 3fd3c37c6614..7cd62e5d7aa8 100644 --- a/devel/py-pytest-runner/Makefile +++ b/devel/py-pytest-runner/Makefile @@ -1,7 +1,7 @@ # Created by: William Grzybowski PORTNAME= pytest-runner -PORTVERSION= 2.11.1 +PORTVERSION= 5.3.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,9 @@ COMMENT= Test support for pytest runner in setup.py LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} +DEPRECATED= pytest-runner depends on deprecated features of setuptools + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils diff --git a/devel/py-pytest-runner/distinfo b/devel/py-pytest-runner/distinfo index 6e9a6f9cb78c..3fa2faf1cf4e 100644 --- a/devel/py-pytest-runner/distinfo +++ b/devel/py-pytest-runner/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1492252528 -SHA256 (pytest-runner-2.11.1.tar.gz) = 983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3 -SIZE (pytest-runner-2.11.1.tar.gz) = 9661 +TIMESTAMP = 1622406175 +SHA256 (pytest-runner-5.3.1.tar.gz) = 0fce5b8dc68760f353979d99fdd6b3ad46330b6b1837e2077a89ebcf204aac91 +SIZE (pytest-runner-5.3.1.tar.gz) = 16262 diff --git a/devel/py-pytest-runner/pkg-descr b/devel/py-pytest-runner/pkg-descr index 1b0616cc255e..d19d15fdc356 100644 --- a/devel/py-pytest-runner/pkg-descr +++ b/devel/py-pytest-runner/pkg-descr @@ -1,4 +1,15 @@ Setup scripts can use pytest-runner to add setup.py test support for pytest runner. +Notice: pytest-runner depends on deprecated features of setuptools and relies on +features that break security mechanisms in pip. + +It is recommended that you: + +- Remove 'pytest-runner' from your setup_requires, preferably removing the + setup_requires option. +- Remove 'pytest' and any other testing requirements from tests_require, + preferably removing the tests_requires option. +- Select a tool to bootstrap and then run tests such as tox. + WWW: https://github.com/pytest-dev/pytest-runner