summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-arrow/run-ptest7
-rw-r--r--meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb10
2 files changed, 13 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python3-arrow/run-ptest b/meta-python/recipes-devtools/python/python3-arrow/run-ptest
new file mode 100644
index 0000000000..4f9f7327b5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-arrow/run-ptest
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3# Ignore test_parse_tz_name_zzz[America/Coyhaique] because this has changed in latest pytz and zoneinfo
4# modules and latest version of arrow has moved away from pytz to zoneinfo module so once updating to
5# 1.4.0 or newer see if this test passes
6# see https://github.com/arrow-py/arrow/commit/2aaafcd581115c50cdcbf04b196657dad1692a26
7pytest --automake --deselect tests/test_parser.py::TestDateTimeParserParse::test_parse_tz_name_zzz[America/Coyhaique]
diff --git a/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb b/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb
index 7ce9583d2a..650520a023 100644
--- a/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-arrow_1.3.0.bb
@@ -4,21 +4,23 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d"
6 6
7SRC_URI:append = " \
8 file://run-ptest \
9"
7SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85" 10SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85"
8 11
9inherit pypi python_flit_core ptest-python-pytest 12inherit pypi python_flit_core ptest-python-pytest
10 13
11RDEPENDS:${PN}-ptest += " \ 14RDEPENDS:${PN}-ptest += " \
15 python3-dateparser \
12 python3-dateutil-zoneinfo \ 16 python3-dateutil-zoneinfo \
17 python3-pytest-cov \
13 python3-pytest-mock \ 18 python3-pytest-mock \
14 python3-pytz \ 19 python3-pytz \
15 python3-simplejson \ 20 python3-simplejson \
21 python3-types-python-dateutil \
16" 22"
17 23
18RDEPENDS:${PN} += " \ 24RDEPENDS:${PN} += " \
19 python3-compression \
20 python3-dateutil \ 25 python3-dateutil \
21 python3-dateutil-zoneinfo \
22 python3-json \
23 python3-types-python-dateutil \
24" 26"