Commit Graph

12 Commits

Author SHA1 Message Date
Derek Straka
194493e32c
python3-yappi: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-10 16:53:44 -08:00
Wang Mingyu
60d25ced37
python3-yappi: upgrade 1.6.0 -> 1.6.10
py3.13.patch
removed since it's included in 1.6.10

Changelog:
=========
- Fix source distribution not released
- Fix error not cleared from an internal PyObject_GetAttrString call

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:15 -08:00
Alexander Kanavin
1f6400f0f8
python3-yappi: backport a python 3.13 patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-16 14:07:29 -07:00
Tim Orling
f8d66f3174
python3-yappi: upgrade 1.4.0 -> 1.6.0; fix ptests
* Switch to the python_setuptools_build_meta PEP-517 backend
* Refactor and submit 0001-Fix-imports-for-ptests.patch
  - split out the Windows -> Unix line endings conversion
  - https://github.com/sumerc/yappi/pull/164
* Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12
* Drop install of yappi.py in ptest; use site-packages as intended
* Drop complex run-ptest and simply run 'pytest --automake'
* Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc
  - can now build meta-python-image-ptest-python3-yappi
  - tests take about 45 seconds

https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG

1.6.0 (2023-12-07)

- Drop support 2.7-3.5 and clean backward compatible code (pull/152)
- Add Python 3.12 wheels

1.5.1 (2023-12-06)

- Add support for Python 3.12
- Fix child callgrind functions disappear

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-29 09:04:23 -08:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Geoff Parker
0844ca9af9 python3-yappi: upgrade 1.3.6 -> 1.4.0, python 3.11 compatible
Update to 1.4.0 for python 3.11 compatibilty

Add patch to add upstream commit added after the release of 1.4.0
tarball. Adds python 3.11 to setup.py

Update 0001-Fix-imports-for-ptest.patch for patch fuzz and
removed hunk already in 1.4.0.

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-29 14:07:52 -08:00
Leon Anavi
b6e76246dd python3-yappi: Upgrade 1.3.2 -> 1.3.3
Upgrade to release 1.3.3:

- Fix 3.10 support
- Fix wrong sorting key when tavg is selected

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>
2021-11-16 08:25:15 -08:00
Alexander Kanavin
b0e66ebc2a python3-yappi: add python 3.10 fix
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-10-14 07:15:36 -07:00
Khem Raj
eab926406b python3-yappi: Fix patching errors
Fixes
patching file tests/test_functionality.py
Hunk #1 FAILED at 5 (different line endings).
1 out of 1 hunk FAILED -- rejects in file tests/test_functionality.py

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-09 12:19:23 -07:00
Trevor Gamblin
f342637131 python3-yappi: fix ptests
- Add a patch to fix imports in unit tests
- Add python3-gevent and python3-zopeinterface to ptest RDEPENDS
- Sort ptest RDEPENDS alphabetically

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-06-09 08:45:24 -07:00
zangrc
766c21f6e3 python3-yappi: Modify ptest output format
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-27 07:48:46 -07:00
Zang Ruochen
ddd3d75b88 python3-yappi: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20 07:44:29 -07:00