]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-hypothesis: add python3-zoneinfo to RDEPENDS
authorTrevor Gamblin <tgamblin@baylibre.com>
Tue, 22 Oct 2024 16:58:04 +0000 (12:58 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Oct 2024 14:18:52 +0000 (15:18 +0100)
This fixes the following runtime issue:

|root@qemux86-64:~# python3
|Python 3.12.6 (main, Sep  6 2024, 19:03:47) [GCC 14.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import hypothesis
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.12/site-packages/hypothesis/__init__.py", line 29, in <module>
|    from hypothesis.core import example, find, given, reproduce_failure, seed
|  File "/usr/lib/python3.12/site-packages/hypothesis/core.py", line 44, in <module>
|    from hypothesis import strategies as st
|  File "/usr/lib/python3.12/site-packages/hypothesis/strategies/__init__.py", line 48, in <module>
|    from hypothesis.strategies._internal.datetime import (
|  File "/usr/lib/python3.12/site-packages/hypothesis/strategies/_internal/datetime.py", line 13, in <module>
|    import zoneinfo
|ModuleNotFoundError: No module named 'zoneinfo'

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb

index 1010348e387d3ca037c32189aeb12a47f0824830..b66fa9ce47ba72f479607fe3b002dfe49093aa3d 100644 (file)
@@ -24,6 +24,7 @@ RDEPENDS:${PN} += " \
     python3-sortedcontainers \
     python3-statistics \
     python3-unittest \
+    python3-zoneinfo \
     "
 
 RDEPENDS:${PN}-ptest += " \