test: Move to a working version of setuptools
authorSimon Glass <sjg@chromium.org>
Sat, 22 Oct 2022 01:30:43 +0000 (19:30 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 26 Oct 2022 19:21:11 +0000 (15:21 -0400)
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 <sjg@chromium.org>
test/py/requirements.txt

index 1bf77b5..fae8b59 100644 (file)
@@ -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