Commit Graph

9 Commits

Author SHA1 Message Date
Dan McGregor
0c428fac85
python3-pylint: Fix ptest failures
Due to the way we install ptests, some imports switch from
first party to third party. Update test expectations

Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-13 20:15:29 -07:00
Tim Orling
ee0c034eb9
python3-pylint: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort all REDEPENDS alphabetically
* Drop trailing whitespace

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:39 -08:00
Khem Raj
628084d6b0
python3-pylint: Ignore failing ptests
regression_distutil_import_error_73 seems to fail starting 3.0.3 perhaps
due to dependency upgrade e.g. astroid or some such. Remove it from run
for now.

Match the run command to whats in github actions.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:40 -08:00
Khem Raj
79eac8e59f python3-pylint: Upgrade to 3.0.0
Package additional hidden files for ptests (test_primer.py)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-04 13:09:38 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Trevor Gamblin
44fbe5a318 python3-pylint: omit failing pickle test
There is one test in the pylint suite involving pickling non-pickleable
plugins that fails on target (but not host). Disable this test for
ptest runs.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 09:37:58 -07:00
Khem Raj
3e5378b42a python3-pylint: Fix missing deps for ptests
Disable benchmarks in ptest run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:42:45 -07:00
Trevor Gamblin
7a75c2d6b4 python3-pylint: add ptest
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00
Trevor Gamblin
b9b6308f3d python3-pylint: upgrade 2.14.5 -> 2.17.3
Change pylint to inherit python_setuptools_build_meta instead of
setuptools3. Also add a patch to remove hard-coded version depdendencies
for wheel and setuptools from the pyproject.toml, otherwise the
following error occurs during do_compile:

| ERROR Missing dependencies:
|       wheel~=0.37.1
|       setuptools~=62.6

Release note links:
2.17.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.17/index.html
2.16.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.16/index.html
2.15.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.15/index.html
2.14.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/index.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00