Skip to contentSkip to conversation

python3-astroid: upgrade 2.9.3 -> 2.10.0

PATCH New Wang Mingyu 1 participant 4 messages Mar 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-astroid: upgrade 2.9.3 -> 2.10.0

Changelog:
=========
* Fixed inference of "self" in binary operations in which "self"
is part of a list or tuple.
* Fixed builtin inference on property calls not calling the postinit of the new node, which resulted in instance arguments missing on these nodes.
* Fixed a crash on "Super.getattr" when the attribute was previously uninferable due to a cache limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the "__init__" attribute) is very large.
* Inlcude names of keyword-only arguments in "astroid.scoped_nodes.Lambda.argnames".
* Fixed a crash inferring on a "NewType" named with an f-string.
* Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which added a new attrs module alongside the existing attr.
* Use the "end_lineno" attribute for the "NodeNG.tolineno" property
when it is available.
* Add "is_dataclass" attribute to "ClassDef" nodes.
* Use "sysconfig" instead of "distutils" to determine the location of
python stdlib files and packages.
* Fixed crash with recursion error for inference of class attributes that referenced the class itself.
* Fixed crash when trying to infer "items()" on the "__dict__"
attribute of an imported module.
* Add optional "NodeNG.position" attribute.
Used for block nodes to highlight position of keyword(s) and name
in cases where the AST doesn't provide good enough positional information.
E.g. "nodes.ClassDef", "nodes.FunctionDef".
* Fix "ClassDef.fromlineno". For Python < 3.8 the "lineno" attribute includes decorators. "fromlineno" should return the line of the "class" statement itself.
* Performance improvements. Only run expensive decorator functions when non-default Deprecation warnings are enabled, eg. during a Pytest run.

---
 .../{python3-astroid_2.9.3.bb => python3-astroid_2.10.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-astroid_2.9.3.bb => python3-astroid_2.10.0.bb} (89%)
meta-python/recipes-devtools/python/python3-astroid_2.10.0.bb renamed from meta-python/recipes-devtools/python/python3-astroid_2.9.3.bb +1 -1
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-astroid_2.9.3.bb
rename to meta-python/recipes-devtools/python/python3-astroid_2.10.0.bb
index 5828c24a23..fc23f17c6b 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
 
-SRC_URI[sha256sum] = "1efdf4e867d4d8ba4a9f6cf9ce07cd182c4c41de77f23814feb27ca93ca9d877"
+SRC_URI[sha256sum] = "f616b9687a5f4afa673dfd2d684d2b6f38365c8ad7c6f27229dda1ede750c445"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 python3-aws-iot-device-sdk-python: upgrade 1.5.0-> 1.5.1

Changelog:
=========
change append to extend to fix bytestream error

---
 ...thon_1.5.0.bb => python3-aws-iot-device-sdk-python_1.5.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-aws-iot-device-sdk-python_1.5.0.bb => python3-aws-iot-device-sdk-python_1.5.1.bb} (96%)
meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.1.bb renamed from meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.0.bb +1 -1
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.0.bb
rename to meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.5.1.bb
index 2f877487ac..0b2181e4fe 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "\
     file://LICENSE.txt;md5=9ac49901b833e769c7d6f21e8dbd7b30 \
     file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \
 "
-SRCREV = "90d7b05749e2da7a13193024c720e3c8d9bf1157"
+SRCREV = "6ca6c73775c953114f83240a850a0d1ab49b68ac"
 SRC_URI = "git://github.com/aws/aws-iot-device-sdk-python;branch=master;protocol=https \
            file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \
            "
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 python3-bitarray: upgrade 2.3.7 -> 2.4.0

In reply to Wang Mingyu

setup.py-use-setuptools-instead-of-distutils.patch removed since it's included in 2.4.0

Changelog:
=========
* enable building wheels for multiple platforms and Python versions using pypa/cibuildwheel, see #165 and #170
* use setuptools instead of distutils in 'setup.py', #168
* add missing type hinting for '.count()' step argument

---
 ...-use-setuptools-instead-of-distutils.patch | 29 -------------------
 ...ray_2.3.7.bb => python3-bitarray_2.4.0.bb} |  5 +---
 2 files changed, 1 insertion(+), 33 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch
 rename meta-python/recipes-devtools/python/{python3-bitarray_2.3.7.bb => python3-bitarray_2.4.0.bb} (62%)
meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch deleted +0 -29
deleted file mode 100644
index cef7ce15a4..0000000000
@@ -1,29 +0,0 @@
-From 947d364841954d60bab7a4cf1497a272b1bf73ca Mon Sep 17 00:00:00 2001
-From: Konrad Weihmann <[email protected]>
-Date: Sun, 27 Feb 2022 11:57:09 +0100
-Subject: [PATCH] setup.py: use setuptools instead of distutils
-
-as distutils will be deprecated in python 3.12 and already produces
-a warning when run with python 3.10.x, it might be a good time to
-switch to setuptools.
-It offers the same interface, so results will be the same
-
-Signed-off-by: Konrad Weihmann <[email protected]>
-
-Upstream-Status: Backport [https://github.com/ilanschnell/bitarray/commit/947d364841954d60bab7a4cf1497a272b1bf73ca]
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 4dbdf859..c7787dad 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1,5 +1,5 @@
- import re
--from distutils.core import setup, Extension
-+from setuptools import setup, Extension
- 
- 
- kwds = {}
meta-python/recipes-devtools/python/python3-bitarray_2.4.0.bb renamed from meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb +1 -4
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb
rename to meta-python/recipes-devtools/python/python3-bitarray_2.4.0.bb
index 46ceed8b80..39d1618cb1 100644
@@ -3,11 +3,8 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray"
 LICENSE = "PSF-2.0"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"
 
-SRC_URI[sha256sum] = "4da790ab193e993107f3ff0aebc4f8d6ad5196a19071fbafad16b02898a44fd7"
+SRC_URI[sha256sum] = "f1203e902d51df31917d77eeba9c3fe78d032873a2ad78c737e26420f0080e58"
 
 inherit setuptools3 pypi
 
-# Backported from 2.3.8
-SRC_URI += "file://setup.py-use-setuptools-instead-of-distutils.patch"
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 python3-imageio: upgrade 2.16.0 -> 2.16.1

In reply to Wang Mingyu

Changelog:
=========
Ignore TIFF XResolution or YResolution with 0 in the denominator. Add section on freezing
Update "python_requires" to 3.7+

---
 .../{python3-imageio_2.16.0.bb => python3-imageio_2.16.1.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-imageio_2.16.0.bb => python3-imageio_2.16.1.bb} (81%)
meta-python/recipes-devtools/python/python3-imageio_2.16.1.bb renamed from meta-python/recipes-devtools/python/python3-imageio_2.16.0.bb +1 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-imageio_2.16.0.bb
rename to meta-python/recipes-devtools/python/python3-imageio_2.16.1.bb
index 04d5b9c95e..d1d318d5ae 100644
@@ -5,7 +5,7 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"
 
-SRC_URI[sha256sum] = "7f7d8d8e1eb6f8bb1d15e0dd93bee3f72026a4c3b96e9c690e42f403f7bdea3e"
+SRC_URI[sha256sum] = "7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.25.1