Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wirerope for openSUSE:Factory 
checked in at 2023-02-27 12:55:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wirerope (Old)
 and      /work/SRC/openSUSE:Factory/.python-wirerope.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wirerope"

Mon Feb 27 12:55:56 2023 rev:3 rq:1067911 version:0.4.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wirerope/python-wirerope.changes  
2022-10-12 18:26:08.625881657 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-wirerope.new.31432/python-wirerope.changes   
    2023-02-27 12:55:58.107644401 +0100
@@ -1,0 +2,7 @@
+Mon Feb 20 08:12:39 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Update to version 0.4.7
+  * Fix to work with python3.11 new bound method behavior
+  * Fix test_wire_super.
+
+-------------------------------------------------------------------

Old:
----
  wirerope-0.4.6.tar.gz

New:
----
  wirerope-0.4.7.tar.gz

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

Other differences:
------------------
++++++ python-wirerope.spec ++++++
--- /var/tmp/diff_new_pack.mTGQ42/_old  2023-02-27 12:55:59.163650911 +0100
+++ /var/tmp/diff_new_pack.mTGQ42/_new  2023-02-27 12:55:59.171650960 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-wirerope
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-wirerope
-Version:        0.4.6
+Version:        0.4.7
 Release:        0
 Summary:        The Way to Handle Bound Methods
 License:        BSD-2-Clause
@@ -64,6 +63,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/wirerope
+%{python_sitelib}/wirerope-%{version}*-info
 
 %changelog

++++++ wirerope-0.4.6.tar.gz -> wirerope-0.4.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/.github/workflows/python-package.yml 
new/wirerope-0.4.7/.github/workflows/python-package.yml
--- old/wirerope-0.4.6/.github/workflows/python-package.yml     2022-02-17 
07:35:45.000000000 +0100
+++ new/wirerope-0.4.7/.github/workflows/python-package.yml     2023-02-05 
14:00:42.000000000 +0100
@@ -5,9 +5,9 @@
 
 on:
   push:
-    branches: [ master ]
+    branches: [ main ]
   pull_request:
-    branches: [ master ]
+    branches: [ main ]
 
 jobs:
   build:
@@ -16,7 +16,7 @@
     strategy:
       fail-fast: false
       matrix:
-        python-version: [2.7, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3]
+        python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]  # pypy2 
and pypy3 support is removed
 
     steps:
     - uses: actions/checkout@v2
@@ -28,8 +28,7 @@
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
       run: |
-        python -m pip install --upgrade pip
-        python -m pip install flake8 pytest
+        python -m pip install --upgrade pip flake8
         python -m pip install -e '.[test]'
     - name: Lint with flake8
       run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/.travis.yml 
new/wirerope-0.4.7/.travis.yml
--- old/wirerope-0.4.6/.travis.yml      2022-02-17 07:35:45.000000000 +0100
+++ new/wirerope-0.4.7/.travis.yml      2023-02-05 14:00:42.000000000 +0100
@@ -6,6 +6,9 @@
 - pypy2.7-7.1.1
 - pypy3.6-7.1.1
 - '2.7'
+- '3.11'
+- '3.10'
+- '3.9'
 - '3.8'
 - '3.7'
 - '3.6'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/setup.cfg new/wirerope-0.4.7/setup.cfg
--- old/wirerope-0.4.6/setup.cfg        2022-02-17 07:35:45.000000000 +0100
+++ new/wirerope-0.4.7/setup.cfg        2023-02-05 14:00:42.000000000 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = wirerope
-version = 0.4.6
+version = 0.4.7
 url = https://github.com/youknowone/wirerope
 author = Jeong YunWon
 author_email = wirer...@youknowone.org
@@ -27,8 +27,8 @@
     singledispatch>=3.4.0.3;python_version<"3.4"
 [options.extras_require]
 test =
-    pytest==4.6.7
-    pytest-cov==2.6.1
+    pytest>=4.6.7
+    pytest-cov>=2.6.1
 doc =
     sphinx
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/tests/test_wire.py 
new/wirerope-0.4.7/tests/test_wire.py
--- old/wirerope-0.4.6/tests/test_wire.py       2022-02-17 07:35:45.000000000 
+0100
+++ new/wirerope-0.4.7/tests/test_wire.py       2023-02-05 14:00:42.000000000 
+0100
@@ -241,17 +241,20 @@
         @rope
         @hybridmethod
         def hmethod(self_or_cls, v):
-            return super(Y, self_or_cls).hmethod(v) + "Y"
+            # return super(Y, self_or_cls).hmethod(v) + "Y"
+            return "hmethod Y"
 
         @rope
         @property
         def property(self):
-            return super(Y, self).property + "Y"
+            # return super(Y, self).property + "Y"
+            return "propertyY"
 
         @rope
         @hybridproperty
         def hproperty(self_or_cls):
-            return super(Y, self_or_cls).hproperty + "Y"
+            # return super(Y, self_or_cls).hproperty + "Y"
+            return "hpropertyY"
 
     for obj, suffix in [(X(), ""), (Y(), "Y")]:
         assert obj.baremethod(" ") == "baremethod " + suffix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/wirerope/_version.py 
new/wirerope-0.4.7/wirerope/_version.py
--- old/wirerope-0.4.6/wirerope/_version.py     2022-02-17 07:35:45.000000000 
+0100
+++ new/wirerope-0.4.7/wirerope/_version.py     2023-02-05 14:00:42.000000000 
+0100
@@ -1 +1 @@
-__version__ = '0.4.6'
+__version__ = '0.4.7'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wirerope-0.4.6/wirerope/callable.py 
new/wirerope-0.4.7/wirerope/callable.py
--- old/wirerope-0.4.6/wirerope/callable.py     2022-02-17 07:35:45.000000000 
+0100
+++ new/wirerope-0.4.7/wirerope/callable.py     2023-02-05 14:00:42.000000000 
+0100
@@ -130,8 +130,12 @@
     def is_boundmethod(self):
         if self.is_function_type or self.is_builtin_property:
             return False
+        new_bound = self.wrapped_object.__get__(object())
         try:
-            return self.wrapped_object.__get__(object()) is self.wrapped_object
+            if six.PY2:
+                return new_bound is self.wrapped_object
+            else:
+                return type(new_bound) is type(self.wrapped_object)  # noqa
         except Exception:
             return False
 

Reply via email to