Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zope.hookable for 
openSUSE:Factory checked in at 2022-10-14 15:40:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.hookable (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.hookable.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.hookable"

Fri Oct 14 15:40:13 2022 rev:11 rq:1010318 version:5.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.hookable/python-zope.hookable.changes    
    2021-10-20 20:24:07.489372169 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.hookable.new.2275/python-zope.hookable.changes
      2022-10-14 15:40:21.467699833 +0200
@@ -1,0 +2,7 @@
+Wed Oct 12 18:31:51 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 5.2 
+  * Add support for Python 3.10 and 3.11 (as of 3.11.0rc1).
+  * Disable unsafe math optimizations in C code. See pull request 25.
+
+-------------------------------------------------------------------

Old:
----
  zope.hookable-5.1.0.tar.gz

New:
----
  zope.hookable-5.2.tar.gz

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

Other differences:
------------------
++++++ python-zope.hookable.spec ++++++
--- /var/tmp/diff_new_pack.bYWaIl/_old  2022-10-14 15:40:22.015700748 +0200
+++ /var/tmp/diff_new_pack.bYWaIl/_new  2022-10-14 15:40:22.019700755 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,7 +27,7 @@
 %bcond_with test
 %endif
 Name:           python-zope.hookable%{psuffix}
-Version:        5.1.0
+Version:        5.2
 Release:        0
 Summary:        Zope hookable
 License:        ZPL-2.1

++++++ zope.hookable-5.1.0.tar.gz -> zope.hookable-5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/.manylinux-install.sh 
new/zope.hookable-5.2/.manylinux-install.sh
--- old/zope.hookable-5.1.0/.manylinux-install.sh       2021-07-20 
08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/.manylinux-install.sh 2022-09-13 08:35:15.000000000 
+0200
@@ -23,21 +23,47 @@
 ls -ld /cache
 ls -ld /cache/pip
 
+# 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 [[ "${PYBIN}" == *"cp27"* ]] || \
+    if \
+       [[ "${PYBIN}" == *"cp27"* ]] || \
        [[ "${PYBIN}" == *"cp35"* ]] || \
+       [[ "${PYBIN}" == *"cp311"* ]] || \
        [[ "${PYBIN}" == *"cp36"* ]] || \
        [[ "${PYBIN}" == *"cp37"* ]] || \
        [[ "${PYBIN}" == *"cp38"* ]] || \
-       [[ "${PYBIN}" == *"cp39"* ]]; then
-        "${PYBIN}/pip" install -e /io/
-        "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+       [[ "${PYBIN}" == *"cp39"* ]] || \
+       [[ "${PYBIN}" == *"cp310"* ]] ; then
+        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
-         cd ..
+          cd /io/
+          ${PYBIN}/pip install tox
+          TOXENV=$(tox_env_map "${PYBIN}")
+          ${PYBIN}/tox -e ${TOXENV}
+          cd ..
         fi
         rm -rf /io/build /io/*.egg-info
     fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/CHANGES.rst 
new/zope.hookable-5.2/CHANGES.rst
--- old/zope.hookable-5.1.0/CHANGES.rst 2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/CHANGES.rst   2022-09-13 08:35:15.000000000 +0200
@@ -2,6 +2,15 @@
  Changes
 =========
 
+5.2 (2022-09-13)
+================
+
+- Add support for Python 3.10 and 3.11 (as of 3.11.0rc1).
+
+- Disable unsafe math optimizations in C code.  See `pull request 25
+  <https://github.com/zopefoundation/zope.hookable/pull/25>`_.
+
+
 5.1.0 (2021-07-20)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/CONTRIBUTING.md 
new/zope.hookable-5.2/CONTRIBUTING.md
--- old/zope.hookable-5.1.0/CONTRIBUTING.md     1970-01-01 01:00:00.000000000 
+0100
+++ new/zope.hookable-5.2/CONTRIBUTING.md       2022-09-13 08:35:15.000000000 
+0200
@@ -0,0 +1,23 @@
+<!--
+Generated from:
+https://github.com/zopefoundation/meta/tree/master/config/c-code
+--> 
+# Contributing to zopefoundation projects
+
+The projects under the zopefoundation GitHub organization are open source and
+welcome contributions in different forms:
+
+* bug reports
+* code improvements and bug fixes
+* documentation improvements
+* pull request reviews
+
+For any changes in the repository besides trivial typo fixes you are required
+to sign the contributor agreement. See
+https://www.zope.dev/developer/becoming-a-committer.html for details.
+
+Please visit our [Developer
+Guidelines](https://www.zope.dev/developer/guidelines.html) if you'd like to
+contribute code changes and our [guidelines for reporting
+bugs](https://www.zope.dev/developer/reporting-bugs.html) if you want to file a
+bug report.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/MANIFEST.in 
new/zope.hookable-5.2/MANIFEST.in
--- old/zope.hookable-5.1.0/MANIFEST.in 2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/MANIFEST.in   2022-09-13 08:35:15.000000000 +0200
@@ -1,5 +1,6 @@
 # Generated from:
 # https://github.com/zopefoundation/meta/tree/master/config/c-code
+include *.md
 include *.rst
 include *.txt
 include buildout.cfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/PKG-INFO 
new/zope.hookable-5.2/PKG-INFO
--- old/zope.hookable-5.1.0/PKG-INFO    2021-07-20 08:09:01.000000000 +0200
+++ new/zope.hookable-5.2/PKG-INFO      2022-09-13 08:35:17.649002800 +0200
@@ -1,154 +1,11 @@
 Metadata-Version: 2.1
 Name: zope.hookable
-Version: 5.1.0
+Version: 5.2
 Summary: Zope hookable
 Home-page: http://github.com/zopefoundation/zope.hookable
 Author: Zope Foundation and Contributors
 Author-email: [email protected]
 License: ZPL 2.1
-Description: ===============
-         zope.hookable
-        ===============
-        
-        .. image:: https://img.shields.io/pypi/v/zope.hookable.svg
-                :target: https://pypi.python.org/pypi/zope.hookable/
-                :alt: Latest release
-        
-        .. image:: https://img.shields.io/pypi/pyversions/zope.hookable.svg
-                :target: https://pypi.org/project/zope.hookable/
-                :alt: Supported Python versions
-        
-        .. image:: 
https://travis-ci.com/zopefoundation/zope.hookable.svg?branch=master
-                :target: https://travis-ci.com/zopefoundation/zope.hookable
-        
-        .. image:: 
https://readthedocs.org/projects/zopehookable/badge/?version=latest
-                :target: https://zopehookable.readthedocs.io/en/latest/
-                :alt: Documentation Status
-        
-        .. image:: 
https://coveralls.io/repos/github/zopefoundation/zope.hookable/badge.svg?branch=master
-                :target: 
https://coveralls.io/github/zopefoundation/zope.hookable?branch=master
-        
-        
-        This package supports the efficient creation of "hookable" objects, 
which
-        are callable objects that are meant to be optionally replaced.
-        
-        The idea is that you create a function that does some default thing 
and make it
-        hookable. Later, someone can modify what it does by calling its 
sethook method
-        and changing its implementation.  All users of the function, including 
those
-        that imported it, will see the change.
-        
-        Documentation is hosted at https://zopehookable.readthedocs.io
-        
-        
-        =========
-         Changes
-        =========
-        
-        5.1.0 (2021-07-20)
-        ==================
-        
-        - Add support for Python 3.9.
-        
-        - Create Linux aarch64 wheels.
-        
-        
-        5.0.1 (2020-03-10)
-        ==================
-        
-        - Stop using the setuptools ``Feature`` class, allowing this
-          project to be built from source with newer versions of setuptools
-          that remove that functionality.
-        
-        
-        5.0.0 (2019-11-12)
-        ==================
-        
-        - Add support for Python 3.7 and 3.8.
-        
-        - Drop support for Python 3.4.
-        
-        
-        4.2.0 (2017-11-07)
-        ==================
-        
-        - Expose the ``__doc__`` (and, where applicable, ``__bases__`` and
-          ``__dict__``) of the hooked object. This lets Sphinx document them.
-          See `issue 6 
<https://github.com/zopefoundation/zope.hookable/issues/6>`_.
-        
-        - Respect ``PURE_PYTHON`` at runtime. At build time, always try to
-          build the C extensions on supported platforms, but allow it to fail.
-          See `issue 7
-          <https://github.com/zopefoundation/zope.hookable/issues/7>`_.
-        
-        
-        4.1.0 (2017-07-26)
-        ==================
-        
-        - Drop support for Python 2.6, 3.2 and 3.3.
-        
-        - Add support for Python 3.5 and 3.6.
-        
-        4.0.4 (2014-03-19)
-        ==================
-        
-        - Add support for Python 3.4.
-        
-        4.0.3 (2014-03-17)
-        ==================
-        
-        - Update ``boostrap.py`` to version 2.2.
-        
-        - Fix extension compilation on Py3k.
-        
-        4.0.2 (2012-12-31)
-        ==================
-        
-        - Flesh out PyPI Trove classifiers.
-        
-        4.0.1 (2012-11-21)
-        ==================
-        
-        - Add support for Python 3.3.
-        
-        - Avoid building the C extension explicitly (use the "feature" 
indirection
-          instead).  https://bugs.launchpad.net/zope.hookable/+bug/1025470
-        
-        4.0.0 (2012-06-04)
-        ==================
-        
-        - Add support for PyPy.
-        
-        - Add support for continuous integration using ``tox`` and ``jenkins``.
-        
-        - Add a pure-Python reference implementation.
-        
-        - Move doctests to Sphinx documentation.
-        
-        - Bring unit test coverage to 100%.
-        
-        - Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-        
-        - Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
-          ``nose`` and ``coverage``).
-        
-        - Drop support for Python 2.4 / 2.5.
-        
-        - Remove of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-        
-        - Add Python 3 support.
-        
-        3.4.1 (2009-04-05)
-        ==================
-        
-        - Update for compatibility with Python 2.6 traceback formats.
-        
-        - Use Jython-compatible ``bootstrap.py``.
-        
-        3.4.0 (2007-07-20)
-        ==================
-        
-        - Initial release as a separate project.
-        
 Keywords: function hook replacement loose coupled
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -164,6 +21,7 @@
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Framework :: Zope :: 3
@@ -172,3 +30,158 @@
 Provides-Extra: docs
 Provides-Extra: testing
 Provides-Extra: test
+License-File: LICENSE.txt
+
+===============
+ zope.hookable
+===============
+
+.. image:: https://img.shields.io/pypi/v/zope.hookable.svg
+        :target: https://pypi.python.org/pypi/zope.hookable/
+        :alt: Latest release
+
+.. image:: https://img.shields.io/pypi/pyversions/zope.hookable.svg
+        :target: https://pypi.org/project/zope.hookable/
+        :alt: Supported Python versions
+
+.. image:: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml/badge.svg
+        :target: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml
+
+.. image:: https://readthedocs.org/projects/zopehookable/badge/?version=latest
+        :target: https://zopehookable.readthedocs.io/en/latest/
+        :alt: Documentation Status
+
+.. image:: 
https://coveralls.io/repos/github/zopefoundation/zope.hookable/badge.svg?branch=master
+        :target: 
https://coveralls.io/github/zopefoundation/zope.hookable?branch=master
+
+
+This package supports the efficient creation of "hookable" objects, which
+are callable objects that are meant to be optionally replaced.
+
+The idea is that you create a function that does some default thing and make it
+hookable. Later, someone can modify what it does by calling its sethook method
+and changing its implementation.  All users of the function, including those
+that imported it, will see the change.
+
+Documentation is hosted at https://zopehookable.readthedocs.io
+
+
+=========
+ Changes
+=========
+
+5.2 (2022-09-13)
+================
+
+- Add support for Python 3.10 and 3.11 (as of 3.11.0rc1).
+
+- Disable unsafe math optimizations in C code.  See `pull request 25
+  <https://github.com/zopefoundation/zope.hookable/pull/25>`_.
+
+
+5.1.0 (2021-07-20)
+==================
+
+- Add support for Python 3.9.
+
+- Create Linux aarch64 wheels.
+
+
+5.0.1 (2020-03-10)
+==================
+
+- Stop using the setuptools ``Feature`` class, allowing this
+  project to be built from source with newer versions of setuptools
+  that remove that functionality.
+
+
+5.0.0 (2019-11-12)
+==================
+
+- Add support for Python 3.7 and 3.8.
+
+- Drop support for Python 3.4.
+
+
+4.2.0 (2017-11-07)
+==================
+
+- Expose the ``__doc__`` (and, where applicable, ``__bases__`` and
+  ``__dict__``) of the hooked object. This lets Sphinx document them.
+  See `issue 6 <https://github.com/zopefoundation/zope.hookable/issues/6>`_.
+
+- Respect ``PURE_PYTHON`` at runtime. At build time, always try to
+  build the C extensions on supported platforms, but allow it to fail.
+  See `issue 7
+  <https://github.com/zopefoundation/zope.hookable/issues/7>`_.
+
+
+4.1.0 (2017-07-26)
+==================
+
+- Drop support for Python 2.6, 3.2 and 3.3.
+
+- Add support for Python 3.5 and 3.6.
+
+4.0.4 (2014-03-19)
+==================
+
+- Add support for Python 3.4.
+
+4.0.3 (2014-03-17)
+==================
+
+- Update ``boostrap.py`` to version 2.2.
+
+- Fix extension compilation on Py3k.
+
+4.0.2 (2012-12-31)
+==================
+
+- Flesh out PyPI Trove classifiers.
+
+4.0.1 (2012-11-21)
+==================
+
+- Add support for Python 3.3.
+
+- Avoid building the C extension explicitly (use the "feature" indirection
+  instead).  https://bugs.launchpad.net/zope.hookable/+bug/1025470
+
+4.0.0 (2012-06-04)
+==================
+
+- Add support for PyPy.
+
+- Add support for continuous integration using ``tox`` and ``jenkins``.
+
+- Add a pure-Python reference implementation.
+
+- Move doctests to Sphinx documentation.
+
+- Bring unit test coverage to 100%.
+
+- Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
+
+- Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
+  ``nose`` and ``coverage``).
+
+- Drop support for Python 2.4 / 2.5.
+
+- Remove of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
+
+- Add Python 3 support.
+
+3.4.1 (2009-04-05)
+==================
+
+- Update for compatibility with Python 2.6 traceback formats.
+
+- Use Jython-compatible ``bootstrap.py``.
+
+3.4.0 (2007-07-20)
+==================
+
+- Initial release as a separate project.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/README.rst 
new/zope.hookable-5.2/README.rst
--- old/zope.hookable-5.1.0/README.rst  2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/README.rst    2022-09-13 08:35:15.000000000 +0200
@@ -10,8 +10,8 @@
         :target: https://pypi.org/project/zope.hookable/
         :alt: Supported Python versions
 
-.. image:: https://travis-ci.com/zopefoundation/zope.hookable.svg?branch=master
-        :target: https://travis-ci.com/zopefoundation/zope.hookable
+.. image:: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml/badge.svg
+        :target: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml
 
 .. image:: https://readthedocs.org/projects/zopehookable/badge/?version=latest
         :target: https://zopehookable.readthedocs.io/en/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/appveyor.yml 
new/zope.hookable-5.2/appveyor.yml
--- old/zope.hookable-5.1.0/appveyor.yml        2021-07-20 08:09:00.000000000 
+0200
+++ new/zope.hookable-5.2/appveyor.yml  2022-09-13 08:35:15.000000000 +0200
@@ -21,6 +21,12 @@
     - python: 38-x64
     - python: 39
     - python: 39-x64
+    - python: 310
+    - python: 310-x64
+    # `multibuild` cannot install non-final versions as they are not on
+    # ftp.python.org, so we skip Python 3.11 until its final release:
+    # - python: 311
+    # - python: 311-x64
 
 install:
   - "SET PYTHONVERSION=%PYTHON%"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/setup.cfg 
new/zope.hookable-5.2/setup.cfg
--- old/zope.hookable-5.1.0/setup.cfg   2021-07-20 08:09:01.000000000 +0200
+++ new/zope.hookable-5.2/setup.cfg     2022-09-13 08:35:17.649726900 +0200
@@ -14,6 +14,17 @@
        docs/_build/html/_sources/*
        docs/_build/doctest/*
 
+[isort]
+force_single_line = True
+combine_as_imports = True
+sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
+known_third_party = six, docutils, pkg_resources
+known_zope = 
+known_first_party = 
+default_section = ZOPE
+line_length = 79
+lines_after_imports = 2
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/setup.py 
new/zope.hookable-5.2/setup.py
--- old/zope.hookable-5.1.0/setup.py    2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/setup.py      2022-09-13 08:35:15.000000000 +0200
@@ -20,15 +20,13 @@
 """
 import os
 import platform
-
 from distutils.errors import CCompilerError
 from distutils.errors import DistutilsExecError
 from distutils.errors import DistutilsPlatformError
 
-from setuptools import setup
-from setuptools import find_packages
 from setuptools import Extension
-
+from setuptools import find_packages
+from setuptools import setup
 from setuptools.command.build_ext import build_ext
 
 
@@ -87,7 +85,7 @@
 ]
 
 setup(name='zope.hookable',
-      version='5.1.0',
+      version='5.2',
       url='http://github.com/zopefoundation/zope.hookable',
       license='ZPL 2.1',
       description='Zope hookable',
@@ -110,6 +108,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",
           "Framework :: Zope :: 3",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.hookable-5.1.0/src/zope/hookable/tests/test_compile_flags.py 
new/zope.hookable-5.2/src/zope/hookable/tests/test_compile_flags.py
--- old/zope.hookable-5.1.0/src/zope/hookable/tests/test_compile_flags.py       
1970-01-01 01:00:00.000000000 +0100
+++ new/zope.hookable-5.2/src/zope/hookable/tests/test_compile_flags.py 
2022-09-13 08:35:15.000000000 +0200
@@ -0,0 +1,29 @@
+##############################################################################
+#
+# 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.hookable  # 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.hookable-5.1.0/src/zope/hookable/tests/test_hookable.py 
new/zope.hookable-5.2/src/zope/hookable/tests/test_hookable.py
--- old/zope.hookable-5.1.0/src/zope/hookable/tests/test_hookable.py    
2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/src/zope/hookable/tests/test_hookable.py      
2022-09-13 08:35:15.000000000 +0200
@@ -38,7 +38,8 @@
 class HookableMixin(object):
 
     def _callFUT(self, *args, **kw):
-        from zope.hookable import hookable, _py_hookable
+        from zope.hookable import _py_hookable
+        from zope.hookable import hookable
         if hookable is _py_hookable:
             raise unittest.SkipTest("Hookable and PyHookable are the same")
         return hookable(*args, **kw)  # pragma: no cover
@@ -48,8 +49,10 @@
                       unittest.TestCase):
 
     def test_pure_python(self):
-        from zope.hookable import _PURE_PYTHON, hookable
-        from zope.hookable import _py_hookable, _c_hookable
+        from zope.hookable import _PURE_PYTHON
+        from zope.hookable import _c_hookable
+        from zope.hookable import _py_hookable
+        from zope.hookable import hookable
         self.assertIs(hookable, _py_hookable if _PURE_PYTHON else _c_hookable)
 
     def test_before_hook(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.hookable-5.1.0/src/zope.hookable.egg-info/PKG-INFO 
new/zope.hookable-5.2/src/zope.hookable.egg-info/PKG-INFO
--- old/zope.hookable-5.1.0/src/zope.hookable.egg-info/PKG-INFO 2021-07-20 
08:09:01.000000000 +0200
+++ new/zope.hookable-5.2/src/zope.hookable.egg-info/PKG-INFO   2022-09-13 
08:35:16.000000000 +0200
@@ -1,154 +1,11 @@
 Metadata-Version: 2.1
 Name: zope.hookable
-Version: 5.1.0
+Version: 5.2
 Summary: Zope hookable
 Home-page: http://github.com/zopefoundation/zope.hookable
 Author: Zope Foundation and Contributors
 Author-email: [email protected]
 License: ZPL 2.1
-Description: ===============
-         zope.hookable
-        ===============
-        
-        .. image:: https://img.shields.io/pypi/v/zope.hookable.svg
-                :target: https://pypi.python.org/pypi/zope.hookable/
-                :alt: Latest release
-        
-        .. image:: https://img.shields.io/pypi/pyversions/zope.hookable.svg
-                :target: https://pypi.org/project/zope.hookable/
-                :alt: Supported Python versions
-        
-        .. image:: 
https://travis-ci.com/zopefoundation/zope.hookable.svg?branch=master
-                :target: https://travis-ci.com/zopefoundation/zope.hookable
-        
-        .. image:: 
https://readthedocs.org/projects/zopehookable/badge/?version=latest
-                :target: https://zopehookable.readthedocs.io/en/latest/
-                :alt: Documentation Status
-        
-        .. image:: 
https://coveralls.io/repos/github/zopefoundation/zope.hookable/badge.svg?branch=master
-                :target: 
https://coveralls.io/github/zopefoundation/zope.hookable?branch=master
-        
-        
-        This package supports the efficient creation of "hookable" objects, 
which
-        are callable objects that are meant to be optionally replaced.
-        
-        The idea is that you create a function that does some default thing 
and make it
-        hookable. Later, someone can modify what it does by calling its 
sethook method
-        and changing its implementation.  All users of the function, including 
those
-        that imported it, will see the change.
-        
-        Documentation is hosted at https://zopehookable.readthedocs.io
-        
-        
-        =========
-         Changes
-        =========
-        
-        5.1.0 (2021-07-20)
-        ==================
-        
-        - Add support for Python 3.9.
-        
-        - Create Linux aarch64 wheels.
-        
-        
-        5.0.1 (2020-03-10)
-        ==================
-        
-        - Stop using the setuptools ``Feature`` class, allowing this
-          project to be built from source with newer versions of setuptools
-          that remove that functionality.
-        
-        
-        5.0.0 (2019-11-12)
-        ==================
-        
-        - Add support for Python 3.7 and 3.8.
-        
-        - Drop support for Python 3.4.
-        
-        
-        4.2.0 (2017-11-07)
-        ==================
-        
-        - Expose the ``__doc__`` (and, where applicable, ``__bases__`` and
-          ``__dict__``) of the hooked object. This lets Sphinx document them.
-          See `issue 6 
<https://github.com/zopefoundation/zope.hookable/issues/6>`_.
-        
-        - Respect ``PURE_PYTHON`` at runtime. At build time, always try to
-          build the C extensions on supported platforms, but allow it to fail.
-          See `issue 7
-          <https://github.com/zopefoundation/zope.hookable/issues/7>`_.
-        
-        
-        4.1.0 (2017-07-26)
-        ==================
-        
-        - Drop support for Python 2.6, 3.2 and 3.3.
-        
-        - Add support for Python 3.5 and 3.6.
-        
-        4.0.4 (2014-03-19)
-        ==================
-        
-        - Add support for Python 3.4.
-        
-        4.0.3 (2014-03-17)
-        ==================
-        
-        - Update ``boostrap.py`` to version 2.2.
-        
-        - Fix extension compilation on Py3k.
-        
-        4.0.2 (2012-12-31)
-        ==================
-        
-        - Flesh out PyPI Trove classifiers.
-        
-        4.0.1 (2012-11-21)
-        ==================
-        
-        - Add support for Python 3.3.
-        
-        - Avoid building the C extension explicitly (use the "feature" 
indirection
-          instead).  https://bugs.launchpad.net/zope.hookable/+bug/1025470
-        
-        4.0.0 (2012-06-04)
-        ==================
-        
-        - Add support for PyPy.
-        
-        - Add support for continuous integration using ``tox`` and ``jenkins``.
-        
-        - Add a pure-Python reference implementation.
-        
-        - Move doctests to Sphinx documentation.
-        
-        - Bring unit test coverage to 100%.
-        
-        - Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-        
-        - Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
-          ``nose`` and ``coverage``).
-        
-        - Drop support for Python 2.4 / 2.5.
-        
-        - Remove of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-        
-        - Add Python 3 support.
-        
-        3.4.1 (2009-04-05)
-        ==================
-        
-        - Update for compatibility with Python 2.6 traceback formats.
-        
-        - Use Jython-compatible ``bootstrap.py``.
-        
-        3.4.0 (2007-07-20)
-        ==================
-        
-        - Initial release as a separate project.
-        
 Keywords: function hook replacement loose coupled
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -164,6 +21,7 @@
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Framework :: Zope :: 3
@@ -172,3 +30,158 @@
 Provides-Extra: docs
 Provides-Extra: testing
 Provides-Extra: test
+License-File: LICENSE.txt
+
+===============
+ zope.hookable
+===============
+
+.. image:: https://img.shields.io/pypi/v/zope.hookable.svg
+        :target: https://pypi.python.org/pypi/zope.hookable/
+        :alt: Latest release
+
+.. image:: https://img.shields.io/pypi/pyversions/zope.hookable.svg
+        :target: https://pypi.org/project/zope.hookable/
+        :alt: Supported Python versions
+
+.. image:: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml/badge.svg
+        :target: 
https://github.com/zopefoundation/zope.hookable/actions/workflows/tests.yml
+
+.. image:: https://readthedocs.org/projects/zopehookable/badge/?version=latest
+        :target: https://zopehookable.readthedocs.io/en/latest/
+        :alt: Documentation Status
+
+.. image:: 
https://coveralls.io/repos/github/zopefoundation/zope.hookable/badge.svg?branch=master
+        :target: 
https://coveralls.io/github/zopefoundation/zope.hookable?branch=master
+
+
+This package supports the efficient creation of "hookable" objects, which
+are callable objects that are meant to be optionally replaced.
+
+The idea is that you create a function that does some default thing and make it
+hookable. Later, someone can modify what it does by calling its sethook method
+and changing its implementation.  All users of the function, including those
+that imported it, will see the change.
+
+Documentation is hosted at https://zopehookable.readthedocs.io
+
+
+=========
+ Changes
+=========
+
+5.2 (2022-09-13)
+================
+
+- Add support for Python 3.10 and 3.11 (as of 3.11.0rc1).
+
+- Disable unsafe math optimizations in C code.  See `pull request 25
+  <https://github.com/zopefoundation/zope.hookable/pull/25>`_.
+
+
+5.1.0 (2021-07-20)
+==================
+
+- Add support for Python 3.9.
+
+- Create Linux aarch64 wheels.
+
+
+5.0.1 (2020-03-10)
+==================
+
+- Stop using the setuptools ``Feature`` class, allowing this
+  project to be built from source with newer versions of setuptools
+  that remove that functionality.
+
+
+5.0.0 (2019-11-12)
+==================
+
+- Add support for Python 3.7 and 3.8.
+
+- Drop support for Python 3.4.
+
+
+4.2.0 (2017-11-07)
+==================
+
+- Expose the ``__doc__`` (and, where applicable, ``__bases__`` and
+  ``__dict__``) of the hooked object. This lets Sphinx document them.
+  See `issue 6 <https://github.com/zopefoundation/zope.hookable/issues/6>`_.
+
+- Respect ``PURE_PYTHON`` at runtime. At build time, always try to
+  build the C extensions on supported platforms, but allow it to fail.
+  See `issue 7
+  <https://github.com/zopefoundation/zope.hookable/issues/7>`_.
+
+
+4.1.0 (2017-07-26)
+==================
+
+- Drop support for Python 2.6, 3.2 and 3.3.
+
+- Add support for Python 3.5 and 3.6.
+
+4.0.4 (2014-03-19)
+==================
+
+- Add support for Python 3.4.
+
+4.0.3 (2014-03-17)
+==================
+
+- Update ``boostrap.py`` to version 2.2.
+
+- Fix extension compilation on Py3k.
+
+4.0.2 (2012-12-31)
+==================
+
+- Flesh out PyPI Trove classifiers.
+
+4.0.1 (2012-11-21)
+==================
+
+- Add support for Python 3.3.
+
+- Avoid building the C extension explicitly (use the "feature" indirection
+  instead).  https://bugs.launchpad.net/zope.hookable/+bug/1025470
+
+4.0.0 (2012-06-04)
+==================
+
+- Add support for PyPy.
+
+- Add support for continuous integration using ``tox`` and ``jenkins``.
+
+- Add a pure-Python reference implementation.
+
+- Move doctests to Sphinx documentation.
+
+- Bring unit test coverage to 100%.
+
+- Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
+
+- Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
+  ``nose`` and ``coverage``).
+
+- Drop support for Python 2.4 / 2.5.
+
+- Remove of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
+
+- Add Python 3 support.
+
+3.4.1 (2009-04-05)
+==================
+
+- Update for compatibility with Python 2.6 traceback formats.
+
+- Use Jython-compatible ``bootstrap.py``.
+
+3.4.0 (2007-07-20)
+==================
+
+- Initial release as a separate project.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.hookable-5.1.0/src/zope.hookable.egg-info/SOURCES.txt 
new/zope.hookable-5.2/src/zope.hookable.egg-info/SOURCES.txt
--- old/zope.hookable-5.1.0/src/zope.hookable.egg-info/SOURCES.txt      
2021-07-20 08:09:01.000000000 +0200
+++ new/zope.hookable-5.2/src/zope.hookable.egg-info/SOURCES.txt        
2022-09-13 08:35:17.000000000 +0200
@@ -2,6 +2,7 @@
 .manylinux-install.sh
 .manylinux.sh
 CHANGES.rst
+CONTRIBUTING.md
 COPYRIGHT.txt
 LICENSE.txt
 MANIFEST.in
@@ -29,4 +30,5 @@
 src/zope/hookable/__init__.py
 src/zope/hookable/_zope_hookable.c
 src/zope/hookable/tests/__init__.py
+src/zope/hookable/tests/test_compile_flags.py
 src/zope/hookable/tests/test_hookable.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.hookable-5.1.0/tox.ini 
new/zope.hookable-5.2/tox.ini
--- old/zope.hookable-5.1.0/tox.ini     2021-07-20 08:09:00.000000000 +0200
+++ new/zope.hookable-5.2/tox.ini       2022-09-13 08:35:15.000000000 +0200
@@ -10,6 +10,8 @@
     py37,py37-pure
     py38,py38-pure
     py39,py39-pure
+    py310,py310-pure
+    py311,py311-pure
     pypy
     pypy3
     docs
@@ -17,9 +19,9 @@
 
 [testenv]
 usedevelop = true
+pip_pre = py311: true
 deps =
-    # Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
-    Sphinx < 4
+    Sphinx
 setenv =
     pure: PURE_PYTHON=1
     !pure-!pypy-!pypy3: PURE_PYTHON=0
@@ -47,20 +49,29 @@
 [testenv:lint]
 basepython = python3
 skip_install = true
-deps =
-    flake8
-    check-manifest
-    check-python-versions
 commands =
+    isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
     flake8 src setup.py
     check-manifest
     check-python-versions
+deps =
+    check-manifest
+    check-python-versions >= 0.19.1
+    wheel
+    flake8
+    isort
+
+[testenv:isort-apply]
+basepython = python3
+commands_pre =
+deps =
+    isort
+commands =
+    isort {toxinidir}/src {toxinidir}/setup.py []
 
 [testenv:docs]
 basepython = python3
 skip_install = false
-# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
-deps = Sphinx < 4
 commands_pre =
 commands =
     sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html

Reply via email to