mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-08-21 08:19:13 +02:00
![]() 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> |
||
---|---|---|
.. | ||
python3-portalocker | ||
python3-portalocker_3.2.0.bb |