<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-core, branch mickledore</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2023-04-04T20:39:45+00:00</updated>
<entry>
<title>meta-python-ptest*-image: enable BBCLASSEXTEND parallel execution</title>
<updated>2023-04-04T20:39:45+00:00</updated>
<author>
<name>Tim Orling</name>
<email>ticotimo@gmail.com</email>
</author>
<published>2023-04-02T22:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=80e9601cc87a705f9f9d585fb2aa631e6e7e41db'/>
<id>urn:sha1:80e9601cc87a705f9f9d585fb2aa631e6e7e41db</id>
<content type='text'>
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.

* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling &lt;tim.orling@konsulko.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Introduce python3-trustme to fix ptest error of python3-requests-toolbelt</title>
<updated>2023-03-22T16:10:39+00:00</updated>
<author>
<name>Yue Tao</name>
<email>Yue.Tao@windriver.com</email>
</author>
<published>2023-03-20T02:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a4b6e3ee894047cd13c5d2b7bfc67f0093899537'/>
<id>urn:sha1:a4b6e3ee894047cd13c5d2b7bfc67f0093899537</id>
<content type='text'>
The ptest fails after python3-requests-toolbelt is upgraded
to 0.10.1.

=======================================================
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.11/importlib/{}init{}.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_x509_adapter.py:20: in &lt;module&gt;
    import trustme
E   ModuleNotFoundError: No module named 'trustme'
=======================================================

The commit b93b4067ea "Fix x509 tests by using trustme" of
python3-requests-toolbelt introduces the trustme in test_x509_adapter.py.

Introducing python3-trustme to fix ptest error of python3-requests-toolbelt,
also introducing python3-service-identity, which is requested by python3-trustme's
ptest.

The ptest passes of all the three packages.

Signed-off-by: Yue Tao &lt;Yue.Tao@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-gpiod: new package</title>
<updated>2023-02-18T21:19:36+00:00</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bartosz.golaszewski@linaro.org</email>
</author>
<published>2023-02-16T08:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=941b3bc262dd439eaf4bd6e0f2c7df8ed14c56cf'/>
<id>urn:sha1:941b3bc262dd439eaf4bd6e0f2c7df8ed14c56cf</id>
<content type='text'>
Add a recipe for libgpiod v2 python bindings. This is a release
candidate but once the proper v2.0 is released, it will be made public
on pypi and the recipe modified accordingly.

As libgpiod python bindings now use setuptools and not make, we can
separate the recipe from the rest of the library.

Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-meta-python: drop python3-strict-rfc3339</title>
<updated>2023-01-06T19:38:16+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2023-01-04T11:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=5242d02dcc32d46c24551abef6ce183c190ece43'/>
<id>urn:sha1:5242d02dcc32d46c24551abef6ce183c190ece43</id>
<content type='text'>
This has been unmaintained, not needed by anything and is now
removed from oe-core.

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-meta-python: add missing packages</title>
<updated>2022-12-06T02:02:40+00:00</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bartosz.golaszewski@linaro.org</email>
</author>
<published>2022-12-05T08:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=069ca4d0b0666eab09c61d287a7a855b6902c66f'/>
<id>urn:sha1:069ca4d0b0666eab09c61d287a7a855b6902c66f</id>
<content type='text'>
The recently added kmod and watchdogdev packages were not added to the
meta-python packagegroup. This fixes it.

Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-pyzmq: added ptest</title>
<updated>2022-07-26T14:38:42+00:00</updated>
<author>
<name>Jan Vermaete</name>
<email>jan.vermaete@gmail.com</email>
</author>
<published>2022-07-24T14:33:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=b7e69905fbc8e4a0e417d360a1702487c9f0936e'/>
<id>urn:sha1:b7e69905fbc8e4a0e417d360a1702487c9f0936e</id>
<content type='text'>
And update the summary and description from the github website.

Two tests are failing because cython is not installed.
But this is the same when running pytest under a native Linux system.

Signed-off-by: Jan Vermaete &lt;jan.vermaete@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-setuptools-declarative-requirements: add new recipe</title>
<updated>2022-05-29T13:39:14+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2022-05-24T12:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=05c85729434cb55c15386aa40c0132aa7d7ddd69'/>
<id>urn:sha1:05c85729434cb55c15386aa40c0132aa7d7ddd69</id>
<content type='text'>
Some Python packages use this in their setup.cfg.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-editables: add new recipe</title>
<updated>2022-05-29T13:39:14+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2022-05-24T12:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=3e0e2277a2894d6401e1ea8470f2c9441cbf80a4'/>
<id>urn:sha1:3e0e2277a2894d6401e1ea8470f2c9441cbf80a4</id>
<content type='text'>
Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-hatchling: add new recipe and build class</title>
<updated>2022-05-29T13:39:14+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2022-05-24T12:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=4aebf7e4b226621f4ffe531b8a34510cf3b13742'/>
<id>urn:sha1:4aebf7e4b226621f4ffe531b8a34510cf3b13742</id>
<content type='text'>
Hatchling is the build backend used by the Hatch tool.  Add the recipe
and a pep517 build class.

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-pathspec: add new recipe</title>
<updated>2022-05-29T13:39:14+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2022-05-24T12:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=07c2e3273c93d9585b7656ffe3518d147f1e56ae'/>
<id>urn:sha1:07c2e3273c93d9585b7656ffe3518d147f1e56ae</id>
<content type='text'>
Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
