All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] python3-hypothesis upgrade
@ 2021-06-14  1:17 Tim Orling
  2021-06-14  1:18 ` [PATCH 1/2] python3-manifest: add statistics subpackage Tim Orling
  2021-06-14  1:18 ` [PATCH 2/2] python3-hypothesis: upgrade 6.13.14 -> 6.14.0 Tim Orling
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Orling @ 2021-06-14  1:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tim Orling

AUH upgrade for python3-hypothesis.

This turns out to add RDEPENDS on python3-statistics, which previously
had not been a subpackage. Rather than falling back to python3-misc,
create a new python3-statistics subpackage.

The following changes since commit 75110a9cc5e6840c65ed24bcca7d4cf1748ab67d:

  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.14.0

 ...is_6.13.14.bb => python3-hypothesis_6.14.0.bb} | 12 ++++++++++--
 .../python/python3/python3-manifest.json          | 15 +++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.13.14.bb => python3-hypothesis_6.14.0.bb} (54%)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] python3-manifest: add statistics subpackage
  2021-06-14  1:17 [PATCH 0/2] python3-hypothesis upgrade Tim Orling
@ 2021-06-14  1:18 ` Tim Orling
  2021-06-14  1:18 ` [PATCH 2/2] python3-hypothesis: upgrade 6.13.14 -> 6.14.0 Tim Orling
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Orling @ 2021-06-14  1:18 UTC (permalink / raw)
  To: openembedded-core; +Cc: 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 <timothy.t.orling@intel.com>
---
 .../python/python3/python3-manifest.json          | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 615dc3a5e5d..d65cf49cb8c 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -814,6 +814,7 @@
             "shell",
             "smtpd",
             "sqlite3",
+	    "statistics",
             "stringold",
             "syslog",
             "terminal",
@@ -1085,6 +1086,20 @@
         ],
         "cached": []
     },
+    "statistics": {
+	"summary": "Basic statistics module",
+	"rdepends": [
+	    "core",
+	    "math",
+	    "numbers"
+	],
+	"files": [
+	    "${libdir}/python${PYTHON_MAJMIN}/statistics.py"
+	],
+	"cached": [
+	    "${libdir}/python${PYTHON_MAJMIN}/__pycache__/statistics.*.pyc"
+	]
+    },
     "stringold": {
         "summary": "Python string APIs [deprecated]",
         "rdepends": [
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] python3-hypothesis: upgrade 6.13.14 -> 6.14.0
  2021-06-14  1:17 [PATCH 0/2] python3-hypothesis upgrade Tim Orling
  2021-06-14  1:18 ` [PATCH 1/2] python3-manifest: add statistics subpackage Tim Orling
@ 2021-06-14  1:18 ` Tim Orling
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Orling @ 2021-06-14  1:18 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tim Orling

Add runtime dependency on:
  - python3-compression
  - python3-json
  - python3-statistics

Upstream release notes:

6.14.0 - 2021-06-09
The explain phase now requires shrinking to be enabled, and will be
automatically skipped for deadline-exceeded errors.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-14-0

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
---
 ...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 --git a/meta/recipes-devtools/python/python3-hypothesis_6.13.14.bb b/meta/recipes-devtools/python/python3-hypothesis_6.14.0.bb
similarity index 54%
rename from meta/recipes-devtools/python/python3-hypothesis_6.13.14.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.14.0.bb
index 150dc8a5d6b..89071b2a974 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.13.14.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.14.0.bb
@@ -7,8 +7,16 @@ PYPI_PACKAGE = "hypothesis"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "36ef2d58f600be2973f694f45a55a5502de705d7594f9cf841276aec9082c414"
+SRC_URI[sha256sum] = "9bdee01ae260329b16117e9b0229a839b4a77747a985922653f595bd2a6a541a"
 
-RDEPENDS_${PN} += "python3-attrs python3-core python3-sortedcontainers python3-unittest"
+RDEPENDS_${PN} += " \
+    python3-attrs \
+    python3-compression \
+    python3-core \
+    python3-json \
+    python3-sortedcontainers \
+    python3-statistics \
+    python3-unittest \
+    "
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-14  1:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14  1:17 [PATCH 0/2] python3-hypothesis upgrade Tim Orling
2021-06-14  1:18 ` [PATCH 1/2] python3-manifest: add statistics subpackage Tim Orling
2021-06-14  1:18 ` [PATCH 2/2] python3-hypothesis: upgrade 6.13.14 -> 6.14.0 Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.