Skip to content

ODH: Fixed issues for Py filelock#8034

Merged
cdeepali merged 7 commits intoppc64le:masterfrom
bhagyashrigai:py-filelock
Apr 1, 2026
Merged

ODH: Fixed issues for Py filelock#8034
cdeepali merged 7 commits intoppc64le:masterfrom
bhagyashrigai:py-filelock

Conversation

@bhagyashrigai
Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 9 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

@bhagyashrigai bhagyashrigai changed the title Py filelock ODH: Py filelock Mar 25, 2026
@bhagyashrigai bhagyashrigai changed the title ODH: Py filelock ODH: Fixed issues for Py filelock Mar 31, 2026
@cdeepali
Copy link
Copy Markdown
Contributor

@bhagyashrigai pls add the test log in comment from PR Run.

@bhagyashrigai
Copy link
Copy Markdown
Contributor Author

@bhagyashrigai pls add the test log in comment from PR Run.

Logs:-
Successfully installed filelock-3.25.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
============================= test session starts ==============================
platform linux -- Python 3.11.13, pytest-9.0.2, pluggy-1.6.0
rootdir: /py-filelock
configfile: pyproject.toml
testpaths: tests
plugins: asyncio-1.3.0, trio-0.8.0, tornasync-0.6.0.post2, mock-3.15.1, timeout-2.4.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=session, asyncio_default_test_loop_scope=function
timeout: 20.0s
timeout method: signal
timeout func_only: False
collected 374 items / 4 deselected / 370 selected

tests/test_async_filelock.py ........................................... [ 11%]
................... [ 16%]
tests/test_async_read_write.py ....................... [ 22%]
tests/test_default_mode.py ..................... [ 28%]
tests/test_error.py .... [ 29%]
tests/test_filelock.py ..................ssss......ssssssssssssssssssss. [ 42%]
........................................................................ [ 62%]
.......... [ 65%]
tests/test_lock_expiry.py ................. [ 69%]
tests/test_read_write.py ................. [ 74%]
tests/test_read_write_unit.py .......................................... [ 85%]
............... [ 89%]
tests/test_self_deadlock.py .................... [ 95%]
tests/test_soft_stale.py ........... [ 98%]
tests/test_unix_fallback.py ...... [ 99%]
tests/test_virtualenv.py . [100%]

=============================== warnings summary ===============================
tests/test_unix_fallback.py::test_fallback_swaps_to_soft
tests/test_unix_fallback.py::test_fallback_writes_pid_and_hostname
tests/test_unix_fallback.py::test_fallback_release_unlinks_file
tests/test_unix_fallback.py::test_fallback_reentrant_locking
/usr/local/lib/python3.11/site-packages/filelock/_unix.py:82: UserWarning: flock not supported on this filesystem, falling back to SoftFileLock
self._fallback_to_soft_lock()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========== 346 passed, 24 skipped, 4 deselected, 4 warnings in 53.10s ==========
------------------py-filelock:Install_&_test_both_success-------------------------
https://github.com/benediktschmitt/py-filelock py-filelock
py-filelock | https://github.com/benediktschmitt/py-filelock | 3.25.2 | GitHub | Pass | Both_Install_and_Test_Success
----- CONTAINER LOGS END -----
[12:57:15] Container finished with status code: 0
[12:57:15] Container removed.
Validated below scripts:
p/py-filelock/build_info.json
p/py-filelock/py-filelock_ubi_9.3.sh

@bhagyashrigai
Copy link
Copy Markdown
Contributor Author

@cdeepali Done

@cdeepali cdeepali merged commit 15b3bcc into ppc64le:master Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants