Skip to contentSkip to conversation

python3-ujson: Upgrade 4.0.1 -> 4.0.2

PATCH In review Leon Anavi 2 participants 10 messages Jan 22, 2021 – Jan 25, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-ujson: Upgrade 4.0.1 -> 4.0.2

Upgrade to release 4.0.2:

- Travis CI: Test on 3.9 final, remove 3.8
- Toward matching Python standard library output for float
- Fix errors on reading long decimal floats
- Make empty dict/list indented serialization match stdlib json
- Fix dealing with None types

---
 .../python/{python3-ujson_4.0.1.bb => python3-ujson_4.0.2.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-ujson_4.0.1.bb => python3-ujson_4.0.2.bb} (83%)
meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb renamed from meta-python/recipes-devtools/python/python3-ujson_4.0.1.bb +1 -2
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-ujson_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb
index 2475306f9..d79206fe6 100644
@@ -4,8 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=10fa10456417c0252bcb8a498e498ffe"
 
-SRC_URI[md5sum] = "c8030a62912c3be18ff99fa5b25258b8"
-SRC_URI[sha256sum] = "26cf6241b36ff5ce4539ae687b6b02673109c5e3efc96148806a7873eaa229d3"
+SRC_URI[sha256sum] = "c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d"
 
 inherit pypi ptest setuptools3
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-smbus2: Upgrade 0.4.0 -> 0.4.1

Upgrade to release 0.4.1:

- SonarCloud quality checks.
- Tests added to the dist package.

---
 .../python/{python3-smbus2_0.4.0.bb => python3-smbus2_0.4.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-smbus2_0.4.0.bb => python3-smbus2_0.4.1.bb} (84%)
meta-python/recipes-devtools/python/python3-smbus2_0.4.1.bb renamed from meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb +1 -1
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb
rename to meta-python/recipes-devtools/python/python3-smbus2_0.4.1.bb
index 1f6f61137..fe0b8d1ef 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "1b5c690715e1efab39e41038147dfba75afc72a10f76b3f0310d783e9f8a83a6"
+SRC_URI[sha256sum] = "6276eb599b76c4e74372f2582d2282f03b4398f0da16bc996608e4f21557ca9b"
 
 CLEANBROKEN = "1"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-smbus2: Upgrade 0.4.0 -> 0.4.1

Quoted 4 lines · Leon Anavi

- SonarCloud quality checks.
- Tests added to the dist package.

Quoted 24 lines
---
  .../python/{python3-smbus2_0.4.0.bb => python3-smbus2_0.4.1.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-smbus2_0.4.0.bb => python3-smbus2_0.4.1.bb} (84%)

meta-python/recipes-devtools/python/python3-smbus2_0.4.1.bb renamed from meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb +1 -1
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb
rename to meta-python/recipes-devtools/python/python3-smbus2_0.4.1.bb
index 1f6f61137..fe0b8d1ef 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
 
  inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "1b5c690715e1efab39e41038147dfba75afc72a10f76b3f0310d783e9f8a83a6"
+SRC_URI[sha256sum] = "6276eb599b76c4e74372f2582d2282f03b4398f0da16bc996608e4f21557ca9b"
 
  CLEANBROKEN = "1"
 
author
#3 lore raw

PATCH 3/5 python3-pyzmq: Upgrade 20.0.0 -> 21.0.1

In reply to Leon Anavi

Upgrade to release 21.0.1:

- drop support for Python 3.5. Python >= 3.6 is required
- mypy type stubs, which should improve static analysis of pyzmq, especially for dynamically defined attributes such as zmq constants. These are new! Let us know if you find any issues.
- support for zero-copy and sending bufferables with cffi backend. This is experimental! Please report issues.
- zero-copy support in CFFI backend (send(copy=False) now does something).
- Support sending any buffer-interface-providing objects in CFFI backend.
- Errors during teardown of asyncio Sockets
- Missing MSVCP140.dll in Python 3.9 wheels on Windows, causing vcruntime-redist package to be required to use the Python 3.9 wheels for pyzmq 20.0
- pyzmq-21.0.1 only changes CI configuration for Windows wheels (built with VS2017 instead of VS2019), fixing compatibility with some older Windows on all Pythons and removing requirement of VC++ redistributable package on latest Windows and Python < 3.8.

---
 .../python/python-pyzmq/club-rpath-out.patch  | 24 ++++++++++++++++---
 ...yzmq_20.0.0.bb => python3-pyzmq_21.0.1.bb} |  2 +-
 2 files changed, 22 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyzmq_20.0.0.bb => python3-pyzmq_21.0.1.bb} (91%)
meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch +21 -3
index 936f16585..d4e144a61 100644
@@ -1,13 +1,31 @@
+From b394003d31a7187767b7d6cc7b871968d2674be9 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Fri, 22 Jan 2021 11:41:12 +0200
+Subject: [PATCH] setup.py: Adjust _add_rpath
+
+Fix error: unrecognized command-line option '-R'
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Leon Anavi <[email protected]>
+---
+ setup.py | 3 ---
+ 1 file changed, 3 deletions(-)
+
 diff --git a/setup.py b/setup.py
-index d243eaa..98099bc 100755
+index 22f582d..2d28655 100755
 --- a/setup.py
 +++ b/setup.py
-@@ -192,8 +192,6 @@ def _add_rpath(settings, path):
+@@ -231,9 +231,6 @@ def _add_rpath(settings, path):
      """
      if sys.platform == 'darwin':
-         settings['extra_link_args'].extend(['-Wl,-rpath','-Wl,%s' % path])
+         settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path])
 -    else:
 -        settings['runtime_library_dirs'].append(path)
+-
  
  def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
      """load appropriate library/include settings from ZMQ prefix"""
+-- 
+2.17.1
+
meta-python/recipes-devtools/python/python3-pyzmq_21.0.1.bb renamed from meta-python/recipes-devtools/python/python3-pyzmq_20.0.0.bb +1 -1
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-pyzmq_20.0.0.bb
rename to meta-python/recipes-devtools/python/python3-pyzmq_21.0.1.bb
index a668eb11e..d6b741460 100644
@@ -8,7 +8,7 @@ DEPENDS = "zeromq"
 FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:"
 
 SRC_URI += "file://club-rpath-out.patch"
-SRC_URI[sha256sum] = "824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9"
+SRC_URI[sha256sum] = "c3a630dd7716e8e127d43b22598e256a2d11a847b8cc3310350528960037fa06"
 
 inherit pypi pkgconfig setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#4 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-pyzmq: Upgrade 20.0.0 -> 21.0.1

Quoted 19 lines · Leon Anavi

- drop support for Python 3.5. Python >= 3.6 is required
- mypy type stubs, which should improve static analysis of pyzmq, especially for dynamically defined attributes such as zmq constants. These are new! Let us know if you find any issues.
- support for zero-copy and sending bufferables with cffi backend. This is experimental! Please report issues.
- zero-copy support in CFFI backend (send(copy=False) now does something).
- Support sending any buffer-interface-providing objects in CFFI backend.
- Errors during teardown of asyncio Sockets
- Missing MSVCP140.dll in Python 3.9 wheels on Windows, causing vcruntime-redist package to be required to use the Python 3.9 wheels for pyzmq 20.0
- pyzmq-21.0.1 only changes CI configuration for Windows wheels (built with VS2017 instead of VS2019), fixing compatibility with some older Windows on all Pythons and removing requirement of VC++ redistributable package on latest Windows and Python < 3.8.

Quoted 1 line
Quoted 64 lines
---
  .../python/python-pyzmq/club-rpath-out.patch  | 24 ++++++++++++++++---
  ...yzmq_20.0.0.bb => python3-pyzmq_21.0.1.bb} |  2 +-
  2 files changed, 22 insertions(+), 4 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pyzmq_20.0.0.bb => python3-pyzmq_21.0.1.bb} (91%)

meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch +21 -3
index 936f16585..d4e144a61 100644
@@ -1,13 +1,31 @@
+From b394003d31a7187767b7d6cc7b871968d2674be9 Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Fri, 22 Jan 2021 11:41:12 +0200
+Subject: [PATCH] setup.py: Adjust _add_rpath
+
+Fix error: unrecognized command-line option '-R'
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Leon Anavi <[email protected]>
+---
+ setup.py | 3 ---
+ 1 file changed, 3 deletions(-)
+
  diff --git a/setup.py b/setup.py
-index d243eaa..98099bc 100755
+index 22f582d..2d28655 100755
  --- a/setup.py
  +++ b/setup.py
-@@ -192,8 +192,6 @@ def _add_rpath(settings, path):
+@@ -231,9 +231,6 @@ def _add_rpath(settings, path):
       """
       if sys.platform == 'darwin':
-         settings['extra_link_args'].extend(['-Wl,-rpath','-Wl,%s' % path])
+         settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path])
  -    else:
  -        settings['runtime_library_dirs'].append(path)
+-
 
   def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
       """load appropriate library/include settings from ZMQ prefix"""
+--
+2.17.1
+
meta-python/recipes-devtools/python/python3-pyzmq_21.0.1.bb renamed from meta-python/recipes-devtools/python/python3-pyzmq_20.0.0.bb +1 -1
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-pyzmq_20.0.0.bb
rename to meta-python/recipes-devtools/python/python3-pyzmq_21.0.1.bb
index a668eb11e..d6b741460 100644
@@ -8,7 +8,7 @@ DEPENDS = "zeromq"
  FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:"
 
  SRC_URI += "file://club-rpath-out.patch"
-SRC_URI[sha256sum] = "824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9"
+SRC_URI[sha256sum] = "c3a630dd7716e8e127d43b22598e256a2d11a847b8cc3310350528960037fa06"
 
  inherit pypi pkgconfig setuptools3
 
author
#5 lore raw

PATCH 4/5 python3-alembic: Upgrade 1.5.1 -> 1.5.2

In reply to Leon Anavi

Upgrade to release 1.5.2:

- Fixed regression where new "loop detection" feature produced false positives for revision names that have overlapping substrings between revision number and down revision and/or dependency, if the downrev/dependency were not in sequence form.
- Fixed regression where Alembic would fail to create a transaction properly if the sqlalchemy.engine.Connection were a so-called "branched" connection, that is, one where the .connect() method had been called to create a "sub" connection.

---
 .../{python3-alembic_1.5.1.bb => python3-alembic_1.5.2.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-alembic_1.5.1.bb => python3-alembic_1.5.2.bb} (78%)
meta-python/recipes-devtools/python/python3-alembic_1.5.2.bb renamed from meta-python/recipes-devtools/python/python3-alembic_1.5.1.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-alembic_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-alembic_1.5.2.bb
index f07be042f..9e30cc131 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4ece55266dcdd02ce165b1ee0e490bb"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "52d1d48109f17959982779e3c4b5cdeca701e449897bacb75bab173bd6ba984e"
+SRC_URI[sha256sum] = "a4de8d3525a95a96d59342e14b95cab5956c25b0907dce1549bb4e3e7958f4c2"
 
 PYPI_PACKAGE = "alembic"
 
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-alembic: Upgrade 1.5.1 -> 1.5.2

Quoted 10 lines · Leon Anavi

- Fixed regression where new "loop detection" feature produced false positives for revision names that have overlapping substrings between revision number and down revision and/or dependency, if the downrev/dependency were not in sequence form.
- Fixed regression where Alembic would fail to create a transaction properly if the sqlalchemy.engine.Connection were a so-called "branched" connection, that is, one where the .connect() method had been called to create a "sub" connection.

Quoted 24 lines
---
  .../{python3-alembic_1.5.1.bb => python3-alembic_1.5.2.bb}      | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-alembic_1.5.1.bb => python3-alembic_1.5.2.bb} (78%)

meta-python/recipes-devtools/python/python3-alembic_1.5.2.bb renamed from meta-python/recipes-devtools/python/python3-alembic_1.5.1.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-alembic_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-alembic_1.5.2.bb
index f07be042f..9e30cc131 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4ece55266dcdd02ce165b1ee0e490bb"
 
  inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "52d1d48109f17959982779e3c4b5cdeca701e449897bacb75bab173bd6ba984e"
+SRC_URI[sha256sum] = "a4de8d3525a95a96d59342e14b95cab5956c25b0907dce1549bb4e3e7958f4c2"
 
  PYPI_PACKAGE = "alembic"
 
author
#7 lore raw

PATCH 5/5 python3-prompt-toolkit: Upgrade 3.0.10 -> 3.0.11

In reply to Leon Anavi

Upgrade to release 3.0.11:

- Poll terminal size: better handle resize events when the application runs in a thread other than the main thread (where handling SIGWINCH doesn't work) or in the Windows console.
- Fix bug in system toolbar. The execution of system commands was broken.
- A refactoring of patch_stdout that includes several fixes.
- A refactoring of the ThreadedHistory, which includes several fixes, in particular a race condition that happened when editing input while a big history was still being loaded in the background.

---
 ...rompt-toolkit_3.0.10.bb => python3-prompt-toolkit_3.0.11.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.10.bb => python3-prompt-toolkit_3.0.11.bb} (86%)
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb
index abd9eb18c..0b832c064 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
 
-SRC_URI[sha256sum] = "b8b3d0bde65da350290c46a8f54f336b3cbf5464a4ac11239668d986852e79d5"
+SRC_URI[sha256sum] = "dc83e6368b0edd9ceabe17a055f2e22f6ed95b9aa39dbd59d0b4f3585bdfe9ed"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-prompt-toolkit: Upgrade 3.0.10 -> 3.0.11

Quoted 11 lines · Leon Anavi

- Poll terminal size: better handle resize events when the application runs in a thread other than the main thread (where handling SIGWINCH doesn't work) or in the Windows console.
- Fix bug in system toolbar. The execution of system commands was broken.
- A refactoring of patch_stdout that includes several fixes.
- A refactoring of the ThreadedHistory, which includes several fixes, in particular a race condition that happened when editing input while a big history was still being loaded in the background.

Quoted 1 line
Quoted 24 lines
---
  ...rompt-toolkit_3.0.10.bb => python3-prompt-toolkit_3.0.11.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.10.bb => python3-prompt-toolkit_3.0.11.bb} (86%)

meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb
index abd9eb18c..0b832c064 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
 
-SRC_URI[sha256sum] = "b8b3d0bde65da350290c46a8f54f336b3cbf5464a4ac11239668d986852e79d5"
+SRC_URI[sha256sum] = "dc83e6368b0edd9ceabe17a055f2e22f6ed95b9aa39dbd59d0b4f3585bdfe9ed"
 
  inherit pypi setuptools3
 
Acked-by on v1 1/5
#9 lore raw
In reply to Leon Anavi
Quoted 7 lines · Leon Anavi

- Travis CI: Test on 3.9 final, remove 3.8
- Toward matching Python standard library output for float
- Fix errors on reading long decimal floats
- Make empty dict/list indented serialization match stdlib json
- Fix dealing with None types

Quoted 25 lines
---
  .../python/{python3-ujson_4.0.1.bb => python3-ujson_4.0.2.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-ujson_4.0.1.bb => python3-ujson_4.0.2.bb} (83%)

meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb renamed from meta-python/recipes-devtools/python/python3-ujson_4.0.1.bb +1 -2
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-ujson_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb
index 2475306f9..d79206fe6 100644
@@ -4,8 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=10fa10456417c0252bcb8a498e498ffe"
 
-SRC_URI[md5sum] = "c8030a62912c3be18ff99fa5b25258b8"
-SRC_URI[sha256sum] = "26cf6241b36ff5ce4539ae687b6b02673109c5e3efc96148806a7873eaa229d3"
+SRC_URI[sha256sum] = "c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d"
 
  inherit pypi ptest setuptools3