Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 18:08:11 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a1e5451ffa48 - main - devel/py-pytest-runner: upgrade to 5.3.1 and deprecate
Message-ID:  <202106071808.157I8BpJ023792@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a1e5451ffa481df45779bd912ceb90b0de40cb18

commit a1e5451ffa481df45779bd912ceb90b0de40cb18
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-05-30 20:38:38 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-06-07 18:08:03 +0000

    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=
---
 devel/py-pytest-runner/Makefile  |  6 ++++--
 devel/py-pytest-runner/distinfo  |  6 +++---
 devel/py-pytest-runner/pkg-descr | 11 +++++++++++
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106071808.157I8BpJ023792>