diff options
| author | Tim Orling <ticotimo@gmail.com> | 2021-10-12 02:08:54 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:46 +0100 |
| commit | 1c6080c4b7c019d9dd665aabecf55aa1b4155dd2 (patch) | |
| tree | 0b88d50affcae61e1f11d2bc4892e7b06e686fd6 | |
| parent | 666cffcad2d751a54f73e0714b606214aeaae900 (diff) | |
| download | poky-1c6080c4b7c019d9dd665aabecf55aa1b4155dd2.tar.gz | |
python3-pytest: upgrade 6.2.4 -> 6.2.5
Drop pluggy-1.0 patch; fixed upstream
pytest 6.2.5 (2021-08-29)
Trivial/Internal Changes
#8494: Python 3.10 is now supported.
#9040: Enable compatibility with pluggy 1.0 or later.
References:
https://github.com/pytest-dev/pytest/pull/8494
https://github.com/pytest-dev/pytest/pull/9040
(From OE-Core rev: cd83fa054d133eb2b189ad3f0a743cc72001e064)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/python/python3-pytest/0001-Allow-pluggy-1.0.patch | 65 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-pytest_6.2.5.bb (renamed from meta/recipes-devtools/python/python3-pytest_6.2.4.bb) | 3 |
2 files changed, 1 insertions, 67 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest/0001-Allow-pluggy-1.0.patch b/meta/recipes-devtools/python/python3-pytest/0001-Allow-pluggy-1.0.patch deleted file mode 100644 index 175ef987ad..0000000000 --- a/meta/recipes-devtools/python/python3-pytest/0001-Allow-pluggy-1.0.patch +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | From 637d4400d2bab0457688f950ea18cc4a04147c11 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruno Oliveira <nicoddemus@gmail.com> | ||
| 3 | Date: Thu, 26 Aug 2021 09:26:51 -0300 | ||
| 4 | Subject: [PATCH] Allow pluggy >=1.0 | ||
| 5 | |||
| 6 | Now that pluggy 1.0 has been released, we can allow pluggy 1.0 with new pytest versions. | ||
| 7 | |||
| 8 | Upstream-Status: Backport [commit: fbba504] | ||
| 9 | |||
| 10 | Modify to use toml and not tomli. We will create a | ||
| 11 | python3-tomli recipe when we do an python3-pytest | ||
| 12 | upgrade. | ||
| 13 | |||
| 14 | Signed-off-by: Tim Orling <timothy.t.orling@intel.com> | ||
| 15 | --- | ||
| 16 | setup.cfg | 36 ++++++++++++++++++------------------ | ||
| 17 | 1 file changed, 18 insertions(+), 18 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/setup.cfg b/setup.cfg | ||
| 20 | index f919a9491..a8aeab813 100644 | ||
| 21 | --- a/setup.cfg | ||
| 22 | +++ b/setup.cfg | ||
| 23 | @@ -32,24 +32,24 @@ project_urls = | ||
| 24 | Tracker=https://github.com/pytest-dev/pytest/issues | ||
| 25 | |||
| 26 | [options] | ||
| 27 | -packages = | ||
| 28 | - _pytest | ||
| 29 | - _pytest._code | ||
| 30 | - _pytest._io | ||
| 31 | - _pytest.assertion | ||
| 32 | - _pytest.config | ||
| 33 | - _pytest.mark | ||
| 34 | - pytest | ||
| 35 | -install_requires = | ||
| 36 | - attrs>=19.2.0 | ||
| 37 | - iniconfig | ||
| 38 | - packaging | ||
| 39 | - pluggy>=0.12,<1.0.0a1 | ||
| 40 | - py>=1.8.2 | ||
| 41 | - toml | ||
| 42 | - atomicwrites>=1.0;sys_platform=="win32" | ||
| 43 | - colorama;sys_platform=="win32" | ||
| 44 | - importlib-metadata>=0.12;python_version<"3.8" | ||
| 45 | +packages = | ||
| 46 | + _pytest | ||
| 47 | + _pytest._code | ||
| 48 | + _pytest._io | ||
| 49 | + _pytest.assertion | ||
| 50 | + _pytest.config | ||
| 51 | + _pytest.mark | ||
| 52 | + pytest | ||
| 53 | +install_requires = | ||
| 54 | + attrs>=19.2.0 | ||
| 55 | + iniconfig | ||
| 56 | + packaging | ||
| 57 | + pluggy>=0.12,<2.0 | ||
| 58 | + py>=1.8.2 | ||
| 59 | + toml | ||
| 60 | + atomicwrites>=1.0;sys_platform=="win32" | ||
| 61 | + colorama;sys_platform=="win32" | ||
| 62 | + importlib-metadata>=0.12;python_version<"3.8" | ||
| 63 | python_requires = >=3.6 | ||
| 64 | package_dir = | ||
| 65 | =src | ||
diff --git a/meta/recipes-devtools/python/python3-pytest_6.2.4.bb b/meta/recipes-devtools/python/python3-pytest_6.2.5.bb index 2e90acaf36..0d8fdf6373 100644 --- a/meta/recipes-devtools/python/python3-pytest_6.2.4.bb +++ b/meta/recipes-devtools/python/python3-pytest_6.2.5.bb | |||
| @@ -5,8 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal | |||
| 5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" |
| 7 | 7 | ||
| 8 | SRC_URI += "file://0001-Allow-pluggy-1.0.patch" | 8 | SRC_URI[sha256sum] = "131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89" |
| 9 | SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b" | ||
| 10 | 9 | ||
| 11 | DEPENDS = "python3-setuptools-scm-native" | 10 | DEPENDS = "python3-setuptools-scm-native" |
| 12 | 11 | ||
