Hello community,
here is the log from the commit of package python-pynamodb for openSUSE:Factory
checked in at 2020-09-15 16:16:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pynamodb (Old)
and /work/SRC/openSUSE:Factory/.python-pynamodb.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pynamodb"
Tue Sep 15 16:16:25 2020 rev:4 rq:832986 version:4.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pynamodb/python-pynamodb.changes
2020-07-20 21:06:52.253427475 +0200
+++
/work/SRC/openSUSE:Factory/.python-pynamodb.new.4249/python-pynamodb.changes
2020-09-15 16:16:36.273929735 +0200
@@ -1,0 +2,8 @@
+Tue Sep 8 09:39:01 UTC 2020 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 4.3.3
+ * Add type stubs for indexing into a ``ListAttribute`` for
+ forming conditional expressions (#774)
+ * Fix a warning about ``collections.abc`` deprecation (#782)
+
+-------------------------------------------------------------------
Old:
----
pynamodb-4.3.2.tar.gz
New:
----
pynamodb-4.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pynamodb.spec ++++++
--- /var/tmp/diff_new_pack.7dXAnR/_old 2020-09-15 16:16:37.085930486 +0200
+++ /var/tmp/diff_new_pack.7dXAnR/_new 2020-09-15 16:16:37.089930490 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pynamodb
-Version: 4.3.2
+Version: 4.3.3
Release: 0
Summary: Python Interface to DynamoDB
License: MIT
++++++ pynamodb-4.3.2.tar.gz -> pynamodb-4.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/PKG-INFO new/pynamodb-4.3.3/PKG-INFO
--- old/pynamodb-4.3.2/PKG-INFO 2020-04-28 16:17:22.000000000 +0200
+++ new/pynamodb-4.3.3/PKG-INFO 2020-08-14 22:45:39.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pynamodb
-Version: 4.3.2
+Version: 4.3.3
Summary: A Pythonic Interface to DynamoDB
Home-page: http://jlafon.io/pynamodb.html
Author: Jharrod LaFon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/pynamodb/__init__.py
new/pynamodb-4.3.3/pynamodb/__init__.py
--- old/pynamodb-4.3.2/pynamodb/__init__.py 2020-04-28 16:16:17.000000000
+0200
+++ new/pynamodb-4.3.3/pynamodb/__init__.py 2020-08-14 22:44:30.000000000
+0200
@@ -7,4 +7,4 @@
"""
__author__ = 'Jharrod LaFon'
__license__ = 'MIT'
-__version__ = '4.3.2'
+__version__ = '4.3.3'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/pynamodb/attributes.py
new/pynamodb-4.3.3/pynamodb/attributes.py
--- old/pynamodb-4.3.2/pynamodb/attributes.py 2020-04-28 16:16:17.000000000
+0200
+++ new/pynamodb-4.3.3/pynamodb/attributes.py 2020-08-14 22:44:30.000000000
+0200
@@ -19,7 +19,11 @@
)
from pynamodb.expressions.operand import Path
from pynamodb._compat import getfullargspec
-import collections
+
+try:
+ from collections.abc import Mapping # noqa
+except ImportError:
+ from collections import Mapping # noqa
class Attribute(object):
@@ -786,7 +790,7 @@
object.__setattr__(self, name, value)
def __set__(self, instance, value):
- if isinstance(value, collections.Mapping):
+ if isinstance(value, Mapping):
value = type(self)(**value)
return super(MapAttribute, self).__set__(instance, value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/pynamodb/attributes.pyi
new/pynamodb-4.3.3/pynamodb/attributes.pyi
--- old/pynamodb-4.3.2/pynamodb/attributes.pyi 2020-04-28 16:16:17.000000000
+0200
+++ new/pynamodb-4.3.3/pynamodb/attributes.pyi 2020-08-14 22:44:30.000000000
+0200
@@ -6,7 +6,7 @@
BeginsWith, Between, Comparison, Contains, NotExists, Exists, In
)
from pynamodb.expressions.operand import (
- _Decrement, _IfNotExists, _Increment, _ListAppend
+ Path, _Decrement, _IfNotExists, _Increment, _ListAppend
)
from pynamodb.expressions.update import (
AddAction, DeleteAction, RemoveAction, SetAction, ListRemoveAction
@@ -168,6 +168,7 @@
def __get__(self: _A, instance: None, owner: Any) -> _A: ...
@overload
def __get__(self, instance: Any, owner: Any) -> List[_T]: ...
+ def __getitem__(self, idx: int) -> Path: ...
def remove_indexes(self, *indexes: int) -> Union[ListRemoveAction]: ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/pynamodb/expressions/operand.pyi
new/pynamodb-4.3.3/pynamodb/expressions/operand.pyi
--- old/pynamodb-4.3.2/pynamodb/expressions/operand.pyi 2020-04-28
16:16:17.000000000 +0200
+++ new/pynamodb-4.3.3/pynamodb/expressions/operand.pyi 2020-08-14
22:44:30.000000000 +0200
@@ -79,3 +79,4 @@
def set(self, value: Any) -> SetAction: ...
def remove(self) -> RemoveAction: ...
def remove_list_elements(self, *indexes: int) -> ListRemoveAction: ...
+ def __getitem__(self, idx: Union[int, str]) -> Path: ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynamodb-4.3.2/pynamodb.egg-info/PKG-INFO
new/pynamodb-4.3.3/pynamodb.egg-info/PKG-INFO
--- old/pynamodb-4.3.2/pynamodb.egg-info/PKG-INFO 2020-04-28
16:17:22.000000000 +0200
+++ new/pynamodb-4.3.3/pynamodb.egg-info/PKG-INFO 2020-08-14
22:45:39.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pynamodb
-Version: 4.3.2
+Version: 4.3.3
Summary: A Pythonic Interface to DynamoDB
Home-page: http://jlafon.io/pynamodb.html
Author: Jharrod LaFon