Bug 11695 - Add task to create python manifest(s) automatically
Summary: Add task to create python manifest(s) automatically
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.5 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: LET
Depends on: 11510
Blocks:
  Show dependency tree
 
Reported: 2017-06-20 23:33 UTC by Alejandro Hernandez
Modified: 2018-01-22 14:16 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Hernandez 2017-06-20 23:33:59 UTC
A test to run on top of the testimage infrastructure should be created, this test should check every python package to see specifically which modules it needs, and will create a manifest file (JSON) automatically according to this information, the newly created file can be used to replace the current file.

This will ultimately get rid of all the new bugs we keep having every release of python, when some dependency between modules changes, and will make it easier to create new python packages.

This test can/should be run either on every release (of yocto or python) or when adding a new package if one is lazy enough to not check the modules the new package needs to work.
Comment 1 Ross Burton 2017-06-22 15:09:31 UTC
Not sure why this needs to use testimage.  If we assume that native python is the same version as target python then we can introspect the native python when that is built.
Comment 2 Alejandro Hernandez 2017-07-04 06:20:41 UTC
(In reply to comment #1)
> Not sure why this needs to use testimage.  If we assume that native python
> is the same version as target python then we can introspect the native
> python when that is built.

Completely agreed, should be possible to do it that way.
Comment 3 Alejandro Hernandez 2017-08-28 21:44:46 UTC
Done but moving to 2.5, per Richard's request
Comment 4 Ross Burton 2018-01-22 14:16:56 UTC
Fixed in oe-core 3328211afdef8ffb00dd4dff1143959d5412b075.