<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/python/python3-license-expression, branch master</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-01-08T12:37:20+00:00</updated>
<entry>
<title>python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class</title>
<updated>2025-01-08T12:37:20+00:00</updated>
<author>
<name>Derek Straka</name>
<email>derek@asterius.io</email>
</author>
<published>2024-12-18T18:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cf6b12e5c95d0593970f945aa6930c818f7a819f'/>
<id>urn:sha1:cf6b12e5c95d0593970f945aa6930c818f7a819f</id>
<content type='text'>
The newly added ptest-python-pytest removes duplication for:
  1. Copying pytest files to the ptest directory
  2. Adding standard pytest dependencies
  3. Adding a common run-ptest script using pytest

(From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21)

Signed-off-by: Derek Straka &lt;derek@asterius.io&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-license-expression: Fix the ptest failure</title>
<updated>2023-12-21T10:38:30+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>mingli.yu@windriver.com</email>
</author>
<published>2023-12-19T02:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a84a8ac625ef0e4bf5672a054fd3c0b4cb6cf429'/>
<id>urn:sha1:a84a8ac625ef0e4bf5672a054fd3c0b4cb6cf429</id>
<content type='text'>
Fix the below ptest failure:
 self = &lt;test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle&gt;
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 &gt; if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = &lt;configparser.ConfigParser object at 0x7fd87cf55110&gt;, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 &gt; raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

(From OE-Core rev: 6b06ad7a9f1dd5900483102f5723a6821f961dab)

Signed-off-by: Mingli Yu &lt;mingli.yu@windriver.com&gt;

Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>python3-license-expression: Copy recipe from meta-python</title>
<updated>2023-09-27T10:47:42+00:00</updated>
<author>
<name>Samantha Jalabert</name>
<email>samantha.jalabert@syslinbit.com</email>
</author>
<published>2023-09-22T14:46:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7cf64503ea33ca3c78bf5e8f459df557449006e7'/>
<id>urn:sha1:7cf64503ea33ca3c78bf5e8f459df557449006e7</id>
<content type='text'>
commit: cabfde8c84e100968bc9ab8407ede616100fddbb

(From OE-Core rev: 84d07b09582b69653f11ec025a5074055483a97f)

Signed-off-by: Marta Rybczynska &lt;mrybczynska@syslinbit.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
