Hello community,

here is the log from the commit of package python-greenlet for openSUSE:Factory 
checked in at 2020-06-11 14:44:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-greenlet (Old)
 and      /work/SRC/openSUSE:Factory/.python-greenlet.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-greenlet"

Thu Jun 11 14:44:59 2020 rev:33 rq:812725 version:0.4.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-greenlet/python-greenlet.changes  
2018-09-26 16:00:06.640630438 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-greenlet.new.3606/python-greenlet.changes    
    2020-06-11 14:45:11.721468737 +0200
@@ -1,0 +2,8 @@
+Mon Jun  8 19:32:54 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 0.4.16:
+  - Support for DEC Alpha architecture
+  - Support for Python 3.9
+  - Support for Python 3.10a0
+
+-------------------------------------------------------------------

Old:
----
  greenlet-0.4.15.tar.gz

New:
----
  greenlet-0.4.16.tar.gz

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

Other differences:
------------------
++++++ python-greenlet.spec ++++++
--- /var/tmp/diff_new_pack.byLYGL/_old  2020-06-11 14:45:14.933478094 +0200
+++ /var/tmp/diff_new_pack.byLYGL/_new  2020-06-11 14:45:14.937478105 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-greenlet
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-greenlet
-Version:        0.4.15
+Version:        0.4.16
 Release:        0
 Summary:        Lightweight in-process concurrent programming
 License:        MIT

++++++ greenlet-0.4.15.tar.gz -> greenlet-0.4.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/.travis.yml 
new/greenlet-0.4.16/.travis.yml
--- old/greenlet-0.4.15/.travis.yml     2018-07-04 20:40:29.000000000 +0200
+++ new/greenlet-0.4.16/.travis.yml     2020-06-05 10:03:11.000000000 +0200
@@ -1,15 +1,53 @@
 language: python
 sudo: false
 
-python:
-  - 2.6
-  - 2.7
-  - 3.2
-  - 3.3
-  - 3.4
-  - 3.5
-  - 3.6
-  - 3.7-dev
+matrix:
+  include:
+  - arch: amd64
+    python: 2.6
+    dist: precise
+  - arch: arm64
+    python: 2.7
+    dist: bionic
+  - arch: amd64
+    python: 2.7
+    dist: bionic
+  - arch: amd64
+    python: 3.2
+    dist: precise
+  - arch: amd64
+    python: 3.3
+    dist: precise
+  - arch: arm64
+    python: 3.4
+    dist: xenial
+  - arch: amd64
+    python: 3.4
+    dist: xenial
+  - arch: arm64
+    python: 3.5
+    dist: bionic
+  - arch: amd64
+    python: 3.5
+    dist: bionic
+  - arch: arm64
+    python: 3.6
+    dist: bionic
+  - arch: amd64
+    python: 3.6
+    dist: bionic
+  - arch: arm64
+    python: 3.7
+    dist: bionic
+  - arch: amd64
+    python: 3.7
+    dist: bionic
+  - arch: arm64
+    python: 3.8
+    dist: bionic
+  - arch: amd64
+    python: 3.8
+    dist: bionic
 
 install: python setup.py build_ext -i
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/AUTHORS new/greenlet-0.4.16/AUTHORS
--- old/greenlet-0.4.15/AUTHORS 2018-07-04 20:40:38.000000000 +0200
+++ new/greenlet-0.4.16/AUTHORS 2020-04-22 06:41:53.000000000 +0200
@@ -35,6 +35,7 @@
 * Marc Schlaich
 * Marcin Bachry
 * Matt Madison
+* Matt Turner
 * Michael Ellerman
 * Michael Matz
 * Ralf Schmitt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/MANIFEST.in 
new/greenlet-0.4.16/MANIFEST.in
--- old/greenlet-0.4.15/MANIFEST.in     2018-09-08 00:06:28.000000000 +0200
+++ new/greenlet-0.4.16/MANIFEST.in     2020-06-05 10:15:26.000000000 +0200
@@ -22,6 +22,7 @@
 include make-win-release
 include my_build_ext.py
 include platform/switch_aarch64_gcc.h
+include platform/switch_alpha_unix.h
 include platform/switch_amd64_unix.h
 include platform/switch_arm32_gcc.h
 include platform/switch_arm32_ios.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/NEWS new/greenlet-0.4.16/NEWS
--- old/greenlet-0.4.15/NEWS    2018-09-08 00:02:12.000000000 +0200
+++ new/greenlet-0.4.16/NEWS    2020-06-05 10:15:26.000000000 +0200
@@ -1,3 +1,9 @@
+0.4.16
+===========
+- Support for DEC Alpha architecture
+- Support for Python 3.9
+- Support for Python 3.10a0
+
 0.4.15
 ===========
 - Support for RISC-V architecture
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/PKG-INFO new/greenlet-0.4.16/PKG-INFO
--- old/greenlet-0.4.15/PKG-INFO        2018-09-08 00:09:54.000000000 +0200
+++ new/greenlet-0.4.16/PKG-INFO        2020-06-05 10:18:55.818689800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: greenlet
-Version: 0.4.15
+Version: 0.4.16
 Summary: Lightweight in-process concurrent programming
 Home-page: https://github.com/python-greenlet/greenlet
 Author: Alexey Borzenkov
@@ -84,5 +84,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Operating System :: OS Independent
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/appveyor.yml 
new/greenlet-0.4.16/appveyor.yml
--- old/greenlet-0.4.15/appveyor.yml    2018-07-23 20:03:26.000000000 +0200
+++ new/greenlet-0.4.16/appveyor.yml    2020-04-22 06:52:37.000000000 +0200
@@ -1,4 +1,4 @@
-version: 0.4.15.{build}
+version: 0.4.16.{build}
 environment:
   global:
     # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
@@ -56,6 +56,14 @@
       PYTHON_ARCH: "64"
       PYTHON_VERSION: "3.7.x"
 
+    - PYTHON_ROOT: "C:\\Python38"
+      PYTHON_ARCH: "32"
+      PYTHON_VERSION: "3.8.x"
+
+    - PYTHON_ROOT: "C:\\Python38-x64"
+      PYTHON_ARCH: "64"
+      PYTHON_VERSION: "3.8.x"
+
 install:
   - "SET PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\\Scripts;%PATH%"
   - "python --version"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/greenlet.c 
new/greenlet-0.4.16/greenlet.c
--- old/greenlet-0.4.15/greenlet.c      2018-07-04 20:40:29.000000000 +0200
+++ new/greenlet-0.4.16/greenlet.c      2020-06-05 09:33:24.000000000 +0200
@@ -109,6 +109,22 @@
 #define GREENLET_USE_TRACING 1
 #endif
 
+#ifndef Py_SET_REFCNT
+   /* Py_REFCNT and Py_SIZE macros are converted to functions
+   https://bugs.python.org/issue39573 */
+  #define Py_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt)
+#endif
+
+#ifndef _Py_DEC_REFTOTAL
+  /* _Py_DEC_REFTOTAL macro has been removed from Python 3.9 by:
+    
https://github.com/python/cpython/commit/49932fec62c616ec88da52642339d83ae719e924
 */
+#  ifdef Py_REF_DEBUG
+#    define _Py_DEC_REFTOTAL _Py_RefTotal--
+#  else
+#    define _Py_DEC_REFTOTAL
+#  endif
+#endif
+
 /* Weak reference to the switching-to greenlet during the slp switch */
 static PyGreenlet* volatile ts_target = NULL;
 /* Strong reference to the switching from greenlet after the switch */
@@ -344,7 +360,7 @@
 #undef slp_switch
 
 #ifndef STACK_MAGIC
-#error "greenlet needs to be ported to this platform, or teached how to detect 
your compiler properly."
+#error "greenlet needs to be ported to this platform, or taught how to detect 
your compiler properly."
 #endif /* !STACK_MAGIC */
 
 #ifdef EXTERNAL_ASM
@@ -820,8 +836,7 @@
                        result = NULL;
                } else {
                        /* call g.run(*args, **kwargs) */
-                       result = PyEval_CallObjectWithKeywords(
-                               run, args, kwargs);
+                       result = PyObject_Call(run, args, kwargs);
                        Py_DECREF(args);
                        Py_XDECREF(kwargs);
                }
@@ -997,6 +1012,7 @@
 static void green_dealloc(PyGreenlet* self)
 {
        PyObject *error_type, *error_value, *error_traceback;
+       Py_ssize_t refcnt;
 
 #if GREENLET_USE_GC
        PyObject_GC_UnTrack(self);
@@ -1006,7 +1022,7 @@
                /* Hacks hacks hacks copied from instance_dealloc() */
                /* Temporarily resurrect the greenlet. */
                assert(Py_REFCNT(self) == 0);
-               Py_REFCNT(self) = 1;
+               Py_SET_REFCNT(self, 1);
                /* Save the current exception, if any. */
                PyErr_Fetch(&error_type, &error_value, &error_traceback);
                if (kill_greenlet(self) < 0) {
@@ -1035,11 +1051,13 @@
                 * it would cause a recursive call.
                 */
                assert(Py_REFCNT(self) > 0);
-               if (--Py_REFCNT(self) != 0) {
+               
+               refcnt = Py_REFCNT(self) - 1;
+               Py_SET_REFCNT(self, refcnt);
+               if (refcnt != 0) {
                        /* Resurrected! */
-                       Py_ssize_t refcnt = Py_REFCNT(self);
                        _Py_NewReference((PyObject*) self);
-                       Py_REFCNT(self) = refcnt;
+                       Py_SET_REFCNT(self, refcnt);
 #if GREENLET_USE_GC
                        PyObject_GC_Track((PyObject *)self);
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/greenlet.h 
new/greenlet-0.4.16/greenlet.h
--- old/greenlet-0.4.15/greenlet.h      2018-09-08 00:02:36.000000000 +0200
+++ new/greenlet-0.4.16/greenlet.h      2020-06-05 10:15:26.000000000 +0200
@@ -11,7 +11,7 @@
 extern "C" {
 #endif
 
-#define GREENLET_VERSION "0.4.15"
+#define GREENLET_VERSION "0.4.16"
 
 #if PY_VERSION_HEX >= 0x030700A3
 #  define GREENLET_USE_EXC_INFO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/platform/switch_alpha_unix.h 
new/greenlet-0.4.16/platform/switch_alpha_unix.h
--- old/greenlet-0.4.15/platform/switch_alpha_unix.h    1970-01-01 
01:00:00.000000000 +0100
+++ new/greenlet-0.4.16/platform/switch_alpha_unix.h    2020-04-22 
06:41:26.000000000 +0200
@@ -0,0 +1,30 @@
+#define STACK_REFPLUS 1
+
+#ifdef SLP_EVAL
+#define STACK_MAGIC 0
+
+#define REGS_TO_SAVE "$9", "$10", "$11", "$12", "$13", "$14", "$15", \
+                    "$f2", "$f3", "$f4", "$f5", "$f6", "$f7", "$f8", "$f9"
+
+static int
+slp_switch(void)
+{
+  register int ret;
+  register long *stackref, stsizediff;
+  __asm__ volatile ("" : : : REGS_TO_SAVE);
+  __asm__ volatile ("mov $30, %0" : "=r" (stackref) : );
+  {
+      SLP_SAVE_STATE(stackref, stsizediff);
+      __asm__ volatile (
+         "addq $30, %0, $30\n\t"
+         : /* no outputs */
+         : "r" (stsizediff)
+         );
+      SLP_RESTORE_STATE();
+  }
+  __asm__ volatile ("" : : : REGS_TO_SAVE);
+  __asm__ volatile ("mov $31, %0" : "=r" (ret) : );
+  return ret;
+}
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/platform/switch_ppc_aix.h 
new/greenlet-0.4.16/platform/switch_ppc_aix.h
--- old/greenlet-0.4.15/platform/switch_ppc_aix.h       2016-12-11 
00:52:06.000000000 +0100
+++ new/greenlet-0.4.16/platform/switch_ppc_aix.h       2020-02-05 
19:25:01.000000000 +0100
@@ -56,14 +56,14 @@
     register int err;
     register int *stackref, stsizediff;
     __asm__ volatile ("" : : : REGS_TO_SAVE);
-    __asm__ ("mr %0, 1" : "=g" (stackref) : );
+    __asm__ ("mr %0, 1" : "=r" (stackref) : );
     {
         SLP_SAVE_STATE(stackref, stsizediff);
         __asm__ volatile (
             "mr 11, %0\n"
             "add 1, 1, 11\n"
             : /* no outputs */
-            : "g" (stsizediff)
+            : "r" (stsizediff)
             : "11"
             );
         SLP_RESTORE_STATE();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/setup.py new/greenlet-0.4.16/setup.py
--- old/greenlet-0.4.15/setup.py        2018-09-08 00:02:18.000000000 +0200
+++ new/greenlet-0.4.16/setup.py        2020-06-05 10:15:26.000000000 +0200
@@ -70,7 +70,7 @@
 
 setup(
     name="greenlet",
-    version='0.4.15',
+    version='0.4.16',
     description='Lightweight in-process concurrent programming',
     long_description=readfile("README.rst"),
     maintainer="Alexey Borzenkov",
@@ -101,6 +101,8 @@
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
         'Operating System :: OS Independent',
         'Topic :: Software Development :: Libraries :: Python Modules'],
     **setuptools_args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/greenlet-0.4.15/slp_platformselect.h 
new/greenlet-0.4.16/slp_platformselect.h
--- old/greenlet-0.4.15/slp_platformselect.h    2018-07-23 20:02:45.000000000 
+0200
+++ new/greenlet-0.4.16/slp_platformselect.h    2020-06-05 09:33:24.000000000 
+0200
@@ -12,9 +12,9 @@
 #include "platform/switch_amd64_unix.h" /* gcc on amd64 */
 #elif defined(__GNUC__) && defined(__i386__)
 #include "platform/switch_x86_unix.h" /* gcc on X86 */
-#elif defined(__GNUC__) && defined(__powerpc64__) && defined(__linux__)
+#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || 
defined(__FreeBSD__))
 #include "platform/switch_ppc64_linux.h" /* gcc on PowerPC 64-bit */
-#elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__)
+#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || 
defined(__FreeBSD__))
 #include "platform/switch_ppc_linux.h" /* gcc on PowerPC */
 #elif defined(__GNUC__) && defined(__ppc__) && defined(__APPLE__)
 #include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */
@@ -51,4 +51,6 @@
 #include "platform/switch_csky_gcc.h" /* gcc on csky */
 #elif defined(__GNUC__) && defined(__riscv)
 #include "platform/switch_riscv_unix.h" /* gcc on RISC-V */
+#elif defined(__GNUC__) && defined(__alpha__)
+#include "platform/switch_alpha_unix.h" /* gcc on DEC Alpha */
 #endif


Reply via email to