diff --git a/ChangeLog b/ChangeLog index e8a7ed8..f3ff9ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,93 @@ Changes ======= +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 + `_. +- Fix the possibility of a rare crash in the C extension when + deallocating items. See `issue 100 + `_. + + +4.4.2 (2017-06-14) +------------------ + +- Fix a regression storing + ``zope.component.persistentregistry.PersistentRegistry`` instances. + See `issue 85 `_. + +- Fix a regression that could lead to the utility registration cache + of ``Components`` getting out of sync. See `issue 93 + `_. + +4.4.1 (2017-05-13) +------------------ + +- Simplify the caching of utility-registration data. In addition to + simplification, avoids spurious test failures when checking for + leaks in tests with persistent registries. See `pull 84 + `_. + +- Raise ``ValueError`` when non-text names are passed to adapter registry + methods: prevents corruption of lookup caches. + +4.4.0 (2017-04-21) +------------------ + +- Avoid a warning from the C compiler. + (https://github.com/zopefoundation/zope.interface/issues/71) + +- Add support for Python 3.6. + +4.3.3 (2016-12-13) +------------------ + +- Correct typos and ReST formatting errors in documentation. + +- Add API documentation for the adapter registry. + +- Ensure that the ``LICENSE.txt`` file is included in built wheels. + +- Fix C optimizations broken on Py3k. See the Python bug at: + http://bugs.python.org/issue15657 + (https://github.com/zopefoundation/zope.interface/issues/60) + + +4.3.2 (2016-09-05) +------------------ + +- Fix equality testing of ``implementedBy`` objects and proxies. + (https://github.com/zopefoundation/zope.interface/issues/55) + + +4.3.1 (2016-08-31) +------------------ + +- Support Components subclasses that are not hashable. + (https://github.com/zopefoundation/zope.interface/issues/53) + + +4.3.0 (2016-08-31) +------------------ + +- Add the ability to sort the objects returned by ``implementedBy``. + This is compatible with the way interface classes sort so they can + be used together in ordered containers like BTrees. + (https://github.com/zopefoundation/zope.interface/issues/42) + +- Make ``setuptools`` a hard dependency of ``setup.py``. + (https://github.com/zopefoundation/zope.interface/issues/13) + +- Change a linear algorithm (O(n)) in ``Components.registerUtility`` and + ``Components.unregisterUtility`` into a dictionary lookup (O(1)) for + hashable components. This substantially improves the time taken to + manipulate utilities in large registries at the cost of some + additional memory usage. (https://github.com/zopefoundation/zope.interface/issues/46) + + 4.2.0 (2016-06-10) ------------------ diff --git a/Makefile b/Makefile index 3c4f5f4..0842b54 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := zope.interface -URL = http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz +URL = http://pypi.debian.net/zope.interface/zope.interface-4.4.3.tar.gz include ../common/Makefile.common diff --git a/build_pattern b/build_pattern new file mode 100644 index 0000000..155abb7 --- /dev/null +++ b/build_pattern @@ -0,0 +1 @@ +distutils3 diff --git a/options.conf b/options.conf index b263e3c..1b159fb 100644 --- a/options.conf +++ b/options.conf @@ -1,8 +1,8 @@ [package] name = zope.interface -url = http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz +url = http://pypi.debian.net/zope.interface/zope.interface-4.4.3.tar.gz archives = -giturl = +giturl = https://github.com/zopefoundation/zope.interface.git [autospec] # build 32 bit libraries @@ -11,6 +11,8 @@ giturl = allow_test_failures = false # unset %build ld_as_needed variable asneeded = false +# this package is trusted enough to automatically update (used by other tools) +autoupdate = false # extend flags with '-std=gnu++98 broken_c++ = false # disable parallelization during build diff --git a/release b/release index e85087a..f5c8955 100644 --- a/release +++ b/release @@ -1 +1 @@ -31 +32 diff --git a/upstream b/upstream index c8c6cc7..3971356 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -8b5f345d257d9d03cd782b9e332fc1c0928928f4/zope.interface-4.2.0.tar.gz +5d25841d8d4c4cce043119351fd9944d38f8422a/zope.interface-4.4.3.tar.gz diff --git a/used_libs b/used_libs index efc5a2d..8f7d0b8 100644 --- a/used_libs +++ b/used_libs @@ -1,4 +1,3 @@ libc.so.6 libpthread.so.0 -libpython2.7.so.1.0 libpython3.6m.so.1.0 diff --git a/zope.interface.spec b/zope.interface.spec index acc335e..45063e0 100644 --- a/zope.interface.spec +++ b/zope.interface.spec @@ -2,24 +2,21 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # -# Source0 file verified with key 0xF2A968348913D1D8 (tseaver@palladion.com) -# Name : zope.interface -Version : 4.2.0 -Release : 31 -URL : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz -Source0 : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz -Source99 : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz.asc +Version : 4.4.3 +Release : 32 +URL : http://pypi.debian.net/zope.interface/zope.interface-4.4.3.tar.gz +Source0 : http://pypi.debian.net/zope.interface/zope.interface-4.4.3.tar.gz Summary : Interfaces for Python Group : Development/Tools License : ZPL-2.1 -Requires: zope.interface-legacypython Requires: zope.interface-python3 Requires: zope.interface-python Requires: Sphinx Requires: coverage Requires: nose Requires: setuptools +Requires: zope.event BuildRequires : nose BuildRequires : pbr BuildRequires : pip @@ -30,19 +27,9 @@ BuildRequires : setuptools %description ================== -%package legacypython -Summary: legacypython components for the zope.interface package. -Group: Default -Requires: python-core - -%description legacypython -legacypython components for the zope.interface package. - - %package python Summary: python components for the zope.interface package. Group: Default -Requires: zope.interface-legacypython Requires: zope.interface-python3 %description python @@ -59,22 +46,19 @@ python3 components for the zope.interface package. %prep -%setup -q -n zope.interface-4.2.0 +%setup -q -n zope.interface-4.4.3 %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C -export SOURCE_DATE_EPOCH=1512081932 -python2 setup.py build -b py2 +export SOURCE_DATE_EPOCH=1512997288 python3 setup.py build -b py3 %install -export SOURCE_DATE_EPOCH=1512081932 rm -rf %{buildroot} -python2 -tt setup.py build -b py2 install --root=%{buildroot} --force -python3 -tt setup.py build -b py3 install --root=%{buildroot} --force +python3 -tt setup.py build -b py3 install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- @@ -82,10 +66,6 @@ echo ----[ mark ]---- %files %defattr(-,root,root,-) -%files legacypython -%defattr(-,root,root,-) -/usr/lib/python2*/* - %files python %defattr(-,root,root,-)