Files
requirements/openstack_requirements
Dr. Jens Harbott 5ed67b5930 Fix pkg_resources exception handling for py312
The exception that is generated on parsing errors has changed in Python
3.12, match on the generic ValueError instead. Also switch to using
the simpler assertRaises() call instead of explicitly dealing with
exceptions.

Note that this is just a temporary workaround, we should really move
away for using pkg_resources completely, see [0] and [1].

[0] https://setuptools.pypa.io/en/latest/pkg_resources.html
[1] https://importlib-resources.readthedocs.io/en/latest/migration.html

Change-Id: I20422194f6fc6d1c4ba49da754a2c3aab99a282c
(cherry picked from commit c7d98564d0)
2024-06-24 07:12:54 +00:00
..
2023-05-11 08:37:04 -04:00