The time passes and things stop to work which worked before.
Unfortunately now we landed in the situation that we can't fix issues
independently due to their collision so we need to address few things in
one change:
- Replace deprecated sphinx.testing.path
The sphinx.testing.path moudle was deprecated in sphinx v7.2.0[1].
Also remove the colgroup section causing the assertion failures.
The changes made in unit tests require Sphinx v7.2.0 or later, but
Sphinx is capped to 7.1.2 in Python 3.8. So unit tests may no longer
pass in Python 3.8 once this change is merged.
[1] https://github.com/sphinx-doc/sphinx/pull/11526
- Since we stop testing py38 update classifiers
- py312 dropped assertRegexpMatches (replace with AssertRegex)
- py312 changed how OrderedDict is serialized and as such test asserting
certain serialization form is now failing. Address this by using
OrderedDict directly in the comparison rather then hardcoding the form
since onlt that would work in different python versions.
Change-Id: I01a89777e18fb6f21f92a297f605099c5971583c