Commit Graph

2 Commits

Author SHA1 Message Date
Richard Purdie
b947ea3749 python3-testtools: Fix build problems from incorrect build backend
testtools uses the hatchling backend so:
  * merge the inc back into the recipe
  * drop setuptools
  * use the hatchling backend
  * add the needed vcs dependency
  * drop the now unneeded python3-pbr dependency

This means the submodules are included in packaging, fixing build failures
and the verison in the wheel is no longer 0.0.0

Prior to this fix, testtools in buildtools tarball was completely
broken.

(From OE-Core rev: fe46107e6bf4880d97f03b5e55d722d64f922889)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-14 06:28:02 +01:00
Wang Mingyu
97f53ce1bb python3-testtools: upgrade 2.7.0 -> 2.7.1
Changelog:
============
* Remove various unused imports.
* Fix build backend. This should prevent version from being set to 0.0.0
  when building wheels.

(From OE-Core rev: a6c46a0074999d9460f273886734258f0bf788d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00