summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-inotify
Commit message (Collapse)AuthorAgeFilesLines
* python3-inotify: upgrade to 0.2.12Yi Zhao2025-11-131-620/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ChangeLog: https://github.com/dsoprea/PyInotify/releases/tag/0.2.11 https://github.com/dsoprea/PyInotify/releases/tag/0.2.12 License Update: Use LICENSE file instead of the specific line in setup.py. * Switch to PyPI instead of github source * Drop local patch new-test-inotify.patch as it can not be applied with updated test_inotify.py Ptest result: $ ptest-runner python3-inotify START: ptest-runner 2025-11-13T03:46 BEGIN: /usr/lib/python3-inotify/ptest PASS: tests/test_inotify.py:TestInotify.test__cycle PASS: tests/test_inotify.py:TestInotify.test__error_on_watch_nonexistent_folder PASS: tests/test_inotify.py:TestInotify.test__get_event_names SKIP: tests/test_inotify.py:TestInotify.test__international_naming_python2 # SKIP Not in Python 2 PASS: tests/test_inotify.py:TestInotify.test__international_naming_python3 PASS: tests/test_inotify.py:TestInotify.test__watch_list_of_paths PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_existing_paths PASS: tests/test_inotify.py:TestInotifyTree.test__automatic_new_watches_on_new_paths PASS: tests/test_inotify.py:TestInotifyTree.test__cycle PASS: tests/test_inotify.py:TestInotifyTree.test__renames PASS: tests/test_inotify.py:TestInotifyTrees.test__cycle ============================================================================ Testsuite summary # TOTAL: 11 # PASS: 10 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 DURATION: 14 END: /usr/lib/python3-inotify/ptest 2025-11-13T03:46 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: update recipe to use the ptest-python-pytest classDerek Straka2025-01-301-3/+0
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: switch to pytest --automakeTim Orling2024-02-161-1/+1
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: fix testsJoe Slater2023-09-071-0/+620
| | | | | | | | | Some tests in test-inotify.py assume values for watch descriptors. This is not safe, so we retrieve the assigned values to compare with event information generated. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inotify: add ptestZheng Qiu2022-11-291-0/+3
Add ptest provided from the source code, and run it using pytest. Since the tarball provided with pypi does not include ptest, switch the source to be its git repo. ptest result: PASS FAIL SKIP qemux86-64 5 3 1 qemuarm64 5 3 1 This issue exists since inotify adds unit test support, and it is reported here: https://github.com/dsoprea/PyInotify/issues/95 Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>