aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-05-30 20:38:38 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-06-07 18:08:03 +0000
commita1e5451ffa481df45779bd912ceb90b0de40cb18 (patch)
treea9e89c3764863ddda08f800159bc0fe234b2aab9
parent061fbf1fefcbffb87d4a5b88022fb84b2fc34f95 (diff)
downloadports-a1e5451ffa481df45779bd912ceb90b0de40cb18.tar.gz
ports-a1e5451ffa481df45779bd912ceb90b0de40cb18.zip
devel/py-pytest-runner: upgrade to 5.3.1 and deprecate
aAccording to upstream: pytest-runner depends on deprecated features of setuptools and relies on features that break security mechanisms in pip. PR: 255272 Reported by: Gian-Simon Purkert Approved by: wg (maintainer=
-rw-r--r--devel/py-pytest-runner/Makefile6
-rw-r--r--devel/py-pytest-runner/distinfo6
-rw-r--r--devel/py-pytest-runner/pkg-descr11
3 files changed, 18 insertions, 5 deletions
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 <william88@gmail.com>
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