summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-connectivity/python-h2
Commit message (Collapse)AuthorAgeFilesLines
* python3-h2: remove ptest execution deadlineGyorgy Sarvari2026-01-121-0/+6
| | | | | | | | | | | | | | | Hypothesis Python module applies a 200ms default timeout value on the tests, that can be violated too easily in qemu without kvm support. Hypothesis however also has a feature, that in case it is running in a CI environment, it expects that the host has more load, and it removes this deadline. To switch to the CI profile and relax the execution timeouts, this patch defines the "CI" environment variable in the run-ptest script. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-h2: add ptest supportGyorgy Sarvari2025-12-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It takes around 10s to execute the suite. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2025-12-16T15:36 BEGIN: /usr/lib/python3-h2/ptest PASS: tests/test_basic_logic.py:TestBasicClient.test_begin_connection PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_headers PASS: tests/test_basic_logic.py:TestBasicClient.test_sending_data [...many lines...] PASS: tests/test_utility_functions.py:test_size_limit_dict_limit PASS: tests/test_utility_functions.py:test_size_limit_dict_limit_init PASS: tests/test_utility_functions.py:test_size_limit_dict_no_limit ============================================================================ Testsuite summary DURATION: 10 END: /usr/lib/python3-h2/ptest 2025-12-16T15:36 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-h2: upgrade 4.2.0 -> 4.3.0Wang Mingyu2025-09-041-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-h2: Upgrade 4.1.0 -> 4.2.0Leon Anavi2025-03-071-2/+2
| | | | | | | | | | | | | | | | | Upgrade to release 4.2.0: - Support for Python 3.11 has been added. - Support for Python 3.12 has been added. - Support for Python 3.13 has been added. - Add an ability to send outbound cookies separately to improve headers compression. - Updated packaging and testing infrastructure. - Fix repr() checks for Python 3.11 - Fix asyncio / wsgi examples. - Clarify docs on using curl with http2. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: drop ${PYTHON_PN}Tim Orling2024-02-191-1/+1
| | | | | | | 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>
* python3-h2: update to 4.1.0Oleksandr Kravchuk2021-10-181-2/+1
| | | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python3-h2: Upgrade 3.2.0 -> 4.0.0Leon Anavi2020-09-231-3/+3
| | | | | | | | | | | | | | | | | Upgrade to release 4.0.0: - Support for Python 2.7 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. - Support for Python 3.8 has been added. - Receiving DATA before HEADERS now raises a ProtocolError. License-Update: Update copyright year to 2020. 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>
* python3-h2: Upgrade 3.1.1 -> 3.2.0Leon Anavi2020-07-031-2/+2
| | | | | | | | | | | | | | | Upgrade to release 3.2.0: - Receiving DATA frames on closed (or reset) streams now properly emit a WINDOW_UPDATE to keep the connection flow window topped up. - h2.config.logger now uses a trace(...) function, in addition to debug(...). If you defined a custom logger object, you need to handle these new function calls. 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>
* python3-h2: Consolidate in a single fileLeon Anavi2020-07-032-14/+11
| | | | | | | | 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>
* python-h2: Add missing RDEPENDS on hpack and hyperframeJonatan Pålsson2020-02-231-0/+2
| | | | | Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.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-h2: 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>