Core python3 recipe updates
cover Core python3 recipe updates
From: Tim Orling <[email protected]>
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: Update test_bitbake_devshell (2020-12-06 23:16:50 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib timo/py3-core-recipe-updates-20201208
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=timo/py3-core-recipe-updates-20201208
Tim Orling (5):
python3-hypothesis: upgrade 5.41.4 -> 5.41.5 python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1
python3-pygments: upgrade v2.7.2 -> v2.7.3
python3-setuptools: upgrade 50.3.2 -> 51.0.0
python3-setuptools-scm: add python3-toml dep
...hon3-hypothesis_5.41.4.bb => python3-hypothesis_5.41.5.bb} | 4 ++--
...-metadata_3.1.0.bb => python3-importlib-metadata_3.1.1.bb} | 4 ++--
.../{python3-pygments_2.7.2.bb => python3-pygments_2.7.3.bb} | 2 +-
meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb | 2 ++
...hon3-setuptools_50.3.2.bb => python3-setuptools_51.0.0.bb} | 2 +-
5 files changed, 8 insertions(+), 6 deletions(-)
rename meta/recipes-devtools/python/{python3-hypothesis_5.41.4.bb => python3-hypothesis_5.41.5.bb} (67%)
rename meta/recipes-devtools/python/{python3-importlib-metadata_3.1.0.bb => python3-importlib-metadata_3.1.1.bb} (68%)
rename meta/recipes-devtools/python/{python3-pygments_2.7.2.bb => python3-pygments_2.7.3.bb} (83%)
rename meta/recipes-devtools/python/{python3-setuptools_50.3.2.bb => python3-setuptools_51.0.0.bb} (95%)Signature · 1 line
2.25.0
PATCH 1/5 python3-hypothesis: upgrade 5.41.4 -> 5.41.5
From: Tim Orling <[email protected]>
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.
"""
---
...hon3-hypothesis_5.41.4.bb => python3-hypothesis_5.41.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/python/{python3-hypothesis_5.41.4.bb => python3-hypothesis_5.41.5.bb} (67%)meta/recipes-devtools/python/python3-hypothesis_5.41.5.bb renamed from meta/recipes-devtools/python/python3-hypothesis_5.41.4.bb +2 -2
@@ -7,8 +7,8 @@ PYPI_PACKAGE = "hypothesis" inherit pypi setuptools3 -SRC_URI[sha256sum] = "7ef22dd2ae4a906ef1e237dcd6806aa7f97e30c37f924a0e6d595f4639350b53" +SRC_URI[sha256sum] = "a74e127a865fde12b853cc00f5f52a3a1601d2a1c311b3ffc8de92a4c06778f7" -RDEPENDS_${PN} += "python3-core" +RDEPENDS_${PN} += "python3-attrs python3-core python3-sortedcontainers" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.0
PATCH 2/5 python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1
In reply to Tim OrlingFrom: Tim Orling <[email protected]>
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.
6036a37 Avoid relying on new-style normalization for legacy eggs. 4098b51 Perform exact match on Prepared.normalized, and then add a
separate check for an empty self.normalized instead of relying on a degenerate result from startswith.
7bdbb57 Add test to ensure that a prefix isn't matched 595eb5f Compare the name against self.normalized. Fixes #261 but also
will cause 'lib' to match 'lib_foo'.
fea6e75 Move is_egg into prepared.
313535a Extract method for matching a name in a prepared search. 4335def Add test capturing expectation where versionless metadata exists
but hasn't been updated to the new normalization technique. Ref #261.
9aee90b Fix syntax in changelog
55e64a4 Merge pull request #258 from python/feature/skeleton 8721a05 Merge branch 'master' into feature/skeleton
ed672ee Consolidate coverage files
eabd24d Restore diffcov
b29baea Correct syntax for invoking pytest
d5a5c90 Bring back perf
67cb123 Run tests to exercise coverage
---
...-metadata_3.1.0.bb => python3-importlib-metadata_3.1.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/python/{python3-importlib-metadata_3.1.0.bb => python3-importlib-metadata_3.1.1.bb} (68%)meta/recipes-devtools/python/python3-importlib-metadata_3.1.1.bb renamed from meta/recipes-devtools/python/python3-importlib-metadata_3.1.0.bb +2 -2
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e" inherit pypi setuptools3 -SRC_URI = "https://files.pythonhosted.org/packages/7d/d4/dbc58eed92be61bae65a7d80a7604d35bf6ded3e3c53c14f2d45b4a28831/importlib_metadata-3.1.0.tar.gz" -SRC_URI[sha256sum] = "d9b8a46a0885337627a6430db287176970fff18ad421becec1d64cfc763c2099" +SRC_URI = "https://files.pythonhosted.org/packages/3f/a8/16dc098b0addd1c20719c18a86e985be851b3ec1e103e703297169bb22cc/importlib_metadata-3.1.1.tar.gz" +SRC_URI[sha256sum] = "b0c2d3b226157ae4517d9625decf63591461c66b3a808c2666d538946519d170" S = "${WORKDIR}/importlib_metadata-${PV}"
Signature · 1 line
2.25.0
PATCH 3/5 python3-pygments: upgrade v2.7.2 -> v2.7.3
In reply to Tim OrlingFrom: Tim Orling <[email protected]>
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)
- MySQL (#1555, #1551)
- Rust (#1608)
- Turtle (#1590, #1553)
* Deprecated JsonBareObjectLexer, which is now identical to JsonLexer (#1600)
* The ImgFormatter now calculates the exact character width, which fixes some issues with overlapping text (#1213, #1611)
* Documentation fixes (#1609, #1599, #1598)
* Fixed duplicated Juttle language alias (#1604, #1606)
* Added support for Kotlin scripts (#1587)
* Removed CSS rule which forced margin to 0
"""
---
.../{python3-pygments_2.7.2.bb => python3-pygments_2.7.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pygments_2.7.2.bb => python3-pygments_2.7.3.bb} (83%)meta/recipes-devtools/python/python3-pygments_2.7.3.bb renamed from meta/recipes-devtools/python/python3-pygments_2.7.2.bb +1 -1
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=1f5d0c4cf38dfc8122c00d6f1a97a0cc" inherit setuptools3 -SRC_URI[sha256sum] = "381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0" +SRC_URI[sha256sum] = "ccf3acacf3782cbed4a989426012f1c535c9a90d3a7fc3f16d231b9372d2b716" DEPENDS += "\ ${PYTHON_PN} \
Signature · 1 line
2.25.0
PATCH 4/5 python3-setuptools: upgrade 50.3.2 -> 51.0.0
In reply to Tim OrlingFrom: Tim Orling <[email protected]>
No upstream release notes.
Upstream commits since 50.3.2:
b6bbe236 Bump version: 50.3.2 → 51.0.07f477c52 Merge pull request #2472 from pypa/bugfix/2471-remove-deps2a0463cb Update changelog.99bc2c11 Remove tests guaranteeing that (vendored) dependencies can be installed without setuptools. 65441834 Remove conditional skip, no longer relevant.9365c7ed Merge pull request #2468 from wimglenn/patch-143b0b81e Merge pull request #2461 from webknjaz/testing/gha-fix-set-env-usage 43f76003 Merge pull request #2460 from HaraldKorneliussen/master2065f85d Merge pull request #2444 from zegor/patch-1e9617599 Merge pull request #2439 from mgedmin/patch-1475fb309 Update docs/pkg_resources.rstb4de397a fix broken link to entry-points details4a4d50af Fix all deprecated set-env and add-path uses @ GHAb20d12e1 Fixes syntax issues in quickstart (#2448)5cf3865f Merge pull request #2457 from webknjaz/testing/gha-broken-setup-python de48cfdb Temporarily allow set-env GHA commandsec944a40 Upgrade GHA actions using deprecated env mechanismd7170a28 Update quickstart.rst0e1fc1c6 s/517/PEP 517/544687c3 Merge pull request #2437 from pypa/feature/rtd-23ca9e461 Merge pull request #2436 from webknjaz/maintenance/changelog-reconstruction 8ad16115 Merge pull request #2435 from pypa/debt/drop-py356597dcb6 Switch to RTD v2 config7cf674e1 Reconstruct changelog with categories from history97ee6624 Remove Python 3.5 from Appveyor tests3dd7313d Bump PPC runsd490709b Merge pull request #2431 from webknjaz/bugfixes/pr-template-docs-links 66ca4205 Use 'virtualenv.python'. Fixes #2434.419087c4 Merge branch 'master' into debt/drop-py3538de858e Update changelog6d33d5dd 📝 Update devguide links in the PR template898ae046 Merge pull request #2430 from webknjaz/bugfixes/sphinx-failuresa94c2c3d 📝 Add change notese711cb07 🐛📝 Fix "Title level inconsistent" in changelog9ab7bc54 Clean up syntax on entry_points.console_scripts. Fixes #2429.2ff24f67 🐛📝 Fix the TOC link to the relocated dev guidea5dbf964 Drop support for Python 3.5.
---
...ython3-setuptools_50.3.2.bb => python3-setuptools_51.0.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-setuptools_50.3.2.bb => python3-setuptools_51.0.0.bb} (95%)meta/recipes-devtools/python/python3-setuptools_51.0.0.bb renamed from meta/recipes-devtools/python/python3-setuptools_50.3.2.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-e SRC_URI += "file://0001-change-shebang-to-python3.patch" -SRC_URI[sha256sum] = "ed0519d27a243843b05d82a5e9d01b0b083d9934eaa3d02779a23da18077bd3c" +SRC_URI[sha256sum] = "029c49fd713e9230f6a41c0298e6e1f5839f2cde7104c0ad5e053a37777e7688" DEPENDS += "${PYTHON_PN}"
Signature · 1 line
2.25.0
PATCH 5/5 python3-setuptools-scm: add python3-toml dep
In reply to Tim OrlingFrom: Tim Orling <[email protected]>
Fixes:
pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by setuptools-scm
--- meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-setuptools-scm_4.1.2.bb +2 -0
@@ -13,9 +13,11 @@ RDEPENDS_${PN} = "\ ${PYTHON_PN}-json \ ${PYTHON_PN}-py \ ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-toml \ " RDEPENDS_${PN}_class-native = "\ ${PYTHON_PN}-setuptools-native \ + ${PYTHON_PN}-toml-native \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.0