Skip to contentSkip to conversation

python3-gevent: Upgrade 20.9.0 -> 21.1.2

PATCH In review Leon Anavi 2 participants 10 messages Jan 28, 2021 – Feb 1, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-gevent: Upgrade 20.9.0 -> 21.1.2

- Update the embedded libev from 4.31 to 4.33.
- Update the embedded libuv from 1.38.0 to 1.40.0.

---
 .../{python3-gevent_20.9.0.bb => python3-gevent_21.1.2.bb}     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-gevent_20.9.0.bb => python3-gevent_21.1.2.bb} (89%)
meta-python/recipes-devtools/python/python3-gevent_21.1.2.bb renamed from meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb +1 -2
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
rename to meta-python/recipes-devtools/python/python3-gevent_21.1.2.bb
index 06c45f2ed..5edd96b34 100644
@@ -20,8 +20,7 @@ SRC_URI_append = " \
     file://libev-conf.patch;patch=1;pnum=1 \
 "
 
-SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
-SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
+SRC_URI[sha256sum] = "520cc2a029a9eef436e4e56b007af7859315cafa21937d43c1d5269f12f2c981"
 
 # The python-gevent has no autoreconf ability
 # and the logic for detecting a cross compile is flawed
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-prompt-toolkit: Upgrade 3.0.11 -> 3.0.14

Upgrade to release 3.0.14:

- Disable bell when PROMPT_TOOLKIT_BELL=false environment variable has been set.
- Improve cancellation of history loading.

---
 ...rompt-toolkit_3.0.11.bb => python3-prompt-toolkit_3.0.14.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.11.bb => python3-prompt-toolkit_3.0.14.bb} (86%)
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.14.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.14.bb
index 0b832c064..e5ad069d3 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] = "dc83e6368b0edd9ceabe17a055f2e22f6ed95b9aa39dbd59d0b4f3585bdfe9ed"
+SRC_URI[sha256sum] = "7e966747c18ececaec785699626b771c1ba8344c8d31759a1915d6b12fad6525"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

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

Quoted 9 lines · Leon Anavi

[Please note: This e-mail is from an EXTERNAL e-mail address]

Upgrade to release 3.0.14:

- Disable bell when PROMPT_TOOLKIT_BELL=false environment variable has been set.
- Improve cancellation of history loading.

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

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

meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.14.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb +1 -2
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.11.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.14.bb
index 0b832c064..e5ad069d3 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] = "dc83e6368b0edd9ceabe17a055f2e22f6ed95b9aa39dbd59d0b4f3585bdfe9ed"
+SRC_URI[sha256sum] = "7e966747c18ececaec785699626b771c1ba8344c8d31759a1915d6b12fad6525"
 
  inherit pypi setuptools3
 
--

2.17.1

author
#3 lore raw

PATCH 3/5 python3-urllib3: Upgrade 1.26.2 -> 1.26.3

In reply to Leon Anavi

Upgrade to release 1.26.3:

- Fixed bytes and string comparison issue with headers
- Changed ProxySchemeUnknown error message to be more actionable if the user supplies a proxy URL without a scheme

---
 .../{python3-urllib3_1.26.2.bb => python3-urllib3_1.26.3.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-urllib3_1.26.2.bb => python3-urllib3_1.26.3.bb} (86%)
meta-python/recipes-devtools/python/python3-urllib3_1.26.3.bb renamed from meta-python/recipes-devtools/python/python3-urllib3_1.26.2.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-urllib3_1.26.2.bb
rename to meta-python/recipes-devtools/python/python3-urllib3_1.26.3.bb
index fcd670901..739cf24f5 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = "19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08"
+SRC_URI[sha256sum] = "de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 3/5
#4 lore raw

Re: [oe] [meta-python][PATCH 3/5] python3-urllib3: Upgrade 1.26.2 -> 1.26.3

Quoted 9 lines · Leon Anavi

[Please note: This e-mail is from an EXTERNAL e-mail address]

Upgrade to release 1.26.3:

- Fixed bytes and string comparison issue with headers
- Changed ProxySchemeUnknown error message to be more actionable if the user supplies a proxy URL without a scheme

Quoted 27 lines
---
  .../{python3-urllib3_1.26.2.bb => python3-urllib3_1.26.3.bb}    | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-urllib3_1.26.2.bb => python3-urllib3_1.26.3.bb} (86%)

meta-python/recipes-devtools/python/python3-urllib3_1.26.3.bb renamed from meta-python/recipes-devtools/python/python3-urllib3_1.26.2.bb +1 -2
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-urllib3_1.26.2.bb
rename to meta-python/recipes-devtools/python/python3-urllib3_1.26.3.bb
index fcd670901..739cf24f5 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c"
 
-SRC_URI[sha256sum] = "19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08"
+SRC_URI[sha256sum] = "de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73"
 
  inherit pypi setuptools3
 
--

2.17.1

author
#5 lore raw

PATCH 4/5 python3-pybind11: Upgrade 2.5.0 -> 2.6.2

In reply to Leon Anavi

Upgrade to release 2.6.2:

- enum: add missing Enum.value property.
- Allow thread termination to be avoided during shutdown for CPython 3.7+ via .disarm for gil_scoped_acquire/gil_scoped_release.
- Fix bug where the constructor of object subclasses would not throw on being passed a Python object of the wrong type.
- The type_caster for integers does not convert Python objects with __int__ anymore with noconvert or during the first round of trying overloads.
- When casting to a C++ integer, __index__ is always called and not considered as conversion, consistent with Python 3.8+.
- Fixed segfault in multithreaded environments when using scoped_ostream_redirect.
- Leave docstring unset when all docstring-related options are disabled, rather than set an empty string.
- The module key in builtins that pybind11 uses to store its internals changed from std::string to a python str type (more natural on Python 2, no change on Python 3).
- Fixed assertion error related to unhandled (later overwritten) exception in CPython 3.8 and 3.9 debug builds.
- Fix py::gil_scoped_acquire assert with CPython 3.9 debug build.
- Fix issue with a test failing on PyTest 6.2.
- Fix warning modifying constructor parameter 'flag' that shadows a field of 'set_flag' [-Wshadow-field-in-constructor-modified].
- Suppressed some deprecation warnings about old-style __init__/__setstate__ in the tests.
- Fix invalid access when calling a pybind11 __init__ on a non-pybind11 class instance.
- Fixed various minor memory leaks in pybind11's test suite.
- Resolved memory leak in cpp_function initialization when exceptions occurred.
- Added a Valgrind build, checking for leaks and memory-related UB, to CI.
- Intel compiler was not activating C++14 support due to a broken define.
- Support ICC and NVIDIA HPC SDK in C++17 mode.
- Support Intel OneAPI compiler (ICC 20.2) and add to CI.

License-Update: Update a link.

---
 ...ck-pointer-size-when-cross-compiling.patch | 15 +++---
 .../0001-Do-not-strip-binaries.patch          | 51 +++++++++++--------
 ...d11_2.5.0.bb => python3-pybind11_2.6.2.bb} |  6 +--
 3 files changed, 41 insertions(+), 31 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pybind11_2.5.0.bb => python3-pybind11_2.6.2.bb} (82%)
meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch +8 -7
index 6455c95e7..761422e07 100644
@@ -1,4 +1,4 @@
-From 3abfa65517959ad279481021fafefba28f955e76 Mon Sep 17 00:00:00 2001
+From 2e9318f7a70699eed239aee6301d1d0bbd2457ee Mon Sep 17 00:00:00 2001
 From: Philip Balister <[email protected]>
 Date: Fri, 10 Jul 2020 10:14:59 -0400
 Subject: [PATCH] Do not check pointer size when cross compiling.
@@ -8,23 +8,24 @@ It is reasonable to build for 32 machine on a 64 bit build machine. Prevents:
 |   Python config failure: Python is 64-bit, chosen compiler is 32-bit
 
 Signed-off-by: Philip Balister <[email protected]>
+Signed-off-by: Leon Anavi <[email protected]>
 ---
  tools/FindPythonLibsNew.cmake | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/tools/FindPythonLibsNew.cmake b/tools/FindPythonLibsNew.cmake
-index d0c8fa2..8479e70 100644
+index 3605aebc..67f4d4a0 100644
 --- a/tools/FindPythonLibsNew.cmake
 +++ b/tools/FindPythonLibsNew.cmake
-@@ -123,7 +123,7 @@ list(GET _PYTHON_VALUES 9 PYTHON_MULTIARCH)
+@@ -156,7 +156,7 @@ list(GET _PYTHON_VALUES 9 PYTHON_MULTIARCH)
  
  # Make sure the Python has the same pointer-size as the chosen compiler
  # Skip if CMAKE_SIZEOF_VOID_P is not defined
 -if(CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}"))
 +if((NOT CMAKE_CROSSCOMPILING) AND CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}"))
-     if(PythonLibsNew_FIND_REQUIRED)
-         math(EXPR _PYTHON_BITS "${PYTHON_SIZEOF_VOID_P} * 8")
-         math(EXPR _CMAKE_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
+   if(PythonLibsNew_FIND_REQUIRED)
+     math(EXPR _PYTHON_BITS "${PYTHON_SIZEOF_VOID_P} * 8")
+     math(EXPR _CMAKE_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
 -- 
-2.25.4
+2.17.1
 
meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch +30 -21

68 lines not on this page · raw message

meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb renamed from meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb +3 -3
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
rename to meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
index 5d57590a1..bd16a6d0d 100644
@@ -1,15 +1,15 @@
 SUMMARY = "Seamless operability between C++11 and Python"
 HOMEPAGE = "https://github.com/wjakob/pybind11"
 LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
 
 DEPENDS = "boost"
 
 SRC_URI = "git://github.com/pybind/pybind11.git \
            file://0001-Do-not-strip-binaries.patch \
            file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \
-          "
-SRCREV = "3b1dbebabc801c9cf6f0953a4c20b904d444f879"
+"
+SRCREV = "8de7772cc72daca8e947b79b83fea46214931604"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-pybind11: Upgrade 2.5.0 -> 2.6.2

Quoted 41 lines · Leon Anavi

[Please note: This e-mail is from an EXTERNAL e-mail address]

Upgrade to release 2.6.2:

- enum: add missing Enum.value property.
- Allow thread termination to be avoided during shutdown for CPython 3.7+ via .disarm for gil_scoped_acquire/gil_scoped_release.
- Fix bug where the constructor of object subclasses would not throw on being passed a Python object of the wrong type.
- The type_caster for integers does not convert Python objects with __int__ anymore with noconvert or during the first round of trying overloads.
- When casting to a C++ integer, __index__ is always called and not considered as conversion, consistent with Python 3.8+.
- Fixed segfault in multithreaded environments when using scoped_ostream_redirect.
- Leave docstring unset when all docstring-related options are disabled, rather than set an empty string.
- The module key in builtins that pybind11 uses to store its internals changed from std::string to a python str type (more natural on Python 2, no change on Python 3).
- Fixed assertion error related to unhandled (later overwritten) exception in CPython 3.8 and 3.9 debug builds.
- Fix py::gil_scoped_acquire assert with CPython 3.9 debug build.
- Fix issue with a test failing on PyTest 6.2.
- Fix warning modifying constructor parameter 'flag' that shadows a field of 'set_flag' [-Wshadow-field-in-constructor-modified].
- Suppressed some deprecation warnings about old-style __init__/__setstate__ in the tests.
- Fix invalid access when calling a pybind11 __init__ on a non-pybind11 class instance.
- Fixed various minor memory leaks in pybind11's test suite.
- Resolved memory leak in cpp_function initialization when exceptions occurred.
- Added a Valgrind build, checking for leaks and memory-related UB, to CI.
- Intel compiler was not activating C++14 support due to a broken define.
- Support ICC and NVIDIA HPC SDK in C++17 mode.
- Support Intel OneAPI compiler (ICC 20.2) and add to CI.

Quoted 3 lines

License-Update: Update a link.

Quoted 154 lines
---
  ...ck-pointer-size-when-cross-compiling.patch | 15 +++---
  .../0001-Do-not-strip-binaries.patch          | 51 +++++++++++--------
  ...d11_2.5.0.bb => python3-pybind11_2.6.2.bb} |  6 +--
  3 files changed, 41 insertions(+), 31 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pybind11_2.5.0.bb => python3-pybind11_2.6.2.bb} (82%)

meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch +8 -7
index 6455c95e7..761422e07 100644
@@ -1,4 +1,4 @@
-From 3abfa65517959ad279481021fafefba28f955e76 Mon Sep 17 00:00:00 2001
+From 2e9318f7a70699eed239aee6301d1d0bbd2457ee Mon Sep 17 00:00:00 2001
  From: Philip Balister <[email protected]>
  Date: Fri, 10 Jul 2020 10:14:59 -0400
  Subject: [PATCH] Do not check pointer size when cross compiling.
@@ -8,23 +8,24 @@ It is reasonable to build for 32 machine on a 64 bit build machine. Prevents:
  |   Python config failure: Python is 64-bit, chosen compiler is 32-bit
 
  Signed-off-by: Philip Balister <[email protected]>
+Signed-off-by: Leon Anavi <[email protected]>
  ---
   tools/FindPythonLibsNew.cmake | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
 
  diff --git a/tools/FindPythonLibsNew.cmake b/tools/FindPythonLibsNew.cmake
-index d0c8fa2..8479e70 100644
+index 3605aebc..67f4d4a0 100644
  --- a/tools/FindPythonLibsNew.cmake
  +++ b/tools/FindPythonLibsNew.cmake
-@@ -123,7 +123,7 @@ list(GET _PYTHON_VALUES 9 PYTHON_MULTIARCH)
+@@ -156,7 +156,7 @@ list(GET _PYTHON_VALUES 9 PYTHON_MULTIARCH)
 
   # Make sure the Python has the same pointer-size as the chosen compiler
   # Skip if CMAKE_SIZEOF_VOID_P is not defined
  -if(CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}"))
  +if((NOT CMAKE_CROSSCOMPILING) AND CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}"))
-     if(PythonLibsNew_FIND_REQUIRED)
-         math(EXPR _PYTHON_BITS "${PYTHON_SIZEOF_VOID_P} * 8")
-         math(EXPR _CMAKE_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
+   if(PythonLibsNew_FIND_REQUIRED)
+     math(EXPR _PYTHON_BITS "${PYTHON_SIZEOF_VOID_P} * 8")
+     math(EXPR _CMAKE_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
  --
-2.25.4
+2.17.1
 
meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch +30 -21
index 07ab9a03b..699eb6155 100644
@@ -1,4 +1,4 @@
-From 918f3ef01c7a67f3beb67307966698474f144581 Mon Sep 17 00:00:00 2001
+From debd676cd94f92a30b3be45f1245aa13d8c398c0 Mon Sep 17 00:00:00 2001
  From: Philip Balister <[email protected]>
  Date: Wed, 8 Jul 2020 09:41:43 -0400
  Subject: [PATCH] Do not strip binaries.
@@ -6,34 +6,43 @@ Subject: [PATCH] Do not strip binaries.
   * OpenEmbedded strips them after creating debug packages.
 
  Signed-off-by: Philip Balister <[email protected]>
+Signed-off-by: Leon Anavi <[email protected]>
  ---
- tools/pybind11Tools.cmake | 13 -------------
- 1 file changed, 13 deletions(-)
+ tools/pybind11NewTools.cmake | 5 -----
+ tools/pybind11Tools.cmake    | 4 ----
+ 2 files changed, 9 deletions(-)
 
+diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake
+index 18da8be1..82ebf5e7 100644
+--- a/tools/pybind11NewTools.cmake
++++ b/tools/pybind11NewTools.cmake
+@@ -246,11 +246,6 @@ function(pybind11_add_module target_name)
+     endif()
+   endif()
+
+-  if(NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo)
+-    # Strip unnecessary sections of the binary on Linux/macOS
+-    pybind11_strip(${target_name})
+-  endif()
+-
+   if(MSVC)
+     target_link_libraries(${target_name} PRIVATE pybind11::windows_extras)
+   endif()
  diff --git a/tools/pybind11Tools.cmake b/tools/pybind11Tools.cmake
-index a3603ab..b4c8f63 100644
+index 32313539..a7d81012 100644
  --- a/tools/pybind11Tools.cmake
  +++ b/tools/pybind11Tools.cmake
-@@ -230,19 +230,6 @@ function(pybind11_add_module target_name)
-
-   _pybind11_add_lto_flags(${target_name} ${ARG_THIN_LTO})
+@@ -201,10 +201,6 @@ function(pybind11_add_module target_name)
+     endif()
+   endif()
 
--  if (NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo)
--    # Strip unnecessary sections of the binary on Linux/Mac OS
--    if(CMAKE_STRIP)
--      if(APPLE)
--        add_custom_command(TARGET ${target_name} POST_BUILD
--                           COMMAND ${CMAKE_STRIP} -x $<TARGET_FILE:${target_name}>)
--      else()
--        add_custom_command(TARGET ${target_name} POST_BUILD
--                           COMMAND ${CMAKE_STRIP} $<TARGET_FILE:${target_name}>)
--      endif()
--    endif()
+-  if(NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo)
+-    pybind11_strip(${target_name})
  -  endif()
  -
     if(MSVC)
-     # /MP enables multithreaded builds (relevant when there are many files), /bigobj is
-     # needed for bigger binding projects due to the limit to 64k addressable sections
+     target_link_libraries(${target_name} PRIVATE pybind11::windows_extras)
+   endif()
  --
-2.25.4
+2.17.1
 
meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb renamed from meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb +3 -4
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb
rename to meta-python/recipes-devtools/python/python3-pybind11_2.6.2.bb
index 5d57590a1..bd16a6d0d 100644
@@ -1,15 +1,15 @@
  SUMMARY = "Seamless operability between C++11 and Python"
  HOMEPAGE = "https://github.com/wjakob/pybind11"
  LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
 
  DEPENDS = "boost"
 
  SRC_URI = "git://github.com/pybind/pybind11.git \
             file://0001-Do-not-strip-binaries.patch \
             file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \
-          "
-SRCREV = "3b1dbebabc801c9cf6f0953a4c20b904d444f879"
+"
+SRCREV = "8de7772cc72daca8e947b79b83fea46214931604"
 
  S = "${WORKDIR}/git"
 
--

2.17.1

author
#7 lore raw

PATCH 5/5 python3-xlrd: Upgrade 1.2.0 -> 2.0.1

In reply to Leon Anavi

Upgrade to release 2.0.1:

- Use the README as the long description on PyPI.
- Remove support for anything other than .xls files.
- Remove support for psyco.
- Change the default encoding used when no CODEPAGE record can be found from ascii to iso-8859-1.
- Add support for iterating over :class:~xlrd.book.Book objects.
- Add support for item access from :class:~xlrd.book.Book objects, where integer indices and string sheet names are supported.
- Non-unicode spaces are now stripped from the "last author" information.
- Workbook corruption errors can now be ignored using the ignore_workbook_corruption option to :class:~xlrd.open_workbook.
- Handle WRITEACCESS records with invalid trailing characters.
- Officially support Python 3.8 and 3.9.

Get the source code from the git repository rather than from PyPI to obtain the tests.

License-Update: Use file LICENSE.

---
 ...hon3-xlrd_1.2.0.bb => python3-xlrd_2.0.1.bb} | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-xlrd_1.2.0.bb => python3-xlrd_2.0.1.bb} (63%)
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb renamed from meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb +9 -8
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb
rename to meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
index 571dba6fa..8587ea8f3 100644
@@ -4,16 +4,19 @@ DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
 Strong support for Excel dates. Unicode-aware."
 HOMEPAGE = "http://www.python-excel.org/"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1"
 
-SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
-SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
+SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88"
 
-SRC_URI += " \
-    file://run-ptest \
+
+SRC_URI = "git://github.com/python-excel/xlrd.git \
+           file://run-ptest \
 "
+SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
+
+S = "${WORKDIR}/git"
 
-inherit ptest pypi setuptools3
+inherit ptest setuptools3
 
 RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
 
@@ -24,8 +27,6 @@ RDEPENDS_${PN}-ptest += " \
 do_install_ptest() {
     install -d ${D}${PTEST_PATH}/tests
     cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-    install -d ${D}${PTEST_PATH}/examples
-    cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
 }
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-xlrd: Upgrade 1.2.0 -> 2.0.1

Quoted 20 lines · Leon Anavi

[Please note: This e-mail is from an EXTERNAL e-mail address]

Upgrade to release 2.0.1:

- Use the README as the long description on PyPI.
- Remove support for anything other than .xls files.
- Remove support for psyco.
- Change the default encoding used when no CODEPAGE record can be found from ascii to iso-8859-1.
- Add support for iterating over :class:~xlrd.book.Book objects.
- Add support for item access from :class:~xlrd.book.Book objects, where integer indices and string sheet names are supported.
- Non-unicode spaces are now stripped from the "last author" information.
- Workbook corruption errors can now be ignored using the ignore_workbook_corruption option to :class:~xlrd.open_workbook.
- Handle WRITEACCESS records with invalid trailing characters.
- Officially support Python 3.8 and 3.9.

Quoted 6 lines

Get the source code from the git repository rather than from PyPI to obtain the tests.

License-Update: Use file LICENSE.

Quoted 53 lines
---
  ...hon3-xlrd_1.2.0.bb => python3-xlrd_2.0.1.bb} | 17 +++++++++--------
  1 file changed, 9 insertions(+), 8 deletions(-)

rename meta-python/recipes-devtools/python/{python3-xlrd_1.2.0.bb => python3-xlrd_2.0.1.bb} (63%)

meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb renamed from meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb +9 -9
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb
rename to meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
index 571dba6fa..8587ea8f3 100644
@@ -4,16 +4,19 @@ DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
  Strong support for Excel dates. Unicode-aware."
  HOMEPAGE = "http://www.python-excel.org/"
  LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=00ea1e843a43c20d9b63a8112239b0d1"
 
-SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
-SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
+SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88"
 
-SRC_URI += " \
-    file://run-ptest \
+
+SRC_URI = "git://github.com/python-excel/xlrd.git \
+           file://run-ptest \
  "
+SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
+
+S = "${WORKDIR}/git"
 
-inherit ptest pypi setuptools3
+inherit ptest setuptools3
 
  RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
 
@@ -24,8 +27,6 @@ RDEPENDS_${PN}-ptest += " \
  do_install_ptest() {
      install -d ${D}${PTEST_PATH}/tests
      cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-    install -d ${D}${PTEST_PATH}/examples
-    cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
  }
 
  BBCLASSEXTEND = "native nativesdk"
--

2.17.1

Acked-by on v1 1/5
#9 lore raw
In reply to Leon Anavi
Quoted 6 lines · Leon Anavi

[Please note: This e-mail is from an EXTERNAL e-mail address]

- Update the embedded libev from 4.31 to 4.33.
- Update the embedded libuv from 1.38.0 to 1.40.0.

Quoted 28 lines
---
  .../{python3-gevent_20.9.0.bb => python3-gevent_21.1.2.bb}     | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-gevent_20.9.0.bb => python3-gevent_21.1.2.bb} (89%)

meta-python/recipes-devtools/python/python3-gevent_21.1.2.bb renamed from meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb +1 -3
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-gevent_20.9.0.bb
rename to meta-python/recipes-devtools/python/python3-gevent_21.1.2.bb
index 06c45f2ed..5edd96b34 100644
@@ -20,8 +20,7 @@ SRC_URI_append = " \
      file://libev-conf.patch;patch=1;pnum=1 \
  "
 
-SRC_URI[md5sum] = "9366ee7eebed48003f8a748568ef1f70"
-SRC_URI[sha256sum] = "5f6d48051d336561ec08995431ee4d265ac723a64bba99cc58c3eb1a4d4f5c8d"
+SRC_URI[sha256sum] = "520cc2a029a9eef436e4e56b007af7859315cafa21937d43c1d5269f12f2c981"
 
  # The python-gevent has no autoreconf ability
  # and the logic for detecting a cross compile is flawed
--

2.17.1