Commit Graph

6 Commits

Author SHA1 Message Date
Derek Straka
57d6a4ea1f
python3-py-cpuinfo: 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-17 16:39:41 -08:00
Khem Raj
504f721090 python3-py-cpuinfo: Fix ptest runtime deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
alperak
be5cea6a26
python3-py-cpuinfo: switch to PEP-517 build backend
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-py-cpuinfo-9.0.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 15:57:56 -07:00
Tim Orling
a923a232d8
python3-py-cpuinfo: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:33 -08:00
Trevor Gamblin
e0abbc5280 python3-py-cpuinfo: disable broken ptests
There are a handful of CLI-related ptests that consistently fail with an
apparent permissions issue, but making the
.../site-packages/cpuinfo/cpuinfo.py script executable does not seem to
fix the problem. Skip these tests for now, and make sure that the right
/usr/bin/env line is present in py-cpuinfo's scripts on the image.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-13 13:23:05 -07:00
Leon Anavi
b1a3c0c3c3 python3-py-cpuinfo: Upgrade 8.0.0 -> 9.0.0
Upgrade to release 9.0.0:

- Changes to lscpu breaks parsing of cache info
- CPU stepping, model, and family values are blank if 0
- Officially drop support for Python 2
- Replace Python 3.11 deprecated unittest.makeSuite
- Fix lgtm.com alerts
- Support Wheel
- Add support for RISC-V

License-Update: Update year

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-27 08:55:20 -07:00