From 27e6ebc5ea71c824234e862e55485de841ae29ac Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 21 Oct 2022 19:30:43 -0600 Subject: [PATCH] test: Move to a working version of setuptools The version used on Ubuntu 2022.04 produces a number of warnings: /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release Same with: 0.1.43ubuntu1 11.4.1ubuntu1 2.22.1ubuntu1 1.1build1 According to [1] this is a bug in setuptools. Employ the workaround for now. [1] https://askubuntu.com/questions/1406952/what-is-the-meaning-of-this- pkgresourcesdeprecationwarning-warning-from-pipenv Signed-off-by: Simon Glass --- test/py/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/requirements.txt b/test/py/requirements.txt index 1bf77b59d8..fae8b59caf 100644 --- a/test/py/requirements.txt +++ b/test/py/requirements.txt @@ -20,6 +20,7 @@ pytest-xdist==2.5.0 python-mimeparse==1.6.0 python-subunit==1.3.0 requests==2.25.1 +setuptools==58.3.0 six==1.12.0 testtools==2.3.0 traceback2==1.4.0