Commit Graph

6 Commits

Author SHA1 Message Date
Khem Raj acf35eba5e python3-pycocotools: add python3-wheel-native to DEPENDS
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.

This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:

  ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
  	wheel
  		wanted: any
  		found: not installed

Add python3-wheel-native to DEPENDS directly to satisfy it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 13:01:47 -07:00
Ross Burton 5c19beb0bb python3-pycocotools: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build
paths.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 13:50:56 -08:00
Khem Raj 8648720c00 python3-pycocotools: Remove absolute paths from comments
_mask.c is generated by cython and encodes sourcepaths into
comments which are absolute. Edit them out.

Fixes buildpaths QA errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Khem Raj 97eee44e7d python3-pycocotools: Downgrade numpy version needed to 1.x
This is needed for it to build with PEP-517 backend, older backend
ignored the version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Khem Raj 38ad9b2856 python3-pycocotools: Use build pep517-backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Leon Anavi 67a28b7473 python3-pycocotools: Upgrade 2.0.7 -> 2.0.8
Upgrade to version 2.0.8:

- Wheel files that support numpy 2.0

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-21 21:45:10 -07:00