python3-testtools: upgrade 2.7.1 -> 2.7.2

Also add python3-json and python3-compression to RDEPENDS so that the
module imports correctly.

Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS):

- Treat methodName="runTest" similar to unittest.TestCase,
  fixes compatibility with pytest 8.3. (Natanael Copa, #372)
- Format with ``ruff format``. (Jelmer Vernooij)
- Use ruff for linting. (Jelmer Vernooij)
- Fix compatibility with Python 3.12.1. (Matthew Treinish)
- Deprecate SkippedTest exception. (Stephen Finucane)
- Drop support for Python 3.7. (Jelmer Vernooij)

(From OE-Core rev: 8e68feaee2dcaa5c0d7fdb829fae47f7858dc07b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Trevor Gamblin 2024-06-20 10:07:50 -04:00 committed by Richard Purdie
parent b9a50da842
commit 6d4e668c76

View File

@ -8,11 +8,13 @@ DEPENDS += "python3-hatch-vcs-native"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
SRC_URI[sha256sum] = "5be5bbc1f0fa0f8b60aca6ceec07845d41d0c475cf445bfadb4d2c45ec397ea3"
RDEPENDS:${PN} += "\
python3-compression \
python3-doctest \
python3-extras \
python3-json \
python3-six \
"