diff mbox series

[3/6] python3-hypothesis: add python3-zoneinfo to RDEPENDS

Message ID 20241022165807.2601020-3-tgamblin@baylibre.com
State Accepted, archived
Commit 2a535f7ca6329fee98491251c282741d9d21febc
Headers show
Series [1/6] python3-trove-classifiers: upgrade 2024.9.12 -> 2024.10.21.16 | expand

Commit Message

Trevor Gamblin Oct. 22, 2024, 4:58 p.m. UTC
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>
---
 meta/recipes-devtools/python/python3-hypothesis_6.112.4.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 += " \