diff options
author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2025-07-22 11:12:21 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-22 00:16:43 -0700 |
commit | a1fed5675cd2edb6cfd4cf8dd1fe56f18fe393e8 (patch) | |
tree | 73f6453acd33983b627e1cacf986531024dbf96d | |
parent | ce154c65949b8481cd12001355782b0d2a246ef8 (diff) | |
download | meta-openembedded-a1fed5675cd2edb6cfd4cf8dd1fe56f18fe393e8.tar.gz |
python3-portalocker: upgrade 3.1.1 -> 3.2.0
fix the issue that:
| ImportError while importing test module '/usr/lib/python3-portalocker/ptest/tests/test_lock_flags.py'.
| Hint: make sure your test modules/packages have valid Python names.
| Traceback:
| ../../python3.13/importlib/__init__.py:88: in import_module
| return _bootstrap._gcd_import(name[level:], package, level)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| tests/test_lock_flags.py:7: in <module>
| from portalocker_tests.conftest import LOCKERS
| E ModuleNotFoundError: No module named 'portalocker_tests'
| ERROR: tests/test_lock_flags.py:tests/test_lock_flags.py
portalocker_tests is a dir in source, we need to keep it
python3-portalocker/3.2.0/sources/portalocker-3.2.0$ ls -l -t portalocker_tests/
total 60
-rw-r--r-- 1 userland userland 2019 Jun 14 13:20 conftest.py
Changelog:
==========
- Rewrote locking mechanism to allow for custom locking classes so both Windows and
Posix (Linux/Mac/BSD) systems have configurable locking options for both exclusive and shared locking.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb (renamed from meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb index 7a36ab74e3..1d70b586c7 100644 --- a/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.1.1.bb +++ b/meta-python/recipes-extended/python3-portalocker/python3-portalocker_3.2.0.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=152634da660a374ca18c0734ed07c63c" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "ec20f6dda2ad9ce89fa399a5f31f4f1495f515958f0cb7ca6543cef7bb5a749e" | 7 | SRC_URI[sha256sum] = "1f3002956a54a8c3730586c5c77bf18fae4149e07eaf1c29fc3faf4d5a3f89ac" |
8 | 8 | ||
9 | DEPENDS += "python3-setuptools-scm-native" | 9 | DEPENDS += "python3-setuptools-scm-native" |
10 | 10 | ||
@@ -23,9 +23,9 @@ RDEPENDS:${PN}-ptest += " \ | |||
23 | " | 23 | " |
24 | 24 | ||
25 | do_install_ptest() { | 25 | do_install_ptest() { |
26 | install -d ${D}${PTEST_PATH}/tests | 26 | install -d ${D}${PTEST_PATH}/portalocker_tests |
27 | cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/tests/ | 27 | cp -rf ${S}/portalocker_tests/* ${D}${PTEST_PATH}/portalocker_tests/ |
28 | rm -rf ${D}${PTEST_PATH}/tests/test_combined.py | 28 | rm -rf ${D}${PTEST_PATH}/portalocker_tests/test_combined.py |
29 | } | 29 | } |
30 | 30 | ||
31 | RDEPENDS:${PN} += " \ | 31 | RDEPENDS:${PN} += " \ |