Skip to contentSkip to conversation

python3-psutil: Upgrade 5.7.2 -> 5.7.3

PATCH In review Leon Anavi 2 participants 10 messages Oct 26, 2020 – Oct 28, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-psutil: Upgrade 5.7.2 -> 5.7.3

Upgrade to release 5.7.3:

- [FreeBSD] add support for Process.rlimit().
- [BSD] add support for Process.environ()
- [UNIX] net_if_stats()'s isup also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected)
- [Linux] improved battery detection and charge "secsleft" calculation
- [Linux] physical cpu_count() result is incorrect on systems with more than one CPU socket
- [macOS] Process.exe() may raise FileNotFoundError if process is still alive but the exe file which launched it got deleted
- [macOS] fix missing include for getpagesize()
- [Windows] Process.open_files() may cause a segfault due to a NULL pointer
- [Linux] sensors_battery(): if percent can be determined but not the remaining values, still return a result instead of None.

---
 .../{python3-psutil_5.7.2.bb => python3-psutil_5.7.3.bb}     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-psutil_5.7.2.bb => python3-psutil_5.7.3.bb} (64%)
meta-python/recipes-devtools/python/python3-psutil_5.7.3.bb renamed from meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb +2 -3
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb
rename to meta-python/recipes-devtools/python/python3-psutil_5.7.3.bb
index d61d501e9c..2f927d2da2 100644
@@ -2,9 +2,8 @@ SUMMARY = "A cross-platform process and system utilities module for Python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b"
 
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-${PV}.tar.gz"
-SRC_URI[md5sum] = "50bf39b4faa268ba1da8a9730bb38bb6"
-SRC_URI[sha256sum] = "90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb"
+SRC_URI[md5sum] = "b07a067e6a930608235f4e5d9b1f90f5"
+SRC_URI[sha256sum] = "af73f7bcebdc538eda9cc81d19db1db7bf26f103f91081d780bbacfcb620dee2"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-pyparted: Upgrade 3.11.6 -> 3.11.7

Upgrade to release 3.11.7:

- Set PY_SSIZE_T_CLEAN for the build
- add nvme support
- Update RELEASE file to make last step be "make pypi"

---
 ...{python3-pyparted_3.11.6.bb => python3-pyparted_3.11.7.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-extended/python-pyparted/{python3-pyparted_3.11.6.bb => python3-pyparted_3.11.7.bb} (83%)
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.7.bb renamed from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb +2 -2
similarity index 83%
rename from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb
rename to meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.7.bb
index 63f4933667..8909aa11f4 100644
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "\
     file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
 "
 
-SRC_URI[md5sum] = "b85dcaecc3106eb6e9a117270b09615e"
-SRC_URI[sha256sum] = "727ccdf308c194069aa9797f7a6a973bc95b2e407cdf5d58d6c8bc4c9dec92dc"
+SRC_URI[md5sum] = "69284f943982f54ded76960c92098a02"
+SRC_URI[sha256sum] = "61cde7b096bccd69ddc75c85b17f8baed45c3687d404706d91403a319453b903"
 
 inherit pypi distutils3
 
Signature · 1 line
2.17.1
Acked-by on v1 2/5
#2 lore raw

Re: [oe] [meta-python][PATCH 2/5] python3-pyparted: Upgrade 3.11.6 -> 3.11.7

Quoted 5 lines · Leon Anavi

- Set PY_SSIZE_T_CLEAN for the build
- add nvme support
- Update RELEASE file to make last step be "make pypi"

Quoted 26 lines
---
  ...{python3-pyparted_3.11.6.bb => python3-pyparted_3.11.7.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-extended/python-pyparted/{python3-pyparted_3.11.6.bb => python3-pyparted_3.11.7.bb} (83%)

meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.7.bb renamed from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb +2 -2
similarity index 83%
rename from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb
rename to meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.7.bb
index 63f4933667..8909aa11f4 100644
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "\
      file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
  "
 
-SRC_URI[md5sum] = "b85dcaecc3106eb6e9a117270b09615e"
-SRC_URI[sha256sum] = "727ccdf308c194069aa9797f7a6a973bc95b2e407cdf5d58d6c8bc4c9dec92dc"
+SRC_URI[md5sum] = "69284f943982f54ded76960c92098a02"
+SRC_URI[sha256sum] = "61cde7b096bccd69ddc75c85b17f8baed45c3687d404706d91403a319453b903"
 
  inherit pypi distutils3
 
author
#3 lore raw

PATCH 3/5 python3-tqdm: Upgrade 4.50.2 -> 4.51.0

In reply to Leon Anavi

Upgrade to release 4.51.0:

- add {eta} datetime bar_format argument
- fix py3 CLI --update & --update_to
- replace nosetests with pytest
- add & update tests

---
 .../python/{python3-tqdm_4.50.2.bb => python3-tqdm_4.51.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-tqdm_4.50.2.bb => python3-tqdm_4.51.0.bb} (65%)
meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb renamed from meta-python/recipes-devtools/python/python3-tqdm_4.50.2.bb +2 -2
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-tqdm_4.50.2.bb
rename to meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
index 9c2d06ba94..e4510ad448 100644
@@ -5,8 +5,8 @@ SECTION = "devel/python"
 LICENSE = "MIT & MPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=7ea57584e3f8bbde2ae3e1537551de25"
 
-SRC_URI[md5sum] = "2e56a15d28aa1fa06eeb31031c16c1f3"
-SRC_URI[sha256sum] = "69dfa6714dee976e2425a9aab84b622675b7b1742873041e3db8a8e86132a4af"
+SRC_URI[md5sum] = "b188c2dc7802c19b262971e566c265ce"
+SRC_URI[sha256sum] = "ef54779f1c09f346b2b5a8e5c61f96fbcb639929e640e59f8cf810794f406432"
 
 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-tqdm: Upgrade 4.50.2 -> 4.51.0

Quoted 6 lines · Leon Anavi

- add {eta} datetime bar_format argument
- fix py3 CLI --update & --update_to
- replace nosetests with pytest
- add & update tests

Quoted 26 lines
---
  .../python/{python3-tqdm_4.50.2.bb => python3-tqdm_4.51.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-tqdm_4.50.2.bb => python3-tqdm_4.51.0.bb} (65%)

meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb renamed from meta-python/recipes-devtools/python/python3-tqdm_4.50.2.bb +2 -2
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-tqdm_4.50.2.bb
rename to meta-python/recipes-devtools/python/python3-tqdm_4.51.0.bb
index 9c2d06ba94..e4510ad448 100644
@@ -5,8 +5,8 @@ SECTION = "devel/python"
  LICENSE = "MIT & MPL-2.0"
  LIC_FILES_CHKSUM = "file://LICENCE;md5=7ea57584e3f8bbde2ae3e1537551de25"
 
-SRC_URI[md5sum] = "2e56a15d28aa1fa06eeb31031c16c1f3"
-SRC_URI[sha256sum] = "69dfa6714dee976e2425a9aab84b622675b7b1742873041e3db8a8e86132a4af"
+SRC_URI[md5sum] = "b188c2dc7802c19b262971e566c265ce"
+SRC_URI[sha256sum] = "ef54779f1c09f346b2b5a8e5c61f96fbcb639929e640e59f8cf810794f406432"
 
  inherit pypi setuptools3
 
author
#5 lore raw

PATCH 4/5 python3-zipp: Upgrade 3.3.1 -> 3.4.0

In reply to Leon Anavi

Upgrade to release 3.4.0:

- Path.joinpath now takes arbitrary positional arguments and no longer accepts add as a keyword argument.

---
 .../python/{python3-zipp_3.3.1.bb => python3-zipp_3.4.0.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-zipp_3.3.1.bb => python3-zipp_3.4.0.bb} (77%)
meta-python/recipes-devtools/python/python3-zipp_3.4.0.bb renamed from meta-python/recipes-devtools/python/python3-zipp_3.3.1.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-zipp_3.3.1.bb
rename to meta-python/recipes-devtools/python/python3-zipp_3.4.0.bb
index 1cb4c2aa88..97523e8e7c 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/jaraco/zipp"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
 
-SRC_URI[md5sum] = "8bc697a6f65b8e2f75bcadfb90e98e58"
-SRC_URI[sha256sum] = "c1532a8030c32fd52ff6a288d855fe7adef5823ba1d26a29a68fd6314aa72baa"
+SRC_URI[md5sum] = "ae81f228995578b840d76d1b7d87fede"
+SRC_URI[sha256sum] = "ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
Signature · 1 line
2.17.1
Acked-by on v1 4/5
#6 lore raw

Re: [oe] [meta-python][PATCH 4/5] python3-zipp: Upgrade 3.3.1 -> 3.4.0

Quoted 4 lines · Leon Anavi

- Path.joinpath now takes arbitrary positional arguments and no longer accepts add as a keyword argument.

Quoted 26 lines
---
  .../python/{python3-zipp_3.3.1.bb => python3-zipp_3.4.0.bb}   | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-zipp_3.3.1.bb => python3-zipp_3.4.0.bb} (77%)

meta-python/recipes-devtools/python/python3-zipp_3.4.0.bb renamed from meta-python/recipes-devtools/python/python3-zipp_3.3.1.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-zipp_3.3.1.bb
rename to meta-python/recipes-devtools/python/python3-zipp_3.4.0.bb
index 1cb4c2aa88..97523e8e7c 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/jaraco/zipp"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
 
-SRC_URI[md5sum] = "8bc697a6f65b8e2f75bcadfb90e98e58"
-SRC_URI[sha256sum] = "c1532a8030c32fd52ff6a288d855fe7adef5823ba1d26a29a68fd6314aa72baa"
+SRC_URI[md5sum] = "ae81f228995578b840d76d1b7d87fede"
+SRC_URI[sha256sum] = "ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"
 
  DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
author
#7 lore raw

PATCH 5/5 python3-aiohttp: Upgrade 3.6.3 -> 3.7.1

In reply to Leon Anavi

Upgrade to release 3.7.1:

- Fixed a type error caused by the conditional import of Protocol
- Server doesn't send Content-Length for 1xx or 204
- Fix run_app typing
- Always require typing_extensions library
- Fix a variable-shadowing bug causing ThreadedResolver.resolve to return the resolved IP as the hostname in each record, which prevented validation of HTTPS connections
- Added annotations to all public attributes
- Fix flaky test_when_timeout_smaller_second
- Ensure sending a zero byte file does not throw an exception
- Fix a bug in web.run_app() about Python version checking on Windows

License-Update: Update year

---
 .../{python3-aiohttp_3.6.3.bb => python3-aiohttp_3.7.1.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-aiohttp_3.6.3.bb => python3-aiohttp_3.7.1.bb} (69%)
meta-python/recipes-devtools/python/python3-aiohttp_3.7.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.6.3.bb +3 -3
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-aiohttp_3.6.3.bb
rename to meta-python/recipes-devtools/python/python3-aiohttp_3.7.1.bb
index 824bde5e25..8b5b1dd160 100644
@@ -2,10 +2,10 @@ SUMMARY = "Async http client/server framework"
 DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python"
 HOMEPAGE = "https://github.com/aio-libs/aiohttp"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cf056e8e7a0a5477451af18b7b5aa98c"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3bf3d48554bdca1ea7fdb48de378c2ca"
 
-SRC_URI[md5sum] = "13d02dc8379207dde1f6966d1fc5083d"
-SRC_URI[sha256sum] = "698cd7bc3c7d1b82bb728bae835724a486a8c376647aec336aa21a60113c3645"
+SRC_URI[md5sum] = "ed78633cc420b29d3b61c7d877dc0901"
+SRC_URI[sha256sum] = "04f9d70f6c4d089be5068d7df6281e638f6820d4f1b1ec3dc012b0b43fa997d2"
 
 PYPI_PACKAGE = "aiohttp"
 inherit setuptools3 pypi
Signature · 1 line
2.17.1
Acked-by on v1 5/5
#8 lore raw

Re: [oe] [meta-python][PATCH 5/5] python3-aiohttp: Upgrade 3.6.3 -> 3.7.1

Quoted 13 lines · Leon Anavi

- Fixed a type error caused by the conditional import of Protocol
- Server doesn't send Content-Length for 1xx or 204
- Fix run_app typing
- Always require typing_extensions library
- Fix a variable-shadowing bug causing ThreadedResolver.resolve to return the resolved IP as the hostname in each record, which prevented validation of HTTPS connections
- Added annotations to all public attributes
- Fix flaky test_when_timeout_smaller_second
- Ensure sending a zero byte file does not throw an exception
- Fix a bug in web.run_app() about Python version checking on Windows

Quoted 3 lines

License-Update: Update year

Quoted 29 lines
---
  .../{python3-aiohttp_3.6.3.bb => python3-aiohttp_3.7.1.bb}  | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-aiohttp_3.6.3.bb => python3-aiohttp_3.7.1.bb} (69%)

meta-python/recipes-devtools/python/python3-aiohttp_3.7.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.6.3.bb +3 -3
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-aiohttp_3.6.3.bb
rename to meta-python/recipes-devtools/python/python3-aiohttp_3.7.1.bb
index 824bde5e25..8b5b1dd160 100644
@@ -2,10 +2,10 @@ SUMMARY = "Async http client/server framework"
  DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python"
  HOMEPAGE = "https://github.com/aio-libs/aiohttp"
  LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cf056e8e7a0a5477451af18b7b5aa98c"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3bf3d48554bdca1ea7fdb48de378c2ca"
 
-SRC_URI[md5sum] = "13d02dc8379207dde1f6966d1fc5083d"
-SRC_URI[sha256sum] = "698cd7bc3c7d1b82bb728bae835724a486a8c376647aec336aa21a60113c3645"
+SRC_URI[md5sum] = "ed78633cc420b29d3b61c7d877dc0901"
+SRC_URI[sha256sum] = "04f9d70f6c4d089be5068d7df6281e638f6820d4f1b1ec3dc012b0b43fa997d2"
 
  PYPI_PACKAGE = "aiohttp"
  inherit setuptools3 pypi
Acked-by on v1 1/5
#9 lore raw
In reply to Leon Anavi
Quoted 16 lines · Leon Anavi

- [FreeBSD] add support for Process.rlimit().
- [BSD] add support for Process.environ()
- [UNIX] net_if_stats()'s isup also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected)
- [Linux] improved battery detection and charge "secsleft" calculation
- [Linux] physical cpu_count() result is incorrect on systems with more than one CPU socket
- [macOS] Process.exe() may raise FileNotFoundError if process is still alive but the exe file which launched it got deleted
- [macOS] fix missing include for getpagesize()
- [Windows] Process.open_files() may cause a segfault due to a NULL pointer
- [Linux] sensors_battery(): if percent can be determined but not the remaining values, still return a result instead of None.

Quoted 1 line
Quoted 27 lines
---
  .../{python3-psutil_5.7.2.bb => python3-psutil_5.7.3.bb}     | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-psutil_5.7.2.bb => python3-psutil_5.7.3.bb} (64%)

meta-python/recipes-devtools/python/python3-psutil_5.7.3.bb renamed from meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb +2 -3
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb
rename to meta-python/recipes-devtools/python/python3-psutil_5.7.3.bb
index d61d501e9c..2f927d2da2 100644
@@ -2,9 +2,8 @@ SUMMARY = "A cross-platform process and system utilities module for Python"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b"
 
-PYPI_SRC_URI = "https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-${PV}.tar.gz"
-SRC_URI[md5sum] = "50bf39b4faa268ba1da8a9730bb38bb6"
-SRC_URI[sha256sum] = "90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb"
+SRC_URI[md5sum] = "b07a067e6a930608235f4e5d9b1f90f5"
+SRC_URI[sha256sum] = "af73f7bcebdc538eda9cc81d19db1db7bf26f103f91081d780bbacfcb620dee2"
 
  inherit pypi setuptools3