diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-10-29 08:15:03 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-28 18:36:10 -0700 |
| commit | d8ed6dd94262d633894b74ae62012ed44ecca2d7 (patch) | |
| tree | a83e3826dae129aec7b3e23fc3898fc2a76f8d8a | |
| parent | bf041faad302e54419f23228a3d96ab9b8be8699 (diff) | |
| download | meta-openembedded-d8ed6dd94262d633894b74ae62012ed44ecca2d7.tar.gz | |
python3-yappi: upgrade 1.6.10 -> 1.7.3
0002-Fix-import-of-tests.utils-to-enable-pytest.patch
refreshed for 1.7.3
Changelog:
============
- Better wheel support
- Python 3.14 support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yappi/0002-Fix-import-of-tests.utils-to-enable-pytest.patch | 11 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yappi_1.7.3.bb (renamed from meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb) | 2 |
2 files changed, 5 insertions, 8 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yappi/0002-Fix-import-of-tests.utils-to-enable-pytest.patch b/meta-python/recipes-devtools/python/python3-yappi/0002-Fix-import-of-tests.utils-to-enable-pytest.patch index 96dd024125..93a4fd980f 100644 --- a/meta-python/recipes-devtools/python/python3-yappi/0002-Fix-import-of-tests.utils-to-enable-pytest.patch +++ b/meta-python/recipes-devtools/python/python3-yappi/0002-Fix-import-of-tests.utils-to-enable-pytest.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 28eac38566327091221aabbc164ea8e433c66e7e Mon Sep 17 00:00:00 2001 | 1 | From 7c7ceea53138eefbe522f8881f1c4281083a2d68 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tim Orling <tim.orling@konsulko.com> | 2 | From: Tim Orling <tim.orling@konsulko.com> |
| 3 | Date: Sun, 24 Dec 2023 09:27:50 -0800 | 3 | Date: Sun, 24 Dec 2023 09:27:50 -0800 |
| 4 | Subject: [PATCH 2/2] Fix import of tests.utils to enable pytest | 4 | Subject: [PATCH] Fix import of tests.utils to enable pytest |
| 5 | 5 | ||
| 6 | Running the test cases with pytest leads to importlib errors | 6 | Running the test cases with pytest leads to importlib errors |
| 7 | because the "utils" module cannot be found. | 7 | because the "utils" module cannot be found. |
| @@ -19,7 +19,7 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com> | |||
| 19 | 6 files changed, 6 insertions(+), 6 deletions(-) | 19 | 6 files changed, 6 insertions(+), 6 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py | 21 | diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py |
| 22 | index 8e9e631..bb36f4a 100644 | 22 | index a48b6ca..76e99a7 100644 |
| 23 | --- a/tests/test_asyncio.py | 23 | --- a/tests/test_asyncio.py |
| 24 | +++ b/tests/test_asyncio.py | 24 | +++ b/tests/test_asyncio.py |
| 25 | @@ -2,7 +2,7 @@ import unittest | 25 | @@ -2,7 +2,7 @@ import unittest |
| @@ -30,7 +30,7 @@ index 8e9e631..bb36f4a 100644 | |||
| 30 | +from tests.utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io | 30 | +from tests.utils import YappiUnitTestCase, find_stat_by_name, burn_cpu, burn_io |
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | async def async_sleep(sec): | 33 | try: |
| 34 | diff --git a/tests/test_asyncio_context_vars.py b/tests/test_asyncio_context_vars.py | 34 | diff --git a/tests/test_asyncio_context_vars.py b/tests/test_asyncio_context_vars.py |
| 35 | index 5bd750c..9a253c0 100644 | 35 | index 5bd750c..9a253c0 100644 |
| 36 | --- a/tests/test_asyncio_context_vars.py | 36 | --- a/tests/test_asyncio_context_vars.py |
| @@ -96,6 +96,3 @@ index b0b531d..b5a4016 100644 | |||
| 96 | 96 | ||
| 97 | 97 | ||
| 98 | class MultiThreadTests(YappiUnitTestCase): | 98 | class MultiThreadTests(YappiUnitTestCase): |
| 99 | -- | ||
| 100 | 2.34.1 | ||
| 101 | |||
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb b/meta-python/recipes-devtools/python/python3-yappi_1.7.3.bb index bced340b94..3e735f7124 100644 --- a/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb +++ b/meta-python/recipes-devtools/python/python3-yappi_1.7.3.bb | |||
| @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/sumerc/yappi" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" |
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" | 7 | SRC_URI[sha256sum] = "bef71ad0595b600261668dcb1e18b935a7117a724c04d7be60d9d246e32d0928" |
| 8 | 8 | ||
| 9 | SRC_URI += " \ | 9 | SRC_URI += " \ |
| 10 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ | 10 | file://0001-test_functionality-convert-line-endings-to-Unix.patch \ |
