Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zope.security for 
openSUSE:Factory checked in at 2022-10-31 10:44:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.security (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.security.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.security"

Mon Oct 31 10:44:34 2022 rev:8 rq:1032302 version:5.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.security/python-zope.security.changes    
    2022-09-18 17:31:50.773705026 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.security.new.2275/python-zope.security.changes
      2022-10-31 10:44:39.848842981 +0100
@@ -2 +2 @@
-Fri Sep 16 19:41:00 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+Sat Oct 29 18:10:03 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
@@ -5,0 +6,3 @@
+
+-------------------------------------------------------------------
+Fri Sep 16 19:41:00 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>

Old:
----
  zope.security-5.3.tar.gz

New:
----
  zope.security-5.4.tar.gz

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

Other differences:
------------------
++++++ python-zope.security.spec ++++++
--- /var/tmp/diff_new_pack.E0yolQ/_old  2022-10-31 10:44:40.456846044 +0100
+++ /var/tmp/diff_new_pack.E0yolQ/_new  2022-10-31 10:44:40.464846085 +0100
@@ -27,7 +27,7 @@
 %bcond_with test
 %endif
 Name:           python-zope.security%{psuffix}
-Version:        5.3
+Version:        5.4
 Release:        0
 Summary:        Zope Security Framework
 License:        ZPL-2.1

++++++ zope.security-5.3.tar.gz -> zope.security-5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.security-5.3/.manylinux-install.sh 
new/zope.security-5.4/.manylinux-install.sh
--- old/zope.security-5.3/.manylinux-install.sh 2022-04-27 08:28:40.000000000 
+0200
+++ new/zope.security-5.4/.manylinux-install.sh 2022-09-15 08:29:15.000000000 
+0200
@@ -26,6 +26,20 @@
 # We need some libraries because we build wheels from scratch:
 yum -y install libffi-devel
 
+tox_env_map() {
+    case $1 in
+        *"cp27"*) echo 'py27';;
+        *"cp35"*) echo 'py35';;
+        *"cp311"*) echo 'py311';;
+        *"cp36"*) echo 'py36';;
+        *"cp37"*) echo 'py37';;
+        *"cp38"*) echo 'py38';;
+        *"cp39"*) echo 'py39';;
+        *"cp310"*) echo 'py310';;
+        *) echo 'py';;
+    esac
+}
+
 # Compile wheels
 for PYBIN in /opt/python/*/bin; do
     if \
@@ -37,12 +51,18 @@
        [[ "${PYBIN}" == *"cp38"* ]] || \
        [[ "${PYBIN}" == *"cp39"* ]] || \
        [[ "${PYBIN}" == *"cp310"* ]] ; then
-        "${PYBIN}/pip" install -e /io/
-        "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+        if [[ "${PYBIN}" == *"cp311"* ]] ; then
+            "${PYBIN}/pip" install --pre -e /io/
+            "${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/
+        else
+            "${PYBIN}/pip" install -e /io/
+            "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+        fi
         if [ `uname -m` == 'aarch64' ]; then
           cd /io/
-          "${PYBIN}/pip" install tox
-          "${PYBIN}/tox" -e py
+          ${PYBIN}/pip install tox
+          TOXENV=$(tox_env_map "${PYBIN}")
+          ${PYBIN}/tox -e ${TOXENV}
           cd ..
         fi
         rm -rf /io/build /io/*.egg-info
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.security-5.3/CHANGES.rst 
new/zope.security-5.4/CHANGES.rst
--- old/zope.security-5.3/CHANGES.rst   2022-04-27 08:28:40.000000000 +0200
+++ new/zope.security-5.4/CHANGES.rst   2022-09-15 08:29:15.000000000 +0200
@@ -2,6 +2,13 @@
  Changes
 =========
 
+5.4 (2022-09-15)
+================
+
+- Disable unsafe math optimizations in C code.  See `pull request 89
+  <https://github.com/zopefoundation/zope.security/pull/89>`_.
+
+
 5.3 (2022-04-27)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.security-5.3/PKG-INFO 
new/zope.security-5.4/PKG-INFO
--- old/zope.security-5.3/PKG-INFO      2022-04-27 08:28:48.011937900 +0200
+++ new/zope.security-5.4/PKG-INFO      2022-09-15 08:29:22.776015800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.security
-Version: 5.3
+Version: 5.4
 Summary: Zope Security Framework
 Home-page: http://github.com/zopefoundation/zope.security
 Author: Zope Foundation and Contributors
@@ -69,6 +69,13 @@
  Changes
 =========
 
+5.4 (2022-09-15)
+================
+
+- Disable unsafe math optimizations in C code.  See `pull request 89
+  <https://github.com/zopefoundation/zope.security/pull/89>`_.
+
+
 5.3 (2022-04-27)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.security-5.3/setup.py 
new/zope.security-5.4/setup.py
--- old/zope.security-5.3/setup.py      2022-04-27 08:28:40.000000000 +0200
+++ new/zope.security-5.4/setup.py      2022-09-15 08:29:15.000000000 +0200
@@ -130,7 +130,7 @@
 
 
 setup(name='zope.security',
-      version='5.3',
+      version='5.4',
       author='Zope Foundation and Contributors',
       author_email='zope-...@zope.org',
       description='Zope Security Framework',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.security-5.3/src/zope/security/tests/test_compile_flags.py 
new/zope.security-5.4/src/zope/security/tests/test_compile_flags.py
--- old/zope.security-5.3/src/zope/security/tests/test_compile_flags.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/zope.security-5.4/src/zope/security/tests/test_compile_flags.py 
2022-09-15 08:29:15.000000000 +0200
@@ -0,0 +1,30 @@
+##############################################################################
+#
+# Copyright (c) 2022 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##############################################################################
+import struct
+import unittest
+
+import zope.security.checker  # noqa: try to load a C module for side effects
+import zope.security.proxy  # noqa: try to load a C module for side effects
+
+
+class TestFloatingPoint(unittest.TestCase):
+
+    def test_no_fast_math_optimization(self):
+        # Building with -Ofast enables -ffast-math, which sets certain FPU
+        # flags that can cause breakage elsewhere.  A library such as BTrees
+        # has no business changing global FPU flags for the entire process.
+        zero_bits = struct.unpack("!Q", struct.pack("!d", 0.0))[0]
+        next_up = zero_bits + 1
+        smallest_subnormal = struct.unpack("!d", struct.pack("!Q", next_up))[0]
+        self.assertNotEqual(smallest_subnormal, 0.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.security-5.3/src/zope.security.egg-info/PKG-INFO 
new/zope.security-5.4/src/zope.security.egg-info/PKG-INFO
--- old/zope.security-5.3/src/zope.security.egg-info/PKG-INFO   2022-04-27 
08:28:47.000000000 +0200
+++ new/zope.security-5.4/src/zope.security.egg-info/PKG-INFO   2022-09-15 
08:29:22.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: zope.security
-Version: 5.3
+Version: 5.4
 Summary: Zope Security Framework
 Home-page: http://github.com/zopefoundation/zope.security
 Author: Zope Foundation and Contributors
@@ -69,6 +69,13 @@
  Changes
 =========
 
+5.4 (2022-09-15)
+================
+
+- Disable unsafe math optimizations in C code.  See `pull request 89
+  <https://github.com/zopefoundation/zope.security/pull/89>`_.
+
+
 5.3 (2022-04-27)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.security-5.3/src/zope.security.egg-info/SOURCES.txt 
new/zope.security-5.4/src/zope.security.egg-info/SOURCES.txt
--- old/zope.security-5.3/src/zope.security.egg-info/SOURCES.txt        
2022-04-27 08:28:47.000000000 +0200
+++ new/zope.security-5.4/src/zope.security.egg-info/SOURCES.txt        
2022-09-15 08:29:22.000000000 +0200
@@ -72,6 +72,7 @@
 src/zope/security/tests/redefineperms.zcml
 src/zope/security/tests/test_adapter.py
 src/zope/security/tests/test_checker.py
+src/zope/security/tests/test_compile_flags.py
 src/zope/security/tests/test_decorator.py
 src/zope/security/tests/test_location.py
 src/zope/security/tests/test_management.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.security-5.3/tox.ini 
new/zope.security-5.4/tox.ini
--- old/zope.security-5.3/tox.ini       2022-04-27 08:28:40.000000000 +0200
+++ new/zope.security-5.4/tox.ini       2022-09-15 08:29:15.000000000 +0200
@@ -20,13 +20,14 @@
 
 [testenv]
 usedevelop = true
-pip_pre = true
+pip_pre = py311: true
 deps =
+    Sphinx
 setenv =
     pure: PURE_PYTHON=1
     !pure-!pypy-!pypy3: PURE_PYTHON=0
     ZOPE_INTERFACE_STRICT_IRO=1
-    watch: ZOPE_WATCH_CHECKERS = 1
+    watch: ZOPE_WATCH_CHECKERS=1
 commands =
     zope-testrunner --test-path=src {posargs:-vc}
     !py27-!pypy: sphinx-build -b doctest -d {envdir}/.cache/doctrees docs 
{envdir}/.cache/doctest

Reply via email to