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 <[email protected]>
---
 meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb
index 1010348e387..b66fa9ce47b 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb
@@ -24,6 +24,7 @@ RDEPENDS:${PN} += " \
     python3-sortedcontainers \
     python3-statistics \
     python3-unittest \
+    python3-zoneinfo \
     "
 
 RDEPENDS:${PN}-ptest += " \
-- 
2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206163): 
https://lists.openembedded.org/g/openembedded-core/message/206163
Mute This Topic: https://lists.openembedded.org/mt/109155698/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to