summaryrefslogtreecommitdiffstats
path: root/meta-python/conf
Commit message (Collapse)AuthorAgeFilesLines
...
* ptest-packagelists-meta-python: Move python3-xlrd from ↵alperak2024-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PTESTS_PROBLEMS_META_PYTHON to PTESTS_FAST_META_PYTHON No ptest failures encountered and took less than 30 seconds so moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_FAST_META_PYTHON qemuarm64: Testsuite summary TOTAL: 83 PASS: 83 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 10 END: /usr/lib/python3-xlrd/ptest 2024-03-04T08:53 STOP: ptest-runner TOTAL: 1 FAIL: 0 =================== qemux86_64: Testsuite summary TOTAL: 83 PASS: 83 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 17 END: /usr/lib/python3-xlrd/ptest 2024-03-04T08:55 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-netaddr: upgrade 0.10.1 -> 1.2.1 and add ptestalperak2024-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ptest result: Testsuite summary TOTAL: 340 PASS: 339 SKIP: 1 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 28 * Tested on qemux86_64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON items ============== Switch to the python_setuptools_build_meta backend License-Update: License check file changed from LICENSE to LICENSE.rst Changelog: Release: 1.2.1 =============== Fixed: Fix bad version 1.2.0 upload to PyPI – now yanked. No changes to the package. Release: 1.2.0 =============== Added: Add CLI tool subcommand to display Network information. Changed: Support running Interactive shell without IPython installed. Fixed: Explicitly raise TypeError is a non-string value is passed to valid_ipv4() or valid_ipv6(). Release: 1.1.0 =============== Added: Add the required Python version to the package metadata (GH #365). Add expand_partial_ipv4_address() to the public API. Fixed: Fix IPNetwork(...) in IPRange(...) false negatives (GH #157). Fix a few IPNetwork slicing edge cases (GH #214). Fix support for partial IP addresses accidentally left in IPNetwork in 1.0.0. When I removed the implicit_prefix switch I missed the fact that there was some partial IPv4 address expansion triggered unconditionally. If you need the old behavior use expand_partial_ipv4_address(). Related GH issue: #110. Fixed an incorrect license classifier in the package metadata. Release: 1.0.0 =============== Removed: Drop support for Python versions lower than 3.7. Remove the flag shorthands: N, P and Z. Use NOHOST, INET_PTON and ZEROFILL instead. Remove abbreviated CIDR format support in IPNetwork (implicit_prefix=True), use cidr_abbrev_to_verbose() if you need this behavior. Remove the IPAddress.is_private method. There are more precise replacements for subset of the addresses that used to handled by is_private: IPAddress.is_link_local() IPAddress.is_ipv4_private_use() IPAddress.is_ipv6_unique_local() IPAddress.is_global() The following address blocks used to be handled by is_private have no dedicated convenience methods and you’ll have to handle them manually or request a method addition: 100.64.0.0/10 – Shared Address Space 192.0.0.0/24 – IETF Protocol Assignments (watch out – there are exceptions in there) 198.18.0.0/15 – Benchmarking 239.0.0.0-239.255.255.255 – 240.0.0.0/4 is Reserved, 239.0.0.0/8 – unclear Changed: Stop accepting leading zeros when parsing IPv4 addresses in INET_PTON mode (it’s been allowed on some platforms). If you need to allow and discard leading zeros use the ZEROFILL flag. This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly. Stop parsing IPv4 addresses permissively (inet_aton()-like) by default. INET_PTON is the default mode. If you need to be permissive and parse using inet_aton() semantics use the INET_ATON flag. This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly. Apply the two changes above to valid_ipv4() as well. Update the address databases to the 2024-02-10 versions. Fixed: Return False instead of raising AddrFormatError when an empty string is passed to valid_ipv4() or valid_ipv6(). Fix handling of dialect provided to EUI during copy-construction. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-service-identity: add missing ptest dependencies and re-enable ↵Derek Straka2024-02-261-1/+1
| | | | | | | functional tests Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typeguard: update ptest dependencies and re-enable functional testsDerek Straka2024-02-261-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ordered-set: Use automake formatter for ptest outputKhem Raj2024-02-221-1/+1
| | | | | | Move the test to PTESTS_FAST_META_PYTHON Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-jsmin: Fix ptests to run with python 3.12+Khem Raj2024-02-221-1/+0
| | | | | | Remove it from problematic tests list ot fast list as it runs ok now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parse: re-add functional ptestsDerek Straka2024-02-211-1/+1
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-parse -c testimage Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-msgpack: re-add functional ptestsDerek Straka2024-02-211-1/+0
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-msgpack -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-jdcal: re-add functional ptestsDerek Straka2024-02-211-1/+0
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-jdcal -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-lazy-fixture: drop recipeTim Orling2024-02-191-1/+0
| | | | | | | | | | | | | | This recipe is no longer maintained (since 2020) and is not compliant with python3-pytest_8.0.0+. The only dependency in meta-python was the old version of python3-prettytable-ptest, which now RDEPENDS upon python3-pytest-lazy-fixtures (with the s). * Drop the recipe * Drop it from packagegroup-meta-python * Drop it from PTEST_PROBLEMS in ptest-packagelists-meta-python.inc Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-license-expression: re-enable passing ptests for the packageDerek Straka2024-02-191-1/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-inotify: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gunicorn: re-enable working ptests for the packageDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-trustme: add runtime dependency for tests and re-add to ptestDerek Straka2024-02-191-1/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ujson: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-ujson on qemu86-64 291 passed in 9.08s. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yarl: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-yarl on qemu86-64 1106 passed, 5 xfailed in 22.83s. xfailed tests are known failures upstream Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-appdirs: add ptest into PTESTS_FAST_META_PYTHON itemsDerek Straka2024-02-161-1/+1
| | | | | | | | | | | | | | | | | | | Verified successful test run using bitbake meta-python-image-ptest-python3-appdirs on qemu86-64 root@qemux86-64:/usr/lib/python3-appdirs/ptest# ./run-ptest ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0 rootdir: /usr/lib/python3-appdirs/ptest collected 3 items PASS: test/test_api.py::Test_AppDir::test_dirs PASS: test/test_api.py::Test_AppDir::test_helpers PASS: test/test_api.py::Test_AppDir::test_metadata ============================== 3 passed in 0.19s =============================== Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyyaml-include: add initial recipe for version 1.3.2Derek Straka2024-02-141-0/+1
| | | | | | | | | Add a recipe for the pyyaml-include package that extends PyYAML to include YAML files within YAML files. Add a ptest to run the unit tests and include the tests as part of the package lists in meta-python Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-multidict: Fix running ptestsKhem Raj2024-01-211-1/+1
| | | | | | | Add missing runtime dependency on pytest-cov and move the test to PTESTS_FAST_META_PYTHON since it takes < 20 seconds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-yappi: upgrade 1.4.0 -> 1.6.0; fix ptestsTim Orling2023-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Switch to the python_setuptools_build_meta PEP-517 backend * Refactor and submit 0001-Fix-imports-for-ptests.patch - split out the Windows -> Unix line endings conversion - https://github.com/sumerc/yappi/pull/164 * Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12 * Drop install of yappi.py in ptest; use site-packages as intended * Drop complex run-ptest and simply run 'pytest --automake' * Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc - can now build meta-python-image-ptest-python3-yappi - tests take about 45 seconds https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG 1.6.0 (2023-12-07) - Drop support 2.7-3.5 and clean backward compatible code (pull/152) - Add Python 3.12 wheels 1.5.1 (2023-12-06) - Add support for Python 3.12 - Fix child callgrind functions disappear Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: enable ptestTim Orling2023-12-211-0/+1
| | | | | | | * Add to ptest-packelists-meta-python.inc "FAST" under 30 s Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: enable ptestTim Orling2023-12-211-0/+1
| | | | | | | * Add to ptest-packagelists-meta-python.inc "FAST" under 30 seconds Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: Add python3-rapidjson to PTESTS_FAST_META_PYTHONKhem Raj2023-10-201-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: update ptests status for py-cpuinfo, pytest-mockTrevor Gamblin2023-10-131-2/+2
| | | | | | | | Move python3-py-cpuinfo and python3-pytest-mock into the FAST ptests list since their failing ptests are being disabled. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: update LAYERSERIES_COMPAT for nanbieldMartin Jansa2023-09-101-1/+1
| | | | | | | | * oe-core switched to nanbield in: https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python-ptest-fast-image: Do not run python3-pytest-mock ptestsKhem Raj2023-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | These ptests fail as of now. ============================================================================================================== Failed test cases (sorted by testseries, ID) ============================================================================================================== -------------------------------------------------------------------------------------------------------------- testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-pytest-mock_qemux86-64_20230606201650 ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_args_with_introspection ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_detailed_introspection_async ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_plain_stopall ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_class_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_module_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_package_scope ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_session_scope -------------------------------------------------------------------------------------------------------------- Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add python3-pylint to PTESTS_FAST_META_PYTHONKhem Raj2023-05-231-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add new testsTrevor Gamblin2023-05-121-0/+1
| | | | | | | Add ptests for python3-platformdirs. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python: Add new testsTrevor Gamblin2023-05-091-0/+2
| | | | | | | Add ptests for python3-pytest-mock, python3-tomlkit. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest-packagelists-meta-python.inc: add ptest recipesTim Orling2023-04-041-0/+82
| | | | | | | | | | | | | | | | | | | Similar to ptest-packagelists.inc in oe-core, this list enables per image ptest (isolated ptests for a given recipe) * Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s * Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer * Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests or other issues with ptest package The initial list was taken from: meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \ --layer meta-python --inherits ptest --bare | tr '\n' ' ' | \ pcregrep -o1 '^NOTE:.+===(.+)$') Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: update LAYERSERIES_COMPAT for mickledoreMartin Jansa2023-01-041-1/+1
| | | | | | | * oe-core switched to mickedore in: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Post release codename changesArmin Kuster2022-05-071-1/+1
| | | | | | | Post release add langdale to match core Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: change layer priority to match oe-coreRoss Burton2022-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Layer priority is the ultimate decider of what recipe is used: if layer A has recipe foo_1 and layer B has recipe foo_2, if layer A's priority is higher than B then foo_1 will be used, even though the version in B is higher, and even if PREFERRED_VERSION_foo is set to 2. This complicates recipes moving between layers, for example when a newer version of a recipe (say, python3-wheel) is taken from a layer with a higher priority (say, meta-python) and moved to a layer with a lower priority (say, oe-core) then it has to be removed before it is added: there is no way to have it in both layers and work correctly. Higher priorities are useful in distribution layers where you may want to override specific recipes without any other fuss. However as all of the layers in meta-oe simply add more recipes in defined areas, there's no need to have a higher layer priority. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Bump to use kirkstoneKhem Raj2022-02-211-1/+1
| | | | | | its not going to be backward ABI compatible with honister due to variable renaming. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Update to honisterMartin Jansa2021-08-031-1/+1
| | | | | | | This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* layers: Drop gatesgarth from LAYERSERIES_COMPATKhem Raj2021-03-191-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add hardknott to LAYERSERIES_COMPATKhem Raj2020-11-041-1/+1
| | | | | | Thats codename for 3.3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded: Add gatesgarth to LAYERSERIES_COMPATKhem Raj2020-10-151-1/+1
| | | | | | Remove older releases from COMPAT Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: depend on core version 12 or higherMartin Jansa2020-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | * python3-pyelftools and python3-pycryptodome(x) recipes were recently moved from meta-python to oe-core in: https://git.openembedded.org/meta-openembedded/commit/?id=7aee545a61c4f91d5e462d5b46b1b8f9a8bad1e3 https://git.openembedded.org/meta-openembedded/commit/?id=a8f3c00d8d113b46a49584682e10435157d516ca * core version was bumped now: https://git.openembedded.org/openembedded-core/commit/?id=2d503b27e7c88cee9a37c79c4605c77b11f230b6 * this dependency will make sure that people do upgrade oe-core when they do upgrade meta-python past these revisions, so the recipes won't suddenly disappear as a bonus they will get slightly newer version which are now in oe-core python3-pycryptodome(x) from 3.9.4 to 3.9.7: https://www.pycryptodome.org/en/latest/src/changelog.html#february-2020 python2-pyelftools from 0.25 to 0.26: https://github.com/eliben/pyelftools/commit/8a40f295bc36f96efeb8633dc4a5314f6077d0bf#diff-e4eb329834da3d36278b1b7d943b3bc9 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: update LAYERSERIES_COMPAT to dunfellKhem Raj2020-03-201-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add zeus compatibility to all layer.conf filesPalmer Dabbelt2019-10-081-1/+1
| | | | | | | | | | | I have no idea if this is the right thing to do, but without the patch I can't actually buil OE because none of these layers are compatible with the change in openembedded-core to move to zeus. Fixes: a5c9709b8d ("layer.conf: Update for zeus series") # openembedded-core Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add warrior to compatible release seriesKhem Raj2019-04-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Update layer compatibility to thudKhem Raj2018-09-301-1/+1
| | | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@googlemail.com> Cc: Derek Straka <derek@asterius.io> Cc: Tim Orling <TicoTimo@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Cc: Armin Kuster <akuster808@gmail.com> Cc: Joe MacDonald <joe_macdonald@mentor.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* meta-*: add LAYERSERIES_COMPAT to layer.conf filesMartin Jansa2018-04-131-0/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python-cryptography, python-cryptography-vectors: uprevMark Asselstine2015-12-181-0/+2
| | | | | | | | | | | | Pick up many fixes and enhancements made since 0.8.1 was released. See: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst The uprev requires an uprev of pyasn1 and also pulls in two new packages idna and ipaddress. The idna software has 3 licenses, one of which is the 'Unicode' license: http://www.unicode.org/copyright.html Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-python: Add LAYERVERSION and LAYERDEPENDSJackie Huang2014-11-281-0/+6
| | | | | | | According to README, it depends on oe-core and openembedded-layer Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-python: create layerTim Orling2014-07-221-0/+9
Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>