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>
Changelog:
===========
- Completely modernized portalocker build system and added fully strict pyright
and mypy compliance with ruff formatting and checking.
- Dropped support for deprecated Python versions, only 3.9 and up are supported now.
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- increasing the timeouts to make the osx tests less flaky
- Fix spelling error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- Properly propagating exceptions for NFS read-only lock issues and added support
for being able to choose between lockf and flock
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 2 is long unsupported, so we no longer need this variable.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>