Commit Graph

2 Commits

Author SHA1 Message Date
Bai, Haiqing
733b6fc2c6
python3-stopit: Fixed the deprecated pkg_resources issue
pkg_resources is deprecated as an API. The pkg_resources package
has been removed from setuptools, so the way of obtaining the
version needs to be replaced with importlib.metadata module.

Signed-off-by: Bai, Haiqing <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-06 22:54:18 -07:00
Adrian Zaharia
586a4bfbac meta-python: Add stopit
stopit is a library to raise asynchronous exceptions in other threads, control
the timeout of blocks or callables with two context managers and two decorators.

The license isn't shipped in the pypi package, so it was extracted from the
github repo at [1].

[1] https://github.com/glenfant/stopit/blob/master/LICENSE

Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-07 09:31:32 -07:00