Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
zope.interface: Autospec creation for update from version 4.2.0 to ve…
Browse files Browse the repository at this point in the history
…rsion 4.4.3

Forest Gregg (4):
      CI setup for manylinux wheels on tagged commit
      Merge pull request #78 from zopefoundation/manylinux
      cleanup after manylinux wheelbuilding
      Merge pull request #80 from zopefoundation/manylinux27

Jason Madden (31):
      Remove the _u compat function.
      Merge pull request #43 from zopefoundation/literals
      Make declarations.Implements sortable.
      Merge pull request #44 from zopefoundation/comp-implements
      Make setuptools a hard dep of setup.py
      Merge pull request #45 from zopefoundation/setuptools-build
      Use dictionary lookups for testing subscribed status.
      Better naming, and incorporate feedback from @prsephton
      Fix comment.
      Merge pull request #48 from zopefoundation/fix-46
      Support Components subclasses that are not hashable. (#54)
      Fix equality testing of implementedBy objects that have been proxied. Fixes #55.
      Don't redefine METH_KEYWORDS
      Expose IComponent documentation.
      Merge pull request #72 from zopefoundation/issue71
      Merge pull request #73 from zopefoundation/issue70
      Add support for Python 3.6. (#74)
      Test sanity cleanups (#88)
      Enable coveralls (#89)
      100% coverage (#90)
      Fix #85 by implementing __reduce__ to omit _v_ attributes.
      Merge pull request #92 from zopefoundation/issue85-take2-reduce
      Fix the cache getting out of sync with _utility_registrations.
      Enable combined coverage reports under tox and branch coverage
      Merge pull request #94 from zopefoundation/issue93
      cleanups requested by @tseaver: remove assert from _implements since all its callers already do this guard; be more explicit about ClassType in test_odd_declarations
      Merge pull request #95 from zopefoundation/combined-coverage
      Our wheels are *not* universal. Set this explicitly in setup.cfg so that zest.releaser doesn't try to create and upload one.
      Preparing release 4.4.2
      Back to development: 4.4.3
      Add change note. Fixes #100

Jean Jordaan (5):
      Editing while reading: literals, typos, grammar
      Editing while reading, and spell out Require and Provide
      Changelog note
      Make changelog note more informative
      Merge branch 'master' of github.com:zopefoundation/zope.interface

Jim Fulton (7):
      Simply the caching of utility-registration data. In addition to simplification, avoids spurious test failures when checking for leaks in tests with persistent registries.
      typo
      Added some comments to describe the management of _v_utility_registrations_cache
      Merge pull request #84 from zopefoundation/simplify-utility-registrations-cache
      Improve pyroma
      Preparing release 4.4.1
      Back to development: 4.4.2

Marius Gedminas (8):
      Merge pull request #49 from zopefoundation/icemac-patch-1
      Merge pull request #56 from zopefoundation/fix-55
      Preparing release 4.3.2
      Back to development: 4.3.3
      Update zope.wheelbuilder password in appveyor.yml
      Always build wheels and archive them as artifacts
      Merge pull request #103 from y-fujisaki2/patch-1
      Preparing release 4.4.3

Maxim Avanov (1):
      Drop __annotations__ in interface declarations

Michael Howitz (9):
      Use the canonical URL.
      Merge branch 'master' into fix-46
      Match manifest with version control.
      Merge pull request #51 from zopefoundation/icemac-patch-2
      Preparing release 4.3.0
      Back to development: 4.4.0
      Merge pull request #52 from zopefoundation/release-4.3
      Preparing release 4.3.1
      Back to development: 4.4.0

Niels Bom (1):
      Fix sentence in README

Tres Seaver (22):
      svb
      Rotate PyPI password for zope.wheelbuilder.
      Update PyPI password for zope.wheelbuilder on appveyor.
      Fix C optimizations broken on Py3k.
      Add tests asserting that optimzations are / are not present as expected.
      Merge pull request #61 from zopefoundation/60-fix_c_optimizations-py3k
      Ensure that LICENSE.txt is present in built wheels.
      Merge pull request #59 from jean/master
      Merge pull request #64 from zopefoundation/62-ensure-license-file-in-wheel
      Document API for adapter registry.
      Fix docstring summary line for 'unregisterAdapter'.
      Merge pull request #66 from zopefoundation/41-document-adapter-registry-api
      Garden changelog.
      Prep 4.3.3 release.
      svb
      Bump minor version due to new Python version support.
      Prep 4.4.0 release.
      svb
      Show missing lines / branches.
      Raise ValueError if non-text name passed to adapter registry methods.
      Merge pull request #81 from zopefoundation/75-prevent-non-text-name-errors
      Merge pull request #99 from avanov/master

y-fujisaki2 (2):
      Fix process of reference count during GC
      I removed an unnecessary whitespace.

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)
------------------

- Fix a regression storing

(NEWS truncated at 15 lines)
  • Loading branch information
fenrus75 authored and clrbuilder committed Dec 12, 2017
1 parent a9ac7e8 commit 81a6cc0
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 34 deletions.
87 changes: 87 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
<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)
------------------

- Fix a regression storing
``zope.component.persistentregistry.PersistentRegistry`` instances.
See `issue 85 <https://github.com/zopefoundation/zope.interface/issues/85>`_.

- Fix a regression that could lead to the utility registration cache
of ``Components`` getting out of sync. See `issue 93
<https://github.com/zopefoundation/zope.interface/issues/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
<https://github.com/zopefoundation/zope.interface/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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions build_pattern
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
distutils3
6 changes: 4 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
31
32
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8b5f345d257d9d03cd782b9e332fc1c0928928f4/zope.interface-4.2.0.tar.gz
5d25841d8d4c4cce043119351fd9944d38f8422a/zope.interface-4.4.3.tar.gz
1 change: 0 additions & 1 deletion used_libs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
libc.so.6
libpthread.so.0
libpython2.7.so.1.0
libpython3.6m.so.1.0
36 changes: 8 additions & 28 deletions zope.interface.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,21 @@
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
# Source0 file verified with key 0xF2A968348913D1D8 ([email protected])
#
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
Expand All @@ -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
Expand All @@ -59,33 +46,26 @@ 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 ]----

%files
%defattr(-,root,root,-)

%files legacypython
%defattr(-,root,root,-)
/usr/lib/python2*/*

%files python
%defattr(-,root,root,-)

Expand Down

0 comments on commit 81a6cc0

Please sign in to comment.