summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-testtools.inc
AgeCommit message (Collapse)Author
2024-04-14python3-testtools: Fix build problems from incorrect build backendRichard Purdie
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-02-20python: Drop ${PYTHON_PN}Richard Purdie
python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20python3-testtools: upgrade 2.7.0 -> 2.7.1Wang Mingyu
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-05python3-testtools: upgrade 2.6.0 -> 2.7.0Wang Mingyu
Changelog: ============ * Fix compatibility with Python 3.12. * Add typing in various modules (still lacking full coverage). * Drop the 'test' command for distutils. This has been deprecated since 2.6.0. * Drop support for Python 3.6. (From OE-Core rev: d331c9be4ea79aabb099a1ddd04d7c0b30c533d7) 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-03-16python3-testtools: upgrade 2.5.0 -> 2.6.0Wang Mingyu
Improvements ------------ * Add support for Python 3.10 and 3.11. * Drop support for Python 3.5 (EOL). * Distutils integration is deprecated and will be removed in the next major version. * Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our own. * Provide a "testtools[twisted]" extra documenting dependencies needed for "testtools.twistedsupport". * Make "TestCase" hashable. * Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a "__dict__" attribute. * Replace deprecated "cgi" module usage with "email". (From OE-Core rev: c0d0428deabf519e86bc0ffb7ff47e9bb0a165c4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24python3-testools: update 2.4.0 -> 2.5.0Alexander Kanavin
Drop no_traceback2.patch as issue fixed upstream. (From OE-Core rev: a592d741dec7151d3d32c4584568e49d69ed5b6f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23python: use official "pypi.org" URLs for HOMEPAGERobert P. J. Day
As the URL pypi.python.org simply redirects to pypi.org, simplify a number of Python recipes by using that URL explicitly. (From OE-Core rev: 934c8302e4ead9b09d6e7396ff11b6a4c1be7b21) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04python3-testtools: upgrade 2.3.0 -> 2.4.0Alexander Kanavin
(From OE-Core rev: ed821ceac61d06746d2405af4d5e0a9c28650c98) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-06python-testtools: rdepend on doctest moduleChen Qi
`import testtools' will give people error for lacking of doctest module. Add it to RDEPENDS to solve the issue. (From OE-Core rev: eecde5b90fd8b0315e5f3540b861265fabaf1e73) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-02python3-testtools: 2.2.0 -> 2.3.0Robert Yang
(From OE-Core rev: 114e23298420df3bdac48c6a2b628164f1d825f8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-30python3-testtools: add it for oeqaRobert Yang
- It is required by oeqa, add it so that we can add nativesdk-python3-testtools to buildtools-tarball. - The original one is python-testtools_2.3.0.bb which is from meta-openstack layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb, and extended to nativesdk. (From OE-Core rev: 50864df5b0eb3d1704e8fe75c06e957af0b41c38) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>