[OE-core] [PATCH] package.bbclass: FILER* override syntax

2021-08-12 Thread Tim Orling
pkgdata no longer includes FILERPROVIDES* nor FILERDEPENDS*. Fix with new override syntax. Also apply to FILERPROVIDESLIST and FILERDEPENDSLIST. Signed-off-by: Tim Orling --- meta/classes/package.bbclass | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff

[OE-core] [PATCH] perl: do_create_rdepends_inc override syntax

2021-08-12 Thread Tim Orling
The do_create_rdepends_inc function is used to recreate the perl-rdepends.txt file. Update RDEPENDS_ to RDEPENDS: for the new override syntax. Signed-off-by: Tim Orling --- meta/recipes-devtools/perl/perl_5.34.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes

[OE-core] [PATCH v3] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
INES now have access to populated source and target lists Signed-off-by: Tim Orling --- ...4.1.0.bb => python3-scons-native_4.2.0.bb} | 0 .../0001-Fix-man-page-installation.patch | 23 +++ ...-scons_4.1.0.bb => python3-scons_4.2.0.bb} | 4 ++-- 3 files changed, 5 i

Re: [OE-core] [PATCH v2] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
Disregard. V3 in process On Fri, Aug 6, 2021 at 9:22 AM Tim Orling via lists.openembedded.org wrote: > License-Update: Update Copyright years > > NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. > Python 3.5 support will be dropped in the next major release. >

[OE-core] [PATCH v2] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
et lists Signed-off-by: Tim Orling --- ...4.1.0.bb => python3-scons-native_4.2.0.bb} | 0 .../0001-Fix-man-page-installation.patch | 23 +++ ...-scons_4.1.0.bb => python3-scons_4.2.0.bb} | 5 ++-- 3 files changed, 5 insertions(+), 23 deletions(-) rename meta/recipes-devt

[OE-core] [PATCH] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-04 Thread Tim Orling
lpath property. This will provide a path relative to the top of the build tree (where the SConstruct is located) Fixes #396 From Andrew Morrow: - Fix issue #3790: Generators in CPPDEFINES now have access to populated source and target lists Signed-off-by: Tim Orling --- ..

[OE-core] [PATCH 2/2] python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3

2021-08-04 Thread Tim Orling
v4.6.3 Moved workaround for #327 to _compat module. v4.6.2 bpo-44784: Avoid errors in test suite when DeprecationWarnings are treated as errors. References: https://github.com/python/importlib_metadata/issues/327 https://bugs.python.org/issue44784 Signed-off-by: Tim Orling --- ...ib

[OE-core] [PATCH 1/2] python3-hypothesis: upgrade 6.14.3 -> 6.14.5

2021-08-04 Thread Tim Orling
implementation (see bpo-44353 for details). References: https://bugs.python.org/issue44353 Signed-off-by: Tim Orling --- ...ython3-hypothesis_6.14.3.bb => python3-hypothesis_6.14.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{pyth

[OE-core] [dunfell][PATCH 1/1] libxml2: Update to 2.9.12

2021-07-18 Thread Tim Orling
Backport to dunfell Fixes CVE-2021-3541 References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3541 https://bugzilla.redhat.com/show_bug.cgi?id=1950515 Signed-off-by: Tim Orling --- ...he-python-tests-if-python-is-enabled.patch | 34 +-- .../libxml/libxml2/CVE-2019-20388

[OE-core] [dunfell][PATCH 0/1] libxml2: Update to 2.9.12

2021-07-18 Thread Tim Orling
Cherry-pick/back port commit from master. Since 2.9.10, upstream libxml2 has enabled fuzz testing and MANY commits have been added with fixes and security patches. Of the 239 commits since 2.9.10, 94 have "Fix" in the shortlog. A quick scan of the rest of the commits (see below) shows that the

[OE-core] [PATCH] python3-hypothesis: upgrade 6.14.1 -> 6.14.3

2021-07-18 Thread Tim Orling
6.14.3 - 2021-07-18 This patch updates our autoformatting tools, improving our code style without any API changes. 6.14.2 - 2021-07-12 This patch ensures that we shorten tracebacks for tests which fail due to inconsistent data generation between runs (i.e. raise Flaky). Signed-off-by: Tim Orling

[OE-core] [PATCH] at-spi2-core: upgrade 2.40.2 -> 2.40.3

2021-07-09 Thread Tim Orling
What's new in at-spi2-core 2.40.3: * Use abstract sockets if libdbus is older than 1.12.0 (#37). References: https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/37 Signed-off-by: Tim Orling --- .../atk/{at-spi2-core_2.40.2.bb => at-spi2-core_2.40.3.bb} | 2 +- 1 file changed

[OE-core] [PATCH 2/3] python3-hypothesis: upgrade 6.14.0 -> 6.14.1

2021-07-05 Thread Tim Orling
6.14.1 - 2021-07-02 This patch updates some internal type annotations. There is no user-visible change. Signed-off-by: Tim Orling --- ...ython3-hypothesis_6.14.0.bb => python3-hypothesis_6.14.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/pyt

[OE-core] [PATCH 3/3] python3-zipp: upgrade 3.4.1 -> 3.5.0

2021-07-05 Thread Tim Orling
v3.5.0 Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties. References: https://github.com/jaraco/zipp/issues/74 https://bugs.python.org/issue44095 https://github.com/python/cpython/pull/26129 Signed-off-by: Tim Orling --- .../python/{python3-zipp_3.4.1.bb => pyth

[OE-core] [PATCH 1/3] python3-packaging: upgrade 20.9 -> 21.0

2021-07-05 Thread Tim Orling
21.0 - 2021-07-03 packaging is now only compatible with Python 3.6 and above. Add support for zip files in parse_sdist_filename (:issue:`429`) References: https://github.com/pypa/packaging/issues/429 Signed-off-by: Tim Orling --- .../{python3-packaging_20.9.bb => python3-packaging_21.0

[OE-core] [dunfell][PATCH] python3: upgrade 3.8.10 -> 3.8.11

2021-07-05 Thread Tim Orling
://docs.python.org/release/3.8.11/whatsnew/changelog.html#python-3-8-11-final Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3_3.8.11.bb | 362 ++ 1 file changed, 362 insertions(+) create mode 100644 meta/recipes-devtools/python/python3_3.8.11.bb diff --git a/meta/recipes

[OE-core] [PATCH] python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0

2021-06-30 Thread Tim Orling
Upstream release notes: v4.6.0 == * #326: Performance tests now rely on `pytest-perf <https://pypi.org/project/pytest-perf>`_. To disable these tests, which require network access and a git checkout, pass ``-p no:perf`` to pytest. Signed-off-by: Tim Orling --- ...ib-metadata

Re: [OE-core] [PATCH] python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0

2021-06-29 Thread Tim Orling
Please include change log information or else leave the upgrades to the maintainer (me). These empty git logs are useless. On Tue, Jun 29, 2021 at 7:53 PM zhengruoqin wrote: > Signed-off-by: Zheng Ruoqin > --- > ...ib-metadata_4.5.0.bb => python3-importlib-metadata_4.6.0.bb} | 2 +- > 1 file

Re: [OE-core] [PATCH 1/1] python3: skip tests requiring tools-sdk

2021-06-21 Thread Tim Orling
On Mon, Jun 21, 2021 at 1:16 PM Alexander Kanavin wrote: > On Mon, 21 Jun 2021 at 19:30, Tim Orling wrote: > >> >> >> On Mon, Jun 21, 2021 at 5:00 AM Alexander Kanavin >> wrote: >> >>> Wait. How does this work, if IMAGE_FEATURES are set from ima

Re: [OE-core] [PATCH 1/1] python3: skip tests requiring tools-sdk

2021-06-21 Thread Tim Orling
do not have proper RDEPENDS for python3-ptest. Open to other ideas. > Alex > > On Sat, 19 Jun 2021 at 02:00, Tim Orling wrote: > >> Conditionally skip test_ctypes.test_find unless >> IMAGE_FEATURES contains 'tools-sdk' as these test >> cases require f

Re: [OE-core] [dunfell][PATCH] python3: fix CVE-2021-3426

2021-06-21 Thread Tim Orling
On Mon, Jun 21, 2021 at 9:07 AM Steve Sakoman wrote: > Thanks for the patch! > > I'm going to wait a bit on merging this because we are evaluating > doing a series of bug fix version bumps for python. If successful > this CVE would be among those fixed by the version bumps. > >

[OE-core] [RFC PATCH 10/10][dunfell] python3-ptest: add newly discovered missing rdeps

2021-06-21 Thread Tim Orling
portion of patch) Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3_3.8.10.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3_3.8.10.bb b/meta/recipes-devtools/python/python3_3.8.10.bb index 3e4386e57c8..c3da6718a89 100644

[OE-core] [RFC PATCH 09/10][dunfell] python3: upgrade 3.8.9 -> 3.8.10

2021-06-21 Thread Tim Orling
: {'python3': ['test_record_extensions', 'test_build_ext']} References: https://www.python.org/downloads/release/python-3810/ https://docs.python.org/release/3.8.10/whatsnew/changelog.html Signed-off-by: Tim Orling --- .../python/{python3_3.8.9.bb => python3_3.8.10.bb}| 4 ++--

[OE-core] [RFC PATCH 08/10][dunfell] python3: upgrade 3.8.8 -> 3.8.9

2021-06-21 Thread Tim Orling
+From e11787d373baa6d7b0e0d94aff8ccd373203bfb1 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Wed, 16 Jun 2021 07:49:52 -0700 Subject: [PATCH] test_locale.py: correct the test output format Before this patch: @@ -24,23 +24,25 @@ Before this patch: Upstream-Status: Submitted [https://github.com/python/cpython/pull

[OE-core] [RFC PATCH 07/10][dunfell] python3: skip tests requiring tools-sdk

2021-06-21 Thread Tim Orling
Conditionally skip test_ctypes.test_find unless IMAGE_FEATURES contains 'tools-sdk' as these test cases require full packagegroup-core-buildessential Fixes: AssertionError: Failed ptests: {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']} Signed-off-by: Tim Orling

[OE-core] [RFC PATCH 06/10][dunfell] python3: upgrade 3.8.7 -> 3.8.8

2021-06-21 Thread Tim Orling
tail/CVE-2021-3426 Signed-off-by: Tim Orling --- .../python/python3/CVE-2021-3177.patch| 191 -- .../{python3_3.8.7.bb => python3_3.8.8.bb}| 7 +- 2 files changed, 3 insertions(+), 195 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3/CVE-2021

[OE-core] [RFC PATCH 05/10][dunfell] python3: upgrade 3.8.6 -> 3.8.7

2021-06-21 Thread Tim Orling
-27619 https://www.python.org/downloads/release/python-387/ https://docs.python.org/release/3.8.7/whatsnew/changelog.html Signed-off-by: Tim Orling --- .../python/python3/CVE-2020-27619.patch | 70 --- .../{python3_3.8.6.bb => python3_3.8.7.bb}| 5 +- 2 files changed

[OE-core] [RFC PATCH 02/10][dunfell] python3: upgrade 3.8.3 -> 3.8.4

2021-06-21 Thread Tim Orling
://nvd.nist.gov/vuln/detail/CVE-2020-14422 https://www.python.org/downloads/release/python-384/ https://docs.python.org/release/3.8.4/whatsnew/changelog.html#changelog Signed-off-by: Tim Orling --- .../python/python3/CVE-2020-14422.patch | 77 --- .../{python3_3.8.3.bb

[OE-core] [RFC PATCH 04/10][dunfell] python3: upgrade 3.8.5 -> 3.8.6

2021-06-21 Thread Tim Orling
/whatsnew/changelog.html#changelog License-Update: PSFv2 -> PSF-2.0 and BSD-0-Clause Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Version 2 and the Zero-Clause BSD license. Signed-off-by: Tim Orling --- .../pyt

[OE-core] [RFC PATCH 01/10][dunfell] python3: upgrade 3.8.2 -> 3.8.3

2021-06-21 Thread Tim Orling
://www.python.org/downloads/release/python-383/ https://docs.python.org/release/3.8.3/whatsnew/changelog.html#changelog Signed-off-by: Tim Orling --- ...20-8492-Fix-AbstractBasicAuthHandler.patch | 248 -- .../{python3_3.8.2.bb => python3_3.8.3.bb}| 5 +- 2 files changed, 2 inserti

[OE-core] [RFC PATCH 03/10][dunfell] python3: upgrade 3.8.4 -> 3.8.5

2021-06-21 Thread Tim Orling
/detail/CVE-2019-20907 https://nvd.nist.gov/vuln/detail/CVE-2020-26116 https://www.python.org/downloads/release/python-385/ https://docs.python.org/release/3.8.5/whatsnew/changelog.html#changelog Signed-off-by: Tim Orling --- .../python/python3/CVE-2019-20907.patch | 44 .../python

[OE-core] [RFC PATCH 00/10][dunfell] python3 bugfix upgrades

2021-06-21 Thread Tim Orling
4096", "", d)}" IMAGE_INSTALL_append = " ptest-runner procps coreutils iproute2 sysstat python3-ptest" The following changes since commit ac8181d9b9ad8360f7dba03aba8b00f008c6ebb4: Revert "python3: fix CVE-2021-23336" (2021-06-19 13:11:58 -1000) are ava

[OE-core] [PATCH 1/1] python3: skip tests requiring tools-sdk

2021-06-18 Thread Tim Orling
Conditionally skip test_ctypes.test_find unless IMAGE_FEATURES contains 'tools-sdk' as these test cases require full packagegroup-core-buildessential Fixes: AssertionError: Failed ptests: {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']} Signed-off-by: Tim Orling

[OE-core] [PATCH 0/1] python3: skip tests requiring tools-sdk

2021-06-18 Thread Tim Orling
b8723c114b3d9b58d2da1a86d728d176dcbeb4b1: nfs-utils: upgrade 2.5.3 -> 2.5.4 (2021-06-17 22:18:41 +0100) are available in the Git repository at: git://push.openembedded.org/openembedded-core-contrib timo/python3-skip-test-find Tim Orling (1): python3: skip tests requiring tools-

[OE-core] [dunfell][PATCH] python3: fix CVE-2021-23336

2021-06-15 Thread Tim Orling
-bin/cvename.cgi?name=CVE-2021-23336 Signed-off-by: Tim Orling --- .../python/python3/CVE-2021-23336.patch | 530 ++ meta/recipes-devtools/python/python3_3.8.2.bb | 1 + 2 files changed, 531 insertions(+) create mode 100644 meta/recipes-devtools/python/python3/CVE-2021-

[OE-core] [PATCH 1/2] python3-manifest: add statistics subpackage

2021-06-13 Thread Tim Orling
cpython/Lib/statistics.py contains common statistics functions """ Basic statistics module. This module provides functions for calculating statistics of data, including averages, variance, and standard deviation. """ Signed-off-by: Tim Orling --- .../python

[OE-core] [PATCH 2/2] python3-hypothesis: upgrade 6.13.14 -> 6.14.0

2021-06-13 Thread Tim Orling
/latest/changes.html#v6-14-0 Signed-off-by: Tim Orling --- ...hesis_6.13.14.bb => python3-hypothesis_6.14.0.bb} | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-hypothesis_6.13.14.bb => python3-hypothesis_6.14.0.bb} (54%) diff

[OE-core] [PATCH 0/2] python3-hypothesis upgrade

2021-06-13 Thread Tim Orling
: gcc: Fixes for ARC (2021-06-12 22:53:32 +0100) are available in the Git repository at: git://push.openembedded.org/openembedded-core-contrib timo/recipe-upgrades-20210613 Tim Orling (2): python3-manifest: add statistics subpackage python3-hypothesis: upgrade 6.13.14 -> 6.1

[OE-core] [PATCH v2 4/5] python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0

2021-06-06 Thread Tim Orling
. To avoid deprecation warnings, cast the result to a Sequence first (e.g. tuple(dist.entry_points)[0]). v4.3.1 Issue 320: Fix issue where normalized name for eggs was incorrectly solicited, leading to metadata being unavailable for eggs. Signed-off-by: Tim Orling --- ...ib-metadata_4.4.0.bb

[OE-core] [PATCH 5/5] at-spi2-core: upgrade 2.40.1 -> 2.40.2

2021-06-06 Thread Tim Orling
Upstream release notes: What's new in at-spi2-core 2.40.2: * README: Remove outdated links. * Key grab fixes for the new API. * registryd: Add a missing call to va_end. Signed-off-by: Tim Orling --- .../atk/{at-spi2-core_2.40.1.bb => at-spi2-core_2.40.2.bb} | 2 +- 1 file changed

[OE-core] [PATCH 3/5] python3-hypothesis: upgrade 6.13.7 -> 6.13.14

2021-06-06 Thread Tim Orling
l code related to filtering strategies. There is no user-visible change. 6.13.8 This patch slightly improves the performance of some internal code for generating integers. Signed-off-by: Tim Orling --- ...on3-hypothesis_6.13.7.bb => python3-hypothesis_6.13.14.bb} | 4 ++-- 1 file c

[OE-core] [PATCH 4/5] python3-importlib-metadata: upgrade 4.3.0 -> 4.5.0

2021-06-06 Thread Tim Orling
the result to a Sequence first (e.g. tuple(dist.entry_points)[0]). v4.3.1 Issue 320: Fix issue where normalized name for eggs was incorrectly solicited, leading to metadata being unavailable for eggs. Signed-off-by: Tim Orling --- ...ib-metadata_4.3.0.bb => python3-importlib-metadata_4.5.0

[OE-core] [PATCH 2/5] python3-scons: upgrade 3.1.2 -> 4.1.0; simplify

2021-06-06 Thread Tim Orling
for 4.0.1: https://pyup.io/changelogs/scons/#4.0.1 Changelog for 4.0.0: https://pyup.io/changelogs/scons/#4.0.0 Signed-off-by: Tim Orling --- ...3.1.2.bb => python3-scons-native_4.1.0.bb} | 0 .../0001-Fix-man-page-installation.patch | 46 +++ .../python/python3-scons_3.1.2

[OE-core] [PATCH 1/5] maintainers.inc: update email address

2021-06-06 Thread Tim Orling
Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 68 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index ee118209dbf..f9ca9036cf8 100644

[OE-core] [PATCH 0/5] Recipe upgrades

2021-06-06 Thread Tim Orling
d6b62b5a9d6c64971b9f981a4732791658150e43: nativesdk-libdnf: fix installed and not shipped files (2021-06-03 23:09:18 +0100) are available in the Git repository at: git://push.openembedded.org/openembedded-core-contrib timo/recipe-upgrades-20210606 Tim Orling (5): maintainers.inc: update email address python3-scons: upgrade

[OE-core] [PATCH 1/1] python3-packaging: upgrade 20.4 -> 20.8

2020-12-14 Thread Tim Orling
From: Tim Orling Upstream release notes: ''' * 20.8 - 2020-12-11 - Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`) - Do not insert an underscore in wheel tags when the interpreter version number is more than 2 digits (:issue:`372`) * 20.7

[OE-core] [PATCH 0/1] python3-packaging: upgrade

2020-12-14 Thread Tim Orling
From: Tim Orling This was built and tested on top of current master-next. The following changes since commit 647066acbd15e4489cbbbde3165c7980aee1e91c: wic-image-minimal: only depend on syslinux on x86 targets (2020-12-14 13:37:21 +) are available in the Git repository at: git

[OE-core] [PATCH 5/5] python3-setuptools-scm: add python3-toml dep

2020-12-08 Thread Tim Orling
From: Tim Orling Fixes: pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by setuptools-scm Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes

[OE-core] [PATCH 4/5] python3-setuptools: upgrade 50.3.2 -> 51.0.0

2020-12-08 Thread Tim Orling
From: Tim Orling No upstream release notes. Upstream commits since 50.3.2: b6bbe236 Bump version: 50.3.2 → 51.0.0 7f477c52 Merge pull request #2472 from pypa/bugfix/2471-remove-deps 2a0463cb Update changelog. 99bc2c11 Remove tests guaranteeing that (vendored) dependencies can be installed

[OE-core] [PATCH 3/5] python3-pygments: upgrade v2.7.2 -> v2.7.3

2020-12-08 Thread Tim Orling
From: Tim Orling Upstream release notes: """ * Updated lexers: - Ada (#1581) - HTML (#1615, #1614) - Java (#1594, #1586) - JavaScript (#1605, #1589, #1588) - JSON (#1569 -- this is a complete rewrite) - Lean (#1601) - LLVM (#1612) - Mason (#1592) - MySQ

[OE-core] [PATCH 2/5] python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1

2020-12-08 Thread Tim Orling
From: Tim Orling No upstream release notes. Commits since 3.1.0 tag: 155bc48 (HEAD, tag: v3.1.1) Merge branch 'maint/2.x' 83c7dd2 (tag: v2.1.1, origin/maint/2.x) Merge pull request #264 from python/bugfix/261-versionless-egg-info-pre-normalized-fallback 4cb3bd0 Update changelog. Ref #261

[OE-core] [PATCH 1/5] python3-hypothesis: upgrade 5.41.4 -> 5.41.5

2020-12-08 Thread Tim Orling
From: Tim Orling Add missing RDEPENDS: - python3-attrs - python3-sortedcontainers Upstream release notes: """ 5.41.5 - 2020-12-05 This patch adds a performance optimisation to avoid saving redundant seeds when using the .fuzz_one_input hook. """ Signed-of

[OE-core] [PATCH 0/5] Core python3 recipe updates

2020-12-08 Thread Tim Orling
From: Tim Orling Upgrade several recipes to latest versions and fix some deps. NOTE: python3-packaging 20.7 is available, but we need the next tag which will re-add setup.py The following changes since commit e995e67bc7a3d30adf9f8d0d2f4df92a941baeae: meta/lib/oeqa/manual/oe-core.json

[OE-core] Python packaging without setup.py (PEP-517)

2020-12-05 Thread Tim Orling
Thanks to Konrad Weihmann, we have some communication occurring with the Python pypa folks about an important change in Python packaging [1][2]. This change is defined in PEP 517 [3][4]. Essentially, setup.py files will go away and wheels will be preferred over eggs. To make this more straight

Re: [OE-core] [PATCH v3 4/8] python-numpy: Add ptest

2020-11-28 Thread Tim Orling
It’s just “import resource” It’s a sub-package of python3 itself https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/python/python3/python3-manifest.json#n1024 On Sat, Nov 28, 2020 at 1:03 PM Khem Raj wrote: > On Sat, Nov 28, 2020 at 10:57 AM Tim Orling wr

[OE-core] [PATCH 2/4] python3-sortedcontainers: move from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling --- .../python/python3-sortedcontainers_2.3.0.bb | 9

[OE-core] [PATCH 3/4] maintainers.inc: add self for new python recipes

2020-11-28 Thread Tim Orling
From: Tim Orling * Add self as maintainer for: - python3-hypothesis - python3-sortedcontainers Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include

[OE-core] [PATCH 0/3] Move numpy pytest rdeps from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling This series in intended to be applied on top of the previous series moving pytest to oe-core. Thanks to Khem Raj for reminding me of these additional necessary changes. This series: (1) moves additional required python recipes in order to enable ptest of python3-numpy (2

[OE-core] [PATCH 4/4] python3-hypothesis: upgrade 5.41.3 -> 5.41.4

2020-11-28 Thread Tim Orling
From: Tim Orling Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130&

[OE-core] [PATCH 1/4] python3-hypothesis: move from meta-python

2020-11-28 Thread Tim Orling
From: Tim Orling A library for property-based testing * Part of the dependency chain for python3-numpy ptest Signed-off-by: Tim Orling --- .../python/python3-hypothesis_5.41.3.bb| 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python

Re: [OE-core] [PATCH v3 4/8] python-numpy: Add ptest

2020-11-28 Thread Tim Orling
On Fri, Nov 20, 2020 at 9:30 AM Khem Raj wrote: > Since 1.15, numpy have replaced nose with pytest testing framework > it additionally needs hypothesis and sortedcontainers modules > > Signed-off-by: Khem Raj > --- > meta/recipes-devtools/python-numpy/files/run-ptest | 5 + >

[OE-core] [PATCH 18/18] python3-pytest: RDEPENDS on python3-toml

2020-11-27 Thread Tim Orling
From: Tim Orling The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py __ tests/test_core.py:4: in import pkg_resources ../../python3.9/site-packages

[OE-core] [PATCH 17/18] python3-importlib-metadata: upgrade 2.0.0 to 3.1.0

2020-11-27 Thread Tim Orling
From: Tim Orling Upstream release notes: " v3.1.0 Merge with 2.1.0. v2.1.0 #253: When querying for package metadata, the lookup now honors package normalization rules. v3.0.0 Require Python 3.6 or later. " Signed-off-by: Tim Orling --- ...etadata_2.0.0.bb => pyth

[OE-core] [PATCH 16/18] python3-more-itertools: upgrade 8.5.0 -> 8.6.0

2020-11-27 Thread Tim Orling
From: Tim Orling Upstream release notes: " * New itertools - all_unique (thanks to brianmaissy) - nth_product and nth_permutation (thanks to N8Brooks) * Changes to existing itertools - chunked and sliced now accept a strict parameter (thanks to shlomif and jtwool) * Other ch

[OE-core] [PATCH 15/18] maintainers.inc: add self for new pytest packages

2020-11-27 Thread Tim Orling
From: Tim Orling Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 14 ++ 1 file changed, 14 insertions(+) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index ad5f4672c7a..f77965f8e0b 100644 --- a/meta/conf

[OE-core] [PATCH 14/18] python3-pytest: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Simple powerful testing with python Signed-off-by: Tim Orling --- ...he-setup_requires-for-setuptools-scm.patch | 39 +++ .../python/python3-pytest_6.1.2.bb| 38 ++ 2 files changed, 77 insertions(+) create mode 100644 meta/recipes

[OE-core] [PATCH 13/18] python3-pluggy: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Plugin and hook calling mechanisms for python * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-pluggy/run-ptest | 3 +++ .../python/python3-pluggy_0.13.1.bb | 27 +++ 2 files changed, 30

[OE-core] [PATCH 12/18] python3-importlib-metadata: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Read metadata from Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-importlib-metadata_2.0.0.bb | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python/python3

[OE-core] [PATCH 11/18] python3-zipp: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Backport of pathlib-compatible object wrapper for zip files * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-zipp_3.4.0.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes

[OE-core] [PATCH 10/18] python3-wcwidth: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Library for bulding powerful interactive command lines in Python * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-wcwidth/run-ptest | 3 +++ .../python/python3-wcwidth_0.2.5.bb | 25 +++ 2 files

[OE-core] [PATCH 09/18] python3-packaging: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Core utilities for Python packages * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-packaging_20.4.bb | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-devtools/python/python3

[OE-core] [PATCH 08/18] python3-setuptools-scm: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling The blessed package to manage your versions by scm tags * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-setuptools-scm_4.1.2.bb| 21 +++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-devtools

[OE-core] [PATCH 07/18] python3-py: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Library with cross-pythonpath, ini-parsing, io, code, log facilities * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-py_1.9.0.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 meta

[OE-core] [PATCH 06/18] python3-toml: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Python Library for Tom's Obvious, Minimimal Language * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-toml_0.10.2.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-devtools

[OE-core] [PATCH 05/18] python3-pathlib2: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Object-oriented filesystem paths * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-pathlib2_2.3.5.bb| 13 + 1 file changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3

[OE-core] [PATCH 04/18] python3-more-itertools: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-more-itertools/run-ptest | 3 +++ .../python/python3-more-itertools_8.5.0.bb| 24 +++ 2 files changed

[OE-core] [PATCH 02/18] python3-attrs: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Classes Without Boilerplate * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- .../python/python3-attrs_20.3.0.bb| 20 +++ 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-attrs_20.3.0

[OE-core] [PATCH 03/18] python3-iniconfig: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling A small and simple INI-file parser module * Part of the dependency chain for pytest Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb | 9 + 1 file changed, 9 insertions(+) create mode 100644 meta/recipes-devtools/python/python3

[OE-core] [PATCH 01/18] python3-atomicwrites: move from meta-python

2020-11-27 Thread Tim Orling
From: Tim Orling Powerful Python library for atomic file writes * Part of the dependency chain for python3-pytest Signed-off-by: Tim Orling --- .../python/python3-atomicwrites/run-ptest | 3 +++ .../python/python3-atomicwrites_1.4.0.bb | 25 +++ 2 files changed, 28

[OE-core] [PATCH 00/18] Move python3-pytest to oe-core

2020-11-27 Thread Tim Orling
From: Tim Orling We are increasingly needing pytest in oe-core, so it is time to move it from meta-python. This series first imports the recipes -- as-is -- from meta-python. Second, the maintainers.inc is updated to add myself as maintainer for all the new recipes. Third, the two recipes

[OE-core] [dunfell][PATCH v2] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-30 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuilder, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native

[OE-core] [PATCH] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-30 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuilder, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native

[OE-core] [PATCH v2] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-28 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuilder, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native

[OE-core] [PATCH] oeqa/selftest/cases/devtool.py: avoid .pyc race

2020-09-28 Thread Tim Orling
From: Tim Orling In certain conditions, most likely under heavy load on the AutoBuiler, the prebuilt .pyc files are attempting to be executed before they have been completely copied. Avoid this by not copying the .pyc files (nor the __pycache__ directory). The impact of python3-native recreating

Re: [OE-core] [PATCH 3/3] buildtools-tarball: Add python3-jinja2

2020-09-21 Thread Tim Orling
is. > > Signed-off-by: Richard Purdie > Acked-by: Tim Orling Signed-off-by: Tim Orling > --- > meta/recipes-core/meta/buildtools-tarball.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/meta/buildtools-tarball.bb > b/meta/recipes-core/meta/buildtool

Re: [OE-core] [PATCH 2/3] python3-jinja2: Import from meta-oe/meta-python

2020-09-21 Thread Tim Orling
east for now since it depends on > python3-pytest which in turn has may other dependencies. > > Signed-off-by: Richard Purdie > Acked-by: Tim Orling Signed-off-by: Tim Orling > --- > meta/conf/distro/include/maintainers.inc | 1 + > .../python/python3-jinja2/run-ptest

Re: [OE-core] [PATCH 1/3] python3-markupsafe: Import from meta-oe/meta-python

2020-09-21 Thread Tim Orling
; Signed-off-by: Richard Purdie > Acked-by: Tim Orling Signed-off-by: Tim Orling > --- > meta/conf/distro/include/maintainers.inc | 1 + > .../python/python3-markupsafe/run-ptest | 3 ++ > .../python/python3-markupsafe_1.1.1.bb| 28 +++ > 3

Re: [OE-core] [PATCH 0/3] Import two python recipes from meta-oe/meta-python

2020-09-21 Thread Tim Orling
On Mon, Sep 21, 2020 at 5:12 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > We have a slightly pressing situation where the performance test builds > are failing after we cleaned up the system installs on those machines > and tried to switch over to buildtools entirely. > > The

Re: [OE-core] [PATCH] lib/package_manager: Fix missing imports

2020-07-30 Thread Tim Orling
On Thu, Jul 30, 2020 at 3:02 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > The package_manager code rearranging had some issues with module imports > that > were now missing. Fix all the ones I could spot from quick inspection. > Thank you. I started working on this but you

[OE-core] [PATCH 2/2] scripts/lib/recipetool/create.py: fix regex strings

2020-07-10 Thread Tim Orling
Python now expects regex strings to be prepended with r. Silence pylint/autopep8 and similar warnings by identifying these regex patterns as... regex patterns. Signed-off-by: Tim Orling --- scripts/lib/recipetool/create.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[OE-core] [PATCH 0/2] recipetool fixes

2020-07-10 Thread Tim Orling
: libnl: Extend for native/nativesdk (2020-07-08 10:56:11 +0100) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib timo/oe-recipetool-fixes http://cgit.openembedded.org/openembedded-core-contrib/log/?h=timo/oe-recipetool-fixes Tim Orling (2

[OE-core] [PATCH 1/2] lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND

2020-07-10 Thread Tim Orling
://www.openembedded.org/wiki/Styleguide Signed-off-by: Tim Orling --- meta/lib/oe/recipeutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 29473a98825..36427eec918 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe

[OE-core] [PATCH 2/2] scripts/lib/recipetool/create.py: fix regex strings

2020-07-10 Thread Tim Orling
From: Tim Orling Python now expects regex strings to be prepended with r. Silence pylint/autopep8 and similar warnings by identifying these regex patterns as... regex patterns. Signed-off-by: Tim Orling --- scripts/lib/recipetool/create.py | 10 +- 1 file changed, 5 insertions(+), 5

[OE-core] [PATCH 1/2] lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND

2020-07-10 Thread Tim Orling
From: Tim Orling If you try to create a plugin for recipetool that adds the AUTHOR field, it is impossible to put it in the recommended position [1] without adding to the recipe_progression variable. While we are at it, also add BBCLASSEXTEND at the end, as also recommended by [1]. [1] http

[OE-core] [PATCH 0/2] recipetool fixes

2020-07-10 Thread Tim Orling
From: Tim Orling During development of a perl module recipetool plugin, some issues with the existing codebase were uncovered: (1) It is _impossible_ to add "AUTHOR" in the appropriate location (2) Several regex patterns are not prepended with r' The following changes si

Re: [OE-core] Add package managers as a plugin

2020-06-26 Thread Tim Orling
On Fri, Jun 26, 2020 at 3:53 AM Ross Burton wrote: > On Thu, 25 Jun 2020 at 11:14, Fredrik Gustafsson > wrote: > > Poky today has three different package managers, the well-known formats > deb > > and rpm is supported as well as ipkg that is good for embedded devices. > > > > When building and

Re: [OE-core] [PATCH v2] python3-setuptools: patch entrypoints for faster initialization

2020-06-23 Thread Tim Orling
On Tue, Jun 23, 2020 at 4:20 PM Trevor Gamblin wrote: > v2 adds the missing Upstream-Status notice in the patch file. > This belongs below the triple-dash line, as it doesn’t make sense in permanent git history out of context > setuptools' pkg_resources module has major performance issues

Re: [OE-core] [PATCH] strace: fix failing ptests

2020-05-21 Thread Tim Orling
Is this for Zeus? On Thu, May 21, 2020 at 9:51 PM Anuj Mittal wrote: > From: Alexander Kanavin > > 1. They need to be run under regular user. > 2. Some tests genuinely need more time than 30 seconds > 3. The Makefile patch erroneously introduced a test-breaking change. > > (From OE-Core rev:

Re: [OE-core] [PATCH v2] pypi.bbclass: mind package suffix on version check

2020-05-10 Thread Tim Orling
On Sun, May 10, 2020 at 11:41 AM Denys Dmytriyenko wrote: > On Sat, May 09, 2020 at 02:29:09PM -0700, Tim Orling wrote: > > This is a candidate for backport to stable once it lands in master. > > How so? > It fixes a bug in upgrade check. For users that are on stable r

Re: [OE-core] ✗ patchtest: failure for pypi.bbclass: use new pypi UPSTREAM_CHECK_URI

2020-05-09 Thread Tim Orling
As stated in comment to this patch, it applies on top of Konrad’s regex patch. So of course it fails patchtest. On Sat, May 9, 2020 at 2:32 PM Patchwork < patchw...@patchwork.openembedded.org> wrote: > == Series Details == > > Series: pypi.bbclass: use new pypi UPSTREAM_CHECK_URI > Revision: 1 >

<    1   2   3   4   5   6   7   8   9   >