Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-construct for 
openSUSE:Factory checked in at 2022-03-29 18:14:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-construct (Old)
 and      /work/SRC/openSUSE:Factory/.python-construct.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-construct"

Tue Mar 29 18:14:07 2022 rev:18 rq:965190 version:2.10.68

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes        
2021-11-09 23:54:23.671946022 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-construct.new.1900/python-construct.changes  
    2022-03-29 18:14:19.755068000 +0200
@@ -1,0 +2,7 @@
+Sun Mar 27 11:07:33 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 2.10.68:
+  * declared compatibility with python 3.10
+  * documentation updates 
+
+-------------------------------------------------------------------

Old:
----
  construct-2.10.67.tar.gz

New:
----
  construct-2.10.68.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.24TtNI/_old  2022-03-29 18:14:20.311068511 +0200
+++ /var/tmp/diff_new_pack.24TtNI/_new  2022-03-29 18:14:20.319068518 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %endif
 %define skip_python2 1
 Name:           python-construct%{?psuffix}
-Version:        2.10.67
+Version:        2.10.68
 Release:        0
 Summary:        A declarative parser/builder for binary data
 License:        MIT

++++++ construct-2.10.67.tar.gz -> construct-2.10.68.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/.github/workflows/main.yml 
new/construct-2.10.68/.github/workflows/main.yml
--- old/construct-2.10.67/.github/workflows/main.yml    2021-04-21 
11:16:01.000000000 +0200
+++ new/construct-2.10.68/.github/workflows/main.yml    2022-02-22 
00:00:04.000000000 +0100
@@ -8,7 +8,7 @@
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest]
-        python-version: [ '3.6', '3.7', '3.8', '3.9', 'pypy3' ]
+        python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3' ]
     name: Python ${{ matrix.python-version }}
     steps:
       - uses: actions/checkout@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/Makefile 
new/construct-2.10.68/Makefile
--- old/construct-2.10.67/Makefile      2021-04-21 11:16:01.000000000 +0200
+++ new/construct-2.10.68/Makefile      2022-02-22 00:00:04.000000000 +0100
@@ -2,35 +2,35 @@
        cat Makefile
 
 test:
-       python3.8 -m pytest --benchmark-disable --showlocals
+       python3.9 -m pytest --benchmark-disable --showlocals
 
 verbose:
-       python3.8 -m pytest --benchmark-disable --showlocals --verbose
+       python3.9 -m pytest --benchmark-disable --showlocals --verbose
 
 xfails:
-       python3.8 -m pytest --benchmark-disable --verbose | egrep 
--color=always "xfail|XFAIL|xpass|XPASS"
+       python3.9 -m pytest --benchmark-disable --verbose | egrep 
--color=always "xfail|XFAIL|xpass|XPASS"
 
 cover:
-       python3.8 -m pytest --benchmark-disable --cov construct --cov-report 
html --cov-report term --verbose
+       python3.9 -m pytest --benchmark-disable --cov construct --cov-report 
html --cov-report term --verbose
 
 bench:
-       python3.8 -m pytest --benchmark-enable --benchmark-columns=min,stddev 
--benchmark-sort=name --benchmark-compare
+       python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev 
--benchmark-sort=name --benchmark-compare
 
 benchsave:
-       python3.8 -m pytest --benchmark-enable --benchmark-columns=min,stddev 
--benchmark-sort=name --benchmark-compare --benchmark-autosave
+       python3.9 -m pytest --benchmark-enable --benchmark-columns=min,stddev 
--benchmark-sort=name --benchmark-compare --benchmark-autosave
 
 html:
        cd docs; make html
 
 installdeps:
-       apt-get install python3.8 python3-sphinx --upgrade
-       python3.8 -m pip install pytest pytest-benchmark pytest-cov twine 
--upgrade
-       python3.8 -m pip install enum34 numpy arrow ruamel.yaml cloudpickle lz4 
--upgrade
+       apt-get install python3.9 python3-pip python3-sphinx --upgrade
+       python3.9 -m pip install pytest pytest-benchmark pytest-cov twine 
--upgrade
+       python3.9 -m pip install enum34 numpy arrow ruamel.yaml cloudpickle lz4 
--upgrade
 
 version:
        ./version-increment
 
 upload:
-       python3.8 ./setup.py sdist
-       python3.8 -m twine upload dist/*
+       python3.9 ./setup.py sdist
+       python3.9 -m twine upload dist/*
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/construct/core.py 
new/construct-2.10.68/construct/core.py
--- old/construct-2.10.67/construct/core.py     2021-04-21 11:16:01.000000000 
+0200
+++ new/construct-2.10.68/construct/core.py     2022-02-22 00:00:04.000000000 
+0100
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-import struct, io, binascii, itertools, collections, pickle, sys, os, hashlib, 
importlib
+import struct, io, binascii, itertools, collections, pickle, sys, os, hashlib, 
importlib, importlib.machinery, importlib.util
 
 from construct.lib import *
 from construct.expr import *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/construct/lib/containers.py 
new/construct-2.10.68/construct/lib/containers.py
--- old/construct-2.10.67/construct/lib/containers.py   2021-04-21 
11:16:01.000000000 +0200
+++ new/construct-2.10.68/construct/lib/containers.py   2022-02-22 
00:00:04.000000000 +0100
@@ -60,6 +60,8 @@
     r"""
     Generic ordered dictionary that allows both key and attribute access, and 
preserves key order by insertion. Adding keys is preferred using \*\*entrieskw 
(requires Python 3.6). Equality does NOT check item order. Also provides regex 
searching.
 
+    Note that not all parameters can be accessed via attribute access (dot 
operator). If the name of an item matches a method name of the Container, it 
can only be accessed via key acces (square brackets). This includes the 
following names: clear, copy, fromkeys, get, items, keys, move_to_end, pop, 
popitem, search, search_all, setdefault, update, values.
+
     Example::
 
         # empty dict
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/construct/version.py 
new/construct-2.10.68/construct/version.py
--- old/construct-2.10.67/construct/version.py  2021-04-21 11:16:01.000000000 
+0200
+++ new/construct-2.10.68/construct/version.py  2022-02-22 00:00:04.000000000 
+0100
@@ -1,3 +1,3 @@
-version = (2,10,67)
-version_string = "2.10.67"
-release_date = "2021.04.21"
+version = (2,10,68)
+version_string = "2.10.68"
+release_date = "2022.02.21"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/docs/basics.rst 
new/construct-2.10.68/docs/basics.rst
--- old/construct-2.10.67/docs/basics.rst       2021-04-21 11:16:01.000000000 
+0200
+++ new/construct-2.10.68/docs/basics.rst       2022-02-22 00:00:04.000000000 
+0100
@@ -127,6 +127,14 @@
 >>> con.search_all("a")
 [1, 2]
 
+Note that not all parameters can be accessed via attribute access (dot 
operator). If the name of an item matches a method name of the Container (which 
is based on a dict), it can only be accessed via key acces (square brackets). 
This includes the following names: clear, copy, fromkeys, get, items, keys, 
move_to_end, pop, popitem, search, search_all, setdefault, update, values.
+
+>>> con = Container(update=5)
+>>> con["update"]
+5
+>>> con.update  # not usable via dot access
+<bound method Container.update of Container(update=5)>
+
 
 Nesting and embedding
 ---------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/docs/intro.rst 
new/construct-2.10.68/docs/intro.rst
--- old/construct-2.10.67/docs/intro.rst        2021-04-21 11:16:01.000000000 
+0200
+++ new/construct-2.10.68/docs/intro.rst        2022-02-22 00:00:04.000000000 
+0100
@@ -64,7 +64,7 @@
 
 Requirements
 --------------
-Construct should run on CPython 3.6 3.7 3.8 3.9 and PyPy implementations. PyPy 
achieves much better performance. Therefore PyPy would be somewhat recommended.
+Construct should run on CPython 3.6 3.7 3.8 3.9 3.10 and PyPy implementations. 
PyPy achieves much better performance. Therefore PyPy would be somewhat 
recommended.
 
 Following modules are needed only if you want to use certain features:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/docs/meta.rst 
new/construct-2.10.68/docs/meta.rst
--- old/construct-2.10.67/docs/meta.rst 2021-04-21 11:16:01.000000000 +0200
+++ new/construct-2.10.68/docs/meta.rst 2022-02-22 00:00:04.000000000 +0100
@@ -217,4 +217,10 @@
 
 >>> lambda this: this.list[this.index]
 
+Sizeof method does not work in this expressions. Use a lambda:
+
+>>> lambda this: this._subcons.<member>.sizeof()
+
 Lambdas (unlike this expressions) are not compilable.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/setup.py 
new/construct-2.10.68/setup.py
--- old/construct-2.10.67/setup.py      2021-04-21 11:16:01.000000000 +0200
+++ new/construct-2.10.68/setup.py      2022-02-22 00:00:04.000000000 +0100
@@ -57,6 +57,7 @@
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
     ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/construct-2.10.67/version-increment 
new/construct-2.10.68/version-increment
--- old/construct-2.10.67/version-increment     2021-04-21 11:16:01.000000000 
+0200
+++ new/construct-2.10.68/version-increment     2022-02-22 00:00:04.000000000 
+0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python3.6
+#!/usr/bin/python3.9
 
 import construct
 x,y,z = construct.version

Reply via email to