Hello community,

here is the log from the commit of package python-zope.interface for 
openSUSE:Factory checked in at 2018-08-31 09:51:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.interface (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.interface.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.interface"

Fri Aug 31 09:51:30 2018 rev:20 rq:631966 version:4.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-zope.interface/python-zope.interface.changes  
    2017-06-28 10:32:26.348034638 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zope.interface.new/python-zope.interface.changes
 2018-08-31 09:51:31.333544030 +0200
@@ -1,0 +2,9 @@
+Tue Aug 28 11:29:16 UTC 2018 - [email protected]
+
+- Version update to 4.5.0:
+  * Allow registering and unregistering instance methods as listeners. See 
issue 12 and PR 102.
+  * Synchronize and simplify zope/__init__.py. See issue 114
+  * Avoid exceptions when the __annotations__ attribute is added to interface 
definitions with Python 3.x type hints. See issue 98.
+  * Fix the possibility of a rare crash in the C extension when deallocating 
items. See issue 100.
+
+-------------------------------------------------------------------

Old:
----
  zope.interface-4.4.2.tar.gz

New:
----
  zope.interface-4.5.0.tar.gz

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

Other differences:
------------------
++++++ python-zope.interface.spec ++++++
--- /var/tmp/diff_new_pack.7YMDP8/_old  2018-08-31 09:51:31.857545348 +0200
+++ /var/tmp/diff_new_pack.7YMDP8/_new  2018-08-31 09:51:31.857545348 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zope.interface
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,38 +17,29 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
-Name:           python-zope.interface
 %global modname zope.interface
-Version:        4.4.2
+%define oldpython python
+Name:           python-zope.interface
+Version:        4.5.0
 Release:        0
-Url:            http://pypi.python.org/pypi/%{modname}
 Summary:        Interfaces for Python
 License:        ZPL-2.1
 Group:          Development/Languages/Python
-Source:         
https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  fdupes
-# Testing requirements:
+URL:            http://pypi.python.org/pypi/zope.interface
+Source:         
https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module zope.event}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-
-%define oldpython python
 %ifpython2
 Provides:       %{oldpython}-zopeinterface = %{version}
 Obsoletes:      %{oldpython}-zopeinterface < %{version}
 Provides:       %{oldpython}-zope-interface = %{version}
 Obsoletes:      %{oldpython}-zope-interface < %{version}
 %endif
-
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
-
 %python_subpackages
 
 %description
@@ -75,8 +66,8 @@
 %python_exec setup.py test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
+%license LICENSE.txt COPYRIGHT.txt
+%doc CHANGES.rst README.rst
 %{python_sitearch}/*
 
 %changelog

++++++ zope.interface-4.4.2.tar.gz -> zope.interface-4.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/.gitignore 
new/zope.interface-4.5.0/.gitignore
--- old/zope.interface-4.4.2/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/zope.interface-4.5.0/.gitignore 2018-04-19 08:24:44.000000000 +0200
@@ -0,0 +1,18 @@
+*.egg-info
+*.pyc
+*.so
+__pycache__
+.coverage
+.coverage.*
+.installed.cfg
+nosetests.xml
+coverage.xml
+.eggs/
+.tox/
+bin/
+build/
+eggs/
+develop-eggs/
+docs/_build/
+parts/
+htmlcov/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/.manylinux-install.sh 
new/zope.interface-4.5.0/.manylinux-install.sh
--- old/zope.interface-4.4.2/.manylinux-install.sh      1970-01-01 
01:00:00.000000000 +0100
+++ new/zope.interface-4.5.0/.manylinux-install.sh      2018-04-19 
08:24:44.000000000 +0200
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+set -e -x
+
+# Compile wheels
+for PYBIN in /opt/python/*/bin; do
+    if [[ "${PYBIN}" == *"cp27"* ]] || \
+       [[ "${PYBIN}" == *"cp34"* ]] || \
+       [[ "${PYBIN}" == *"cp35"* ]] || \
+       [[ "${PYBIN}" == *"cp36"* ]]; then
+        "${PYBIN}/pip" install -e /io/
+        "${PYBIN}/pip" wheel /io/ -w wheelhouse/
+          rm -rf /io/build /io/*.egg-info
+    fi
+done
+
+# Bundle external shared libraries into the wheels
+for whl in wheelhouse/zope.interface*.whl; do
+    auditwheel repair "$whl" -w /io/wheelhouse/
+done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/.manylinux.sh 
new/zope.interface-4.5.0/.manylinux.sh
--- old/zope.interface-4.4.2/.manylinux.sh      1970-01-01 01:00:00.000000000 
+0100
+++ new/zope.interface-4.5.0/.manylinux.sh      2018-04-19 08:24:44.000000000 
+0200
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -e -x
+
+docker pull $DOCKER_IMAGE
+
+docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/.manylinux-install.sh
+
+pip install twine && twine upload -u zope.wheelbuilder -p $PYPIPASSWORD 
wheelhouse/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/.travis.yml 
new/zope.interface-4.5.0/.travis.yml
--- old/zope.interface-4.4.2/.travis.yml        1970-01-01 01:00:00.000000000 
+0100
+++ new/zope.interface-4.5.0/.travis.yml        2018-04-19 08:24:44.000000000 
+0200
@@ -0,0 +1,76 @@
+language: python
+sudo: false
+matrix:
+    include:
+        - os: linux
+          python: 2.7
+        - os: linux
+          python: 3.4
+        - os: linux
+          python: 3.5
+        - os: linux
+          python: 3.6
+        - os: linux
+          python: pypy
+        - os: linux
+          python: pypy3
+        # It's important to use 'macpython' builds to get the least
+        # restrictive wheel tag. It's also important to avoid
+        # 'homebrew 3' because it floats instead of being a specific version.
+        - os: osx
+          language: generic
+          env: TERRYFY_PYTHON='macpython 2.7'
+        - os: osx
+          language: generic
+          env: TERRYFY_PYTHON='macpython 3.4'
+        - os: osx
+          language: generic
+          env: TERRYFY_PYTHON='macpython 3.5'
+        - os: osx
+          language: generic
+          env: TERRYFY_PYTHON='macpython 3.6.0'
+        - services:
+            - docker
+          env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
+          before_install:
+            - if [[ $TRAVIS_TAG ]]; then bash .manylinux.sh; fi
+            - exit 0
+        - services:
+            - docker
+          env:
+            - DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
+            - PRE_CMD=linux32
+          before_install:
+            - if [[ $TRAVIS_TAG ]]; then bash .manylinux.sh; fi
+            - exit 0
+before_install:
+    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone 
https://github.com/MacPython/terryfy; fi
+    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source 
terryfy/travis_tools.sh; fi
+    - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment 
$TERRYFY_PYTHON venv; fi
+install:
+  - pip install -U pip setuptools
+  - pip install -U coveralls coverage
+  - pip install -U -e ".[test]"
+script:
+    - coverage run setup.py test -q
+notifications:
+    email: false
+after_success:
+    - coveralls
+    - echo [distutils]                                  > ~/.pypirc
+    - echo index-servers = pypi                        >> ~/.pypirc
+    - echo [pypi]                                      >> ~/.pypirc
+    - echo username=zope.wheelbuilder                  >> ~/.pypirc
+    - echo password=$PYPIPASSWORD                      >> ~/.pypirc
+    - if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then pip install 
twine; fi
+    - if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then python setup.py 
bdist_wheel; fi
+    - if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then twine upload 
dist/*; fi
+
+env:
+    global:
+        secure: 
"CeOq8/6F8IlbRpKEk2z3RPD/q5cBCPXGOUgjYryG/c+7P6SCTxaTKfxiJPqT3sGgO8x/HcJVuvZghyqCPvysk3cbnq4SiMtI1S0hS/N3DFsGZHn25YQBipAYjA4YDUb6GqCpsSUIXdbGMEzG7DOSB6c+49+//wkjbBFHmPNWvMQ="
+
+cache: pip
+
+before_cache:
+  - rm -f $HOME/.cache/pip/log/debug.log
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/CHANGES.rst 
new/zope.interface-4.5.0/CHANGES.rst
--- old/zope.interface-4.4.2/CHANGES.rst        2017-06-15 00:29:36.000000000 
+0200
+++ new/zope.interface-4.5.0/CHANGES.rst        2018-04-19 08:24:44.000000000 
+0200
@@ -1,6 +1,29 @@
 Changes
 =======
 
+4.5.0 (2018-04-19)
+------------------
+
+- Drop support for 3.3, avoid accidental dependence breakage via setup.py.
+  See `PR 110 <https://github.com/zopefoundation/zope.interface/pull/110>`_.
+- Allow registering and unregistering instance methods as listeners.
+  See `issue 12 <https://github.com/zopefoundation/zope.interface/issues/12>`_
+  and `PR 102 <https://github.com/zopefoundation/zope.interface/pull/102>`_.
+- Synchronize and simplify zope/__init__.py. See `issue 114
+  <https://github.com/zopefoundation/zope.interface/issues/114>`_
+
+
+4.4.3 (2017-09-22)
+------------------
+
+- Avoid exceptions when the ``__annotations__`` attribute is added to
+  interface definitions with Python 3.x type hints. See `issue 98
+  <https://github.com/zopefoundation/zope.interface/issues/98>`_.
+- Fix the possibility of a rare crash in the C extension when
+  deallocating items. See `issue 100
+  <https://github.com/zopefoundation/zope.interface/issues/100>`_.
+
+
 4.4.2 (2017-06-14)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/MANIFEST.in 
new/zope.interface-4.5.0/MANIFEST.in
--- old/zope.interface-4.4.2/MANIFEST.in        2017-06-15 00:29:36.000000000 
+0200
+++ new/zope.interface-4.5.0/MANIFEST.in        2018-04-19 08:24:44.000000000 
+0200
@@ -1,6 +1,7 @@
 include *.rst
 include *.txt
 include *.py
+include *.sh
 include .coveragerc
 include build.cmd
 include buildout.cfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/PKG-INFO 
new/zope.interface-4.5.0/PKG-INFO
--- old/zope.interface-4.4.2/PKG-INFO   2017-06-15 00:29:37.000000000 +0200
+++ new/zope.interface-4.5.0/PKG-INFO   2018-04-19 08:24:45.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: zope.interface
-Version: 4.4.2
+Version: 4.5.0
 Summary: Interfaces for Python
 Home-page: https://github.com/zopefoundation/zope.interface
 Author: Zope Foundation and Contributors
@@ -13,7 +13,11 @@
             :target: https://pypi.python.org/pypi/zope.interface/
             :alt: Latest Version
         
-        .. image:: 
https://travis-ci.org/zopefoundation/zope.interface.png?branch=master
+        .. image:: https://img.shields.io/pypi/pyversions/zope.interface.svg
+                :target: https://pypi.org/project/zope.interface/
+                :alt: Supported Python versions
+        
+        .. image:: 
https://travis-ci.org/zopefoundation/zope.interface.svg?branch=master
                 :target: https://travis-ci.org/zopefoundation/zope.interface
         
         .. image:: 
https://readthedocs.org/projects/zopeinterface/badge/?version=latest
@@ -22,7 +26,7 @@
         
         This package is intended to be independently reusable in any Python
         project. It is maintained by the `Zope Toolkit project
-        <http://docs.zope.org/zopetoolkit/>`_.
+        <https://zopetoolkit.readthedocs.io/>`_.
         
         This package provides an implementation of "object interfaces" for 
Python.
         Interfaces are a mechanism for labeling objects as conforming to a 
given
@@ -36,6 +40,29 @@
         Changes
         =======
         
+        4.5.0 (2018-04-19)
+        ------------------
+        
+        - Drop support for 3.3, avoid accidental dependence breakage via 
setup.py.
+          See `PR 110 
<https://github.com/zopefoundation/zope.interface/pull/110>`_.
+        - Allow registering and unregistering instance methods as listeners.
+          See `issue 12 
<https://github.com/zopefoundation/zope.interface/issues/12>`_
+          and `PR 102 
<https://github.com/zopefoundation/zope.interface/pull/102>`_.
+        - Synchronize and simplify zope/__init__.py. See `issue 114
+          <https://github.com/zopefoundation/zope.interface/issues/114>`_
+        
+        
+        4.4.3 (2017-09-22)
+        ------------------
+        
+        - Avoid exceptions when the ``__annotations__`` attribute is added to
+          interface definitions with Python 3.x type hints. See `issue 98
+          <https://github.com/zopefoundation/zope.interface/issues/98>`_.
+        - Fix the possibility of a rare crash in the C extension when
+          deallocating items. See `issue 100
+          <https://github.com/zopefoundation/zope.interface/issues/100>`_.
+        
+        
         4.4.2 (2017-06-14)
         ------------------
         
@@ -538,7 +565,6 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
@@ -546,3 +572,7 @@
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Framework :: Zope3
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Provides-Extra: test
+Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/README.rst 
new/zope.interface-4.5.0/README.rst
--- old/zope.interface-4.4.2/README.rst 2017-06-15 00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/README.rst 2018-04-19 08:24:44.000000000 +0200
@@ -5,7 +5,11 @@
     :target: https://pypi.python.org/pypi/zope.interface/
     :alt: Latest Version
 
-.. image:: 
https://travis-ci.org/zopefoundation/zope.interface.png?branch=master
+.. image:: https://img.shields.io/pypi/pyversions/zope.interface.svg
+        :target: https://pypi.org/project/zope.interface/
+        :alt: Supported Python versions
+
+.. image:: 
https://travis-ci.org/zopefoundation/zope.interface.svg?branch=master
         :target: https://travis-ci.org/zopefoundation/zope.interface
 
 .. image:: https://readthedocs.org/projects/zopeinterface/badge/?version=latest
@@ -14,7 +18,7 @@
 
 This package is intended to be independently reusable in any Python
 project. It is maintained by the `Zope Toolkit project
-<http://docs.zope.org/zopetoolkit/>`_.
+<https://zopetoolkit.readthedocs.io/>`_.
 
 This package provides an implementation of "object interfaces" for Python.
 Interfaces are a mechanism for labeling objects as conforming to a given
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/docs/changes.rst 
new/zope.interface-4.5.0/docs/changes.rst
--- old/zope.interface-4.4.2/docs/changes.rst   1970-01-01 01:00:00.000000000 
+0100
+++ new/zope.interface-4.5.0/docs/changes.rst   2018-04-19 08:24:44.000000000 
+0200
@@ -0,0 +1 @@
+.. include:: ../CHANGES.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/docs/conf.py 
new/zope.interface-4.5.0/docs/conf.py
--- old/zope.interface-4.4.2/docs/conf.py       2017-06-15 00:29:36.000000000 
+0200
+++ new/zope.interface-4.5.0/docs/conf.py       2018-04-19 08:24:44.000000000 
+0200
@@ -8,10 +8,15 @@
 # Note that not all possible configuration values are present in this
 # autogenerated file.
 #
+import sys, os
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
-import sys, os
+import sys
+import os
+import pkg_resources
+sys.path.append(os.path.abspath('../src'))
+rqmt = pkg_resources.require('zope.interface')[0]
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -49,16 +54,16 @@
 
 # General information about the project.
 project = 'zope.interface'
-copyright = '2012, Zope Foundation contributors'
+copyright = '2012-2017, Zope Foundation contributors'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '4.3'
+version = '%s.%s' % tuple(map(int, rqmt.version.split('.')[:2]))
 # The full version, including alpha/beta/rc tags.
-release = '4.3.4'
+release = rqmt.version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -188,6 +193,10 @@
 #'preamble': '',
 }
 
+# pdflatex can't handle Cyrillic out of the box, but xetext/lualatex should be
+# able to cope
+latex_engine = 'lualatex'
+
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass 
[howto/manual]).
 latex_documents = [
@@ -251,4 +260,4 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'https://docs.python.org/': None}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/docs/hacking.rst 
new/zope.interface-4.5.0/docs/hacking.rst
--- old/zope.interface-4.4.2/docs/hacking.rst   2017-06-15 00:29:36.000000000 
+0200
+++ new/zope.interface-4.5.0/docs/hacking.rst   2018-04-19 08:24:44.000000000 
+0200
@@ -212,10 +212,9 @@
 :mod:`zope.interface` configures the following :mod:`tox` environments via
 its ``tox.ini`` file:
 
-- The ``py26``, ``py27``, ``py33``, ``py34``, and ``pypy`` environments
-  builds a ``virtualenv`` with ``pypy``,
-  installs :mod:`zope.interface` and dependencies, and runs the tests
-  via ``python setup.py test -q``.
+- The defined Python environments build a ``virtualenv`` with various Python 2,
+  Python 3, PyPy 2 and PyPy 3 versions, install :mod:`zope.interface` and
+  dependencies, and run the tests via ``python setup.py test -q``.
 
 - The ``coverage`` environment builds a ``virtualenv`` with ``python2.7``,
   installs :mod:`zope.interface` and dependencies, installs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/docs/index.rst 
new/zope.interface-4.5.0/docs/index.rst
--- old/zope.interface-4.4.2/docs/index.rst     2017-06-15 00:29:36.000000000 
+0200
+++ new/zope.interface-4.5.0/docs/index.rst     2018-04-19 08:24:44.000000000 
+0200
@@ -18,6 +18,7 @@
    foodforthought
    api
    hacking
+   changes
 
 По-русски
 =========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/setup.py 
new/zope.interface-4.5.0/setup.py
--- old/zope.interface-4.4.2/setup.py   2017-06-15 00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/setup.py   2018-04-19 08:24:44.000000000 +0200
@@ -97,7 +97,7 @@
         )
 
 setup(name='zope.interface',
-      version='4.4.2',
+      version='4.5.0',
       url='https://github.com/zopefoundation/zope.interface',
       license='ZPL 2.1',
       description='Interfaces for Python',
@@ -113,7 +113,6 @@
         "Programming Language :: Python :: 2",
         "Programming Language :: Python :: 2.7",
         "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.3",
         "Programming Language :: Python :: 3.4",
         "Programming Language :: Python :: 3.5",
         "Programming Language :: Python :: 3.6",
@@ -133,6 +132,13 @@
       zip_safe=False,
       tests_require=tests_require,
       install_requires=['setuptools'],
+      python_requires=', '.join((
+          '>=2.7',
+          '!=3.0.*',
+          '!=3.1.*',
+          '!=3.2.*',
+          '!=3.3.*',
+          )),
       extras_require={
           'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
           'test': tests_require,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/src/zope/__init__.py 
new/zope.interface-4.5.0/src/zope/__init__.py
--- old/zope.interface-4.4.2/src/zope/__init__.py       2017-06-15 
00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope/__init__.py       2018-04-19 
08:24:44.000000000 +0200
@@ -1,7 +1 @@
-# this is a namespace package
-try:
-    import pkg_resources
-    pkg_resources.declare_namespace(__name__)
-except ImportError:
-    import pkgutil
-    __path__ = pkgutil.extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.interface-4.4.2/src/zope/interface/_zope_interface_coptimizations.c 
new/zope.interface-4.5.0/src/zope/interface/_zope_interface_coptimizations.c
--- 
old/zope.interface-4.4.2/src/zope/interface/_zope_interface_coptimizations.c    
    2017-06-15 00:29:36.000000000 +0200
+++ 
new/zope.interface-4.5.0/src/zope/interface/_zope_interface_coptimizations.c    
    2018-04-19 08:24:44.000000000 +0200
@@ -769,6 +769,7 @@
 static void
 lookup_dealloc(lookup *self)
 {
+  PyObject_GC_UnTrack((PyObject *)self);
   lookup_clear(self);
   Py_TYPE(self)->tp_free((PyObject*)self);
 }
@@ -1335,6 +1336,7 @@
 static void
 verifying_dealloc(verify *self)
 {
+  PyObject_GC_UnTrack((PyObject *)self);       
   verifying_clear(self);
   Py_TYPE(self)->tp_free((PyObject*)self);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/src/zope/interface/adapter.py 
new/zope.interface-4.5.0/src/zope/interface/adapter.py
--- old/zope.interface-4.4.2/src/zope/interface/adapter.py      2017-06-15 
00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope/interface/adapter.py      2018-04-19 
08:24:44.000000000 +0200
@@ -257,7 +257,7 @@
         if value is None:
             new = ()
         else:
-            new = tuple([v for v in old if v is not value])
+            new = tuple([v for v in old if v != value])
 
         if new == old:
             return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/src/zope/interface/interface.py 
new/zope.interface-4.5.0/src/zope/interface/interface.py
--- old/zope.interface-4.4.2/src/zope/interface/interface.py    2017-06-15 
00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope/interface/interface.py    2018-04-19 
08:24:44.000000000 +0200
@@ -352,9 +352,10 @@
         # Make sure that all recorded attributes (and methods) are of type
         # `Attribute` and `Method`
         for name, attr in list(attrs.items()):
-            if name in ('__locals__', '__qualname__'):
+            if name in ('__locals__', '__qualname__', '__annotations__'):
                 # __locals__: Python 3 sometimes adds this.
                 # __qualname__: PEP 3155 (Python 3.3+)
+                # __annotations__: PEP 3107 (Python 3.0+)
                 del attrs[name]
                 continue
             if isinstance(attr, Attribute):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.interface-4.4.2/src/zope/interface/tests/test_adapter.py 
new/zope.interface-4.5.0/src/zope/interface/tests/test_adapter.py
--- old/zope.interface-4.4.2/src/zope/interface/tests/test_adapter.py   
2017-06-15 00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope/interface/tests/test_adapter.py   
2018-04-19 08:24:44.000000000 +0200
@@ -234,6 +234,17 @@
         registry.subscribe([IB1], None, orig)
         registry.unsubscribe([IB1], None, nomatch) #doesn't raise
         self.assertEqual(len(registry._subscribers), 2)
+    
+    def _instance_method_notify_target(self):
+        self.fail("Example method, not intended to be called.")
+    
+    def test_unsubscribe_instance_method(self):
+        IB0, IB1, IB2, IB3, IB4, IF0, IF1, IR0, IR1 = _makeInterfaces()
+        registry = self._makeOne()
+        self.assertEqual(len(registry._subscribers), 0)
+        registry.subscribe([IB1], None, self._instance_method_notify_target)
+        registry.unsubscribe([IB1], None, self._instance_method_notify_target)
+        self.assertEqual(len(registry._subscribers), 0)
 
 
 class LookupBaseFallbackTests(unittest.TestCase):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.interface-4.4.2/src/zope/interface/tests/test_interface.py 
new/zope.interface-4.5.0/src/zope/interface/tests/test_interface.py
--- old/zope.interface-4.4.2/src/zope/interface/tests/test_interface.py 
2017-06-15 00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope/interface/tests/test_interface.py 
2018-04-19 08:24:44.000000000 +0200
@@ -460,6 +460,15 @@
         self.assertEqual(inst.__bases__, ())
         self.assertEqual(inst.names(), ATTRS.keys())
 
+    def test_ctor_attrs_w___annotations__(self):
+        ATTRS = {'__annotations__': {}}
+        klass = self._getTargetClass()
+        inst = klass('ITesting', attrs=ATTRS)
+        self.assertEqual(inst.__name__, 'ITesting')
+        self.assertEqual(inst.__doc__, '')
+        self.assertEqual(inst.__bases__, ())
+        self.assertEqual(inst.names(), ATTRS.keys())
+
     def test_ctor_attrs_w__decorator_non_return(self):
         from zope.interface.interface import _decorator_non_return
         ATTRS = {'dropme': _decorator_non_return}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.interface-4.4.2/src/zope.interface.egg-info/PKG-INFO 
new/zope.interface-4.5.0/src/zope.interface.egg-info/PKG-INFO
--- old/zope.interface-4.4.2/src/zope.interface.egg-info/PKG-INFO       
2017-06-15 00:29:37.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope.interface.egg-info/PKG-INFO       
2018-04-19 08:24:45.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: zope.interface
-Version: 4.4.2
+Version: 4.5.0
 Summary: Interfaces for Python
 Home-page: https://github.com/zopefoundation/zope.interface
 Author: Zope Foundation and Contributors
@@ -13,7 +13,11 @@
             :target: https://pypi.python.org/pypi/zope.interface/
             :alt: Latest Version
         
-        .. image:: 
https://travis-ci.org/zopefoundation/zope.interface.png?branch=master
+        .. image:: https://img.shields.io/pypi/pyversions/zope.interface.svg
+                :target: https://pypi.org/project/zope.interface/
+                :alt: Supported Python versions
+        
+        .. image:: 
https://travis-ci.org/zopefoundation/zope.interface.svg?branch=master
                 :target: https://travis-ci.org/zopefoundation/zope.interface
         
         .. image:: 
https://readthedocs.org/projects/zopeinterface/badge/?version=latest
@@ -22,7 +26,7 @@
         
         This package is intended to be independently reusable in any Python
         project. It is maintained by the `Zope Toolkit project
-        <http://docs.zope.org/zopetoolkit/>`_.
+        <https://zopetoolkit.readthedocs.io/>`_.
         
         This package provides an implementation of "object interfaces" for 
Python.
         Interfaces are a mechanism for labeling objects as conforming to a 
given
@@ -36,6 +40,29 @@
         Changes
         =======
         
+        4.5.0 (2018-04-19)
+        ------------------
+        
+        - Drop support for 3.3, avoid accidental dependence breakage via 
setup.py.
+          See `PR 110 
<https://github.com/zopefoundation/zope.interface/pull/110>`_.
+        - Allow registering and unregistering instance methods as listeners.
+          See `issue 12 
<https://github.com/zopefoundation/zope.interface/issues/12>`_
+          and `PR 102 
<https://github.com/zopefoundation/zope.interface/pull/102>`_.
+        - Synchronize and simplify zope/__init__.py. See `issue 114
+          <https://github.com/zopefoundation/zope.interface/issues/114>`_
+        
+        
+        4.4.3 (2017-09-22)
+        ------------------
+        
+        - Avoid exceptions when the ``__annotations__`` attribute is added to
+          interface definitions with Python 3.x type hints. See `issue 98
+          <https://github.com/zopefoundation/zope.interface/issues/98>`_.
+        - Fix the possibility of a rare crash in the C extension when
+          deallocating items. See `issue 100
+          <https://github.com/zopefoundation/zope.interface/issues/100>`_.
+        
+        
         4.4.2 (2017-06-14)
         ------------------
         
@@ -538,7 +565,6 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
@@ -546,3 +572,7 @@
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Framework :: Zope3
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Provides-Extra: test
+Provides-Extra: docs
+Provides-Extra: testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zope.interface-4.4.2/src/zope.interface.egg-info/SOURCES.txt 
new/zope.interface-4.5.0/src/zope.interface.egg-info/SOURCES.txt
--- old/zope.interface-4.4.2/src/zope.interface.egg-info/SOURCES.txt    
2017-06-15 00:29:37.000000000 +0200
+++ new/zope.interface-4.5.0/src/zope.interface.egg-info/SOURCES.txt    
2018-04-19 08:24:45.000000000 +0200
@@ -1,4 +1,8 @@
 .coveragerc
+.gitignore
+.manylinux-install.sh
+.manylinux.sh
+.travis.yml
 CHANGES.rst
 COPYRIGHT.txt
 LICENSE.txt
@@ -17,6 +21,7 @@
 docs/adapter.rst
 docs/adapter.ru.rst
 docs/api.rst
+docs/changes.rst
 docs/conf.py
 docs/foodforthought.rst
 docs/hacking.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zope.interface-4.4.2/tox.ini 
new/zope.interface-4.5.0/tox.ini
--- old/zope.interface-4.4.2/tox.ini    2017-06-15 00:29:36.000000000 +0200
+++ new/zope.interface-4.5.0/tox.ini    2018-04-19 08:24:44.000000000 +0200
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py27,py27-pure,py33,py34,py34-pure,py35,py36,pypy,pypy3,coverage,docs
+    py27,py27-pure,py34,py34-pure,py35,py36,pypy,pypy3,coverage,docs
 
 [testenv]
 commands =


Reply via email to