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 <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-10-21 19:30:43 -06:00 committed by Tom Rini
parent 59b16e9df9
commit 27e6ebc5ea

View File

@ -20,6 +20,7 @@ pytest-xdist==2.5.0
python-mimeparse==1.6.0 python-mimeparse==1.6.0
python-subunit==1.3.0 python-subunit==1.3.0
requests==2.25.1 requests==2.25.1
setuptools==58.3.0
six==1.12.0 six==1.12.0
testtools==2.3.0 testtools==2.3.0
traceback2==1.4.0 traceback2==1.4.0