Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 15:48:28 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 76f11726058d - main - devel/py-distlib: Add env var for tests; Change comment
Message-ID:  <202307181548.36IFmS4B065131@gitrepo.freebsd.org>

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

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

commit 76f11726058d5acaa9a8b792bd13123cba99161d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 15:47:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-18 15:48:26 +0000

    devel/py-distlib: Add env var for tests; Change comment
---
 devel/py-distlib/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/py-distlib/Makefile b/devel/py-distlib/Makefile
index 5a05d9dcdc89..dab407a763e4 100644
--- a/devel/py-distlib/Makefile
+++ b/devel/py-distlib/Makefile
@@ -15,8 +15,10 @@ BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest # 3 tests fail, see https://github.com/pypa/distlib/issues/205
+USE_PYTHON=	pep517 autoplist pytest # few tests fail intermittently, see https://github.com/pypa/distlib/issues/205
 
 NO_ARCH=	yes
 
+TEST_ENV=	PYTHONHASHSEED=0 # needed for tests to succeed
+
 .include <bsd.port.mk>



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