Skip to contentSkip to conversation

python3-greenlet: Upgrade 0.4.17 -> 1.0.0

PATCH In review Leon Anavi 2 participants 4 messages Jan 18, 2021 – Jan 20, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-greenlet: Upgrade 0.4.17 -> 1.0.0

Upgrade to release 1.0.0:

- Add the ability to set a greenlet's PEP 567 contextvars context directly, by assigning to the greenlet's gr_context attribute. This restores support for some patterns of using greenlets atop an async environment that became more challenging in 0.4.17.
- The repr of greenlet objects now includes extra information about its state. This is purely informative and the details are subject to change.
- The greenlet module is now a package. There are no API changes, so all existing imports, including from C code, should continue to work.
- (C API) The undocumented GREENLET_VERSION macro that defined a string giving the greenlet version is now deprecated and will not be updated.
- Fix %s and %r formatting of a greenlet on Python 2. Previously it would result in a Unicode string instead of a native string.
- Move continuous integration from Travis CI to Github Actions.

License-Update: move to the src/ layout and this affects the note in LICENSE about Stackless Python

---
 .../recipes-devtools/python/python3-greenlet_0.4.17.bb   | 9 ---------
 .../recipes-devtools/python/python3-greenlet_1.0.0.bb    | 8 ++++++++
 2 files changed, 8 insertions(+), 9 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-greenlet_0.4.17.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-greenlet_1.0.0.bb
meta-python/recipes-devtools/python/python3-greenlet_0.4.17.bb deleted +0 -9
deleted file mode 100644
index 744265e1f..000000000
@@ -1,9 +0,0 @@
-SUMMARY = "Python lightweight in-process concurrent programming"
-LICENSE = "MIT & PSF"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \
-                    file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
-
-SRC_URI[md5sum] = "d964c95c2d2f0f02f36c75e158d8e3dc"
-SRC_URI[sha256sum] = "41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b"
-
-inherit pypi distutils3
meta-python/recipes-devtools/python/python3-greenlet_1.0.0.bb new file +8 -0
new file mode 100644
index 000000000..32194dba7
@@ -0,0 +1,8 @@
+SUMMARY = "Python lightweight in-process concurrent programming"
+LICENSE = "MIT & PSF"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \
+                    file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
+
+SRC_URI[sha256sum] = "719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8"
+
+inherit pypi distutils3 setuptools3
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 python3-parse: Upgrade 1.18.0 -> 1.19.0

Upgrade to release 1.19.0:

- Fix using digit field numbering and types

---
 .../{python3-parse_1.18.0.bb => python3-parse_1.19.0.bb}       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-parse_1.18.0.bb => python3-parse_1.19.0.bb} (78%)
meta-python/recipes-devtools/python/python3-parse_1.19.0.bb renamed from meta-python/recipes-devtools/python/python3-parse_1.18.0.bb +1 -2
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-parse_1.18.0.bb
rename to meta-python/recipes-devtools/python/python3-parse_1.19.0.bb
index ed9204e3b..b5e076954 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
 
-SRC_URI[md5sum] = "42ea0002cf36bfd2bd74f3c05bf25f60"
-SRC_URI[sha256sum] = "91666032d6723dc5905248417ef0dc9e4c51df9526aaeef271eacad6491f06a4"
+SRC_URI[sha256sum] = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b"
 
 inherit pypi setuptools3 ptest
 
Signature · 1 line
2.17.1
Acked-by on v1 2/2
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-parse: Upgrade 1.18.0 -> 1.19.0

Quoted 3 lines · Leon Anavi

- Fix using digit field numbering and types

Quoted 25 lines
---
  .../{python3-parse_1.18.0.bb => python3-parse_1.19.0.bb}       | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-parse_1.18.0.bb => python3-parse_1.19.0.bb} (78%)

meta-python/recipes-devtools/python/python3-parse_1.19.0.bb renamed from meta-python/recipes-devtools/python/python3-parse_1.18.0.bb +1 -2
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-parse_1.18.0.bb
rename to meta-python/recipes-devtools/python/python3-parse_1.19.0.bb
index ed9204e3b..b5e076954 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
 
-SRC_URI[md5sum] = "42ea0002cf36bfd2bd74f3c05bf25f60"
-SRC_URI[sha256sum] = "91666032d6723dc5905248417ef0dc9e4c51df9526aaeef271eacad6491f06a4"
+SRC_URI[sha256sum] = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b"
 
  inherit pypi setuptools3 ptest
 
Acked-by on v1 1/2
#3 lore raw
In reply to Leon Anavi
Quoted 17 lines · Leon Anavi

- Add the ability to set a greenlet's PEP 567 contextvars context directly, by assigning to the greenlet's gr_context attribute. This restores support for some patterns of using greenlets atop an async environment that became more challenging in 0.4.17.
- The repr of greenlet objects now includes extra information about its state. This is purely informative and the details are subject to change.
- The greenlet module is now a package. There are no API changes, so all existing imports, including from C code, should continue to work.
- (C API) The undocumented GREENLET_VERSION macro that defined a string giving the greenlet version is now deprecated and will not be updated.
- Fix %s and %r formatting of a greenlet on Python 2. Previously it would result in a Unicode string instead of a native string.
- Move continuous integration from Travis CI to Github Actions.

Quoted 4 lines

License-Update: move to the src/ layout and this affects the note in LICENSE about Stackless Python

Quoted 39 lines
---
  .../recipes-devtools/python/python3-greenlet_0.4.17.bb   | 9 ---------
  .../recipes-devtools/python/python3-greenlet_1.0.0.bb    | 8 ++++++++
  2 files changed, 8 insertions(+), 9 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-greenlet_0.4.17.bb create mode 100644 meta-python/recipes-devtools/python/python3-greenlet_1.0.0.bb

meta-python/recipes-devtools/python/python3-greenlet_0.4.17.bb deleted +0 -9
deleted file mode 100644
index 744265e1f..000000000
@@ -1,9 +0,0 @@
-SUMMARY = "Python lightweight in-process concurrent programming"
-LICENSE = "MIT & PSF"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \
-                    file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
-
-SRC_URI[md5sum] = "d964c95c2d2f0f02f36c75e158d8e3dc"
-SRC_URI[sha256sum] = "41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b"
-
-inherit pypi distutils3
meta-python/recipes-devtools/python/python3-greenlet_1.0.0.bb new file +8 -0
new file mode 100644
index 000000000..32194dba7
@@ -0,0 +1,8 @@
+SUMMARY = "Python lightweight in-process concurrent programming"
+LICENSE = "MIT & PSF"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \
+                    file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
+
+SRC_URI[sha256sum] = "719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8"
+
+inherit pypi distutils3 setuptools3