summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-connectivity/python-priority
Commit message (Collapse)AuthorAgeFilesLines
* python3-priority: set CVE_PRODUCTGyorgy Sarvari11 days1-0/+2
| | | | | | | | | | | | | | | | | | | | | | Set CVE_PRODUCT to the value that is used to track CVEs for this recipe in the CVE db. See CVE db query (priority-software vendor is not relevant): sqlite> select * from products where product like '%priority%'; CVE-2016-6580|python|python_priority_library|1.0.0|=|| CVE-2016-6580|python|python_priority_library|1.1.0|=|| CVE-2016-6580|python|python_priority_library|1.1.1|=|| CVE-2021-26832|priority-software|priority_enterprise_management_system|8.00|=|| CVE-2022-23172|priority-software|priority|||22.0|< CVE-2022-23173|priority-software|priority|||22.0|< CVE-2023-23459|priority-software|priority|||22.1|< CVE-2023-23460|priority-software|priority|19.1.0.68|=|| CVE-2024-41697|priority-software|priority|||24.0|< CVE-2024-41698|priority-software|priority|||24.0|< CVE-2024-41699|priority-software|priority|||24.0|< Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-priority: add ptest supportGyorgy Sarvari2025-12-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It takes under 5s to execute. Sample output: qemux86-64 login: root root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T16:00 BEGIN: /usr/lib/python3-priority/ptest PASS: test/test_priority.py:TestStream.test_stream_repr PASS: test/test_priority.py:TestStream.test_streams_are_well_ordered PASS: test/test_priority.py:TestStream.test_stream_ordering [...many lines...] PASS: test/test_priority.py:TestPriorityTreeManual.test_maximum_streams_with_bad_int_is_error[-50] PASS: test/test_priority.py:TestPriorityTreeOutput.test_period_of_repetition PASS: test/test_priority.py:TestPriorityTreeOutput.test_priority_tree_distribution PASS: ../../python3.13/site-packages/hypothesis/stateful.py:TestPriorityTreeStateful.runTest ============================================================================ Testsuite summary DURATION: 4 END: /usr/lib/python3-priority/ptest 2025-12-16T16:00 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-priority: Upgrade 1.3.0 -> 2.0.0Leon Anavi2021-07-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 2.0.0: - Python 3.6 is the minimal support Python version. - Support for Python 3.7 has been added. - Support for Python 3.8 has been added. - Support for Python 3.9 has been added. - Support for Python 2.7 has been removed. - Support for Python 3.3 has been removed. - Support for Python 3.4 has been removed. - Support for Python 3.5 has been removed. - Support for PyPy (Python 2.7 compatible) has been removed. - Add type hints throughout and support PEP 561 via a py.typed file. This should allow projects to type check their usage of this dependency. - Throw TypeError when creating a priority tree with a maximum_streams value that is not an integer. - Throw ValueError when creating a priority tree with a maximum_streams value that is not a positive integer. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-priority: Consolidate in a single fileLeon Anavi2020-09-072-12/+9
| | | | | | | | Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: remove python2 recipes from layerAndrey Zhizhikin2020-01-221-3/+0
| | | | | | | | Remove recipes which require python2 from the layer. Those recipes are moved to meta-python2 and are not required here any longer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-priority: add recipeTrevor Gamblin2019-11-013-0/+16
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>