14
0
Commit Graph

28 Commits

Author SHA256 Message Date
276da46288 Accepting request 925059 from home:pgajdos:python
- %check: use %pyunittest rpm macro
- added sources
  + _multibuild

OBS-URL: https://build.opensuse.org/request/show/925059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=48
2021-10-16 09:42:23 +00:00
ca0f24278b Accepting request 905596 from home:jacraig:branches:devel:languages:python
- Update to 5.4.0
  * many changes, see CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/905596
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=47
2021-07-12 08:04:42 +00:00
e8136188e9 - Don't switch off python36 build, half of python-* packages depend on it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=45
2021-02-08 07:50:24 +00:00
728cf3e83b Accepting request 868983 from home:gladiac:mailman3
- Update to version 5.2.0
  * Add documentation section ``Persistency and Equality``
  * Create arm64 wheels.
  * Add support for Python 3.9.
- Fix build on tumbleweed

OBS-URL: https://build.opensuse.org/request/show/868983
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=44
2021-02-03 17:12:25 +00:00
Tomáš Chvátal
b4f430de9d - Update to 5.1.0:
* Make @implementer(*iface) and classImplements(cls, *iface) ignore redundant interfaces. If the class already implements an interface through inheritance, it is no longer redeclared specifically for cls. This solves many instances of inconsistent resolution orders, while still allowing the interface to be declared for readability and maintenance purposes. See issue 199.
  * Remove all bare except: statements. Previously, when accessing special attributes such as __provides__, __providedBy__, __class__ and __conform__, this package wrapped such access in a bare except: statement, meaning that many errors could pass silently; typically this would result in a fallback path being taken and sometimes (like with providedBy()) the result would be non-sensical. This is especially true when those attributes are implemented with descriptors. Now, only AttributeError is caught. This makes errors more obvious.
  * In addition, ZODB errors like POSKeyError could now be propagated where previously they would ignored by this package.
  * Require that the second argument (bases) to InterfaceClass is a tuple. This only matters when directly using InterfaceClass to create new interfaces dynamically. Previously, an individual interface was allowed, but did not work correctly. Now it is consistent with type and requires a tuple.
  * Let interfaces define custom __adapt__ methods. This implements the other side of the PEP 246 adaptation protocol: objects being adapted could already implement __conform__ if they know about the interface, and now interfaces can implement __adapt__ if they know about particular objects. There is no performance penalty for interfaces that do not supply custom __adapt__ methods.
  * Make the internal singleton object returned by APIs like implementedBy and directlyProvidedBy for objects that implement or provide no interfaces more immutable. Previously an internal cache could be mutated. See issue 204.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=42
2020-04-14 09:16:42 +00:00
Tomáš Chvátal
81d16fe7be Accepting request 787833 from home:pgajdos:python
- version update to 5.0.1
  * lot of changes, see CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/787833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=40
2020-03-24 15:03:36 +00:00
Tomáš Chvátal
4ee4f808fd Accepting request 785663 from home:pgajdos:python
- version update to 4.7.2
  - Remove deprecated use of setuptools features.  See `issue 30
    <https://github.com/zopefoundation/zope.interface/issues/30>`_.

OBS-URL: https://build.opensuse.org/request/show/785663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=39
2020-03-16 15:14:30 +00:00
051916111e - update to 4.7.1:
* Use Python 3 syntax in the documentation. See issue 119.
  * Drop support for Python 3.4.
  * Fix queryTaggedValue, getTaggedValue, getTaggedValueTags subclass
    inheritance. See PR 144.
  * Add support for Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=37
2019-12-09 05:24:01 +00:00
Tomáš Chvátal
75688dd806 Accepting request 691773 from home:mcalabkova:branches:devel:languages:python
- update to version 4.6.0
  * Add support for Python 3.7
  * Fix verifyObject for class objects with staticmethods on Python 3.

OBS-URL: https://build.opensuse.org/request/show/691773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=35
2019-04-05 11:43:51 +00:00
Tomáš Chvátal
305d324a56 - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=33
2018-12-06 11:45:24 +00:00
Tomáš Chvátal
00cfd8fd3d - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=31
2018-08-28 11:30:45 +00:00
Jan Matejek
2d206b39df Accepting request 504841 from home:okurz:matrix-synapse
Fullly delete doc generation for now to break dependency cycles

OBS-URL: https://build.opensuse.org/request/show/504841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=29
2017-06-21 13:37:24 +00:00
b7432fcf14 - update to 4.3.1:
- Support Components subclasses that are not hashable.
  (https://github.com/zopefoundation/zope.interface/issues/53)
- 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``.
- 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=27
2016-11-15 10:12:53 +00:00
Michal Čihař
74f9ea36cb Accepting request 307325 from home:benoit_monin:branches:devel:languages:python
- update to version 4.1.2
- fix documentation generation
- pass -q to test to avoid spamming the build log

OBS-URL: https://build.opensuse.org/request/show/307325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=25
2015-05-19 07:15:33 +00:00
75ee271d0f Accepting request 249589 from Cloud:OpenStack:Master
New upstream release

OBS-URL: https://build.opensuse.org/request/show/249589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=23
2014-09-16 19:40:56 +00:00
Sascha Peilicke
a30d980400 Accepting request 222500 from home:poorboywilly:branches:devel:languages:python
Update to 4.1.0, update source URL (no .zip available for this version).

OBS-URL: https://build.opensuse.org/request/show/222500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=21
2014-02-17 09:39:51 +00:00
Sascha Peilicke
b4e3040ef8 Accepting request 211458 from openSUSE:Factory:MainDesktops
fix bootstrap issue

OBS-URL: https://build.opensuse.org/request/show/211458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=19
2013-12-19 09:38:41 +00:00
Denisart Benjamin
da91d4c632 Accepting request 185385 from home:frispete:python
- add unzip to BuildRequires

OBS-URL: https://build.opensuse.org/request/show/185385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=17
2013-08-01 11:14:54 +00:00
Sascha Peilicke
87d87c0850 - Ship upstream tarbal (zipfile) and fix Source URL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=16
2013-08-01 07:16:29 +00:00
Sascha Peilicke
ff4c4cc330 Accepting request 184603 from home:frispete:python
- Updated to 4.0.5:
  * Fixed a bug where a decorated method caused false positive failures on verifyClass().
- Updated to 4.0.4:
  * Fixed a bug that was revealed by porting zope.traversing. During a loop, the loop body modified a weakref dict causing a RuntimeError error.
- generate documentation in -doc package
- enable tests

OBS-URL: https://build.opensuse.org/request/show/184603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=15
2013-07-29 13:37:45 +00:00
Sascha Peilicke
1b3f0d6b7f Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=14
2013-06-17 12:55:00 +00:00
Sascha Peilicke
350a47c2c3 Accepting request 148442 from home:posophe:branches:devel:languages:python
Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=12
2013-01-15 13:49:26 +00:00
Sascha Peilicke
8080b6e390 Accepting request 138053 from home:douglarek:branches:devel:languages:python
Updated to 4.0.1

OBS-URL: https://build.opensuse.org/request/show/138053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=10
2012-11-20 09:16:09 +00:00
Sascha Peilicke
4e56aa5741 - Simplified macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=7
2012-02-01 15:27:11 +00:00
Sascha Peilicke
28bc49f8ad - Update to version 3.8.0:
* New module zope.interface.registry
  * No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=4
2011-09-23 10:29:28 +00:00
Lars Vogdt
2ee67ecf6a Accepting request 81114 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/81114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.interface?expand=0&rev=1
2011-09-12 21:44:26 +00:00
Sascha Peilicke
fa913fc190 - Added provides/obsoletes for python-zope-interface
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=2
2011-09-06 15:17:39 +00:00
Sascha Peilicke
c54608db23 - Renamed to python-zope.interface (from python-zopeinterface)
- Simplyfied spec file
- Update to version 3.7.0:
  * LP #570942: Now correctly compare interfaces from different modules
    but with the same names.
  * LP #811792:  work around buggy behavior in some subclasses of
    zope.interface.interface.InterfaceClass, which invoke __hash__
    before initializing __module__ and __name__.  The workaround
    returns a fixed constant hash in such cases, and issues a UserWarning.
  * LP #804832: Under PyPy, zope.interface should not build its C
    extension. Also, prevent attempting to build it under Jython.
  * Add a tox.ini for easier xplatform testing.
  * Fix testing deprecation warnings issued when tested under Py3K.
  * LP 804951: InterfaceClass instances were unhashable under Python 3.x.
  * LP #570942: Now correctly compare interfaces  from different modules
    but with the same names.

- add documentation files: COPYRIGHT.txt CHANGES.txt LICENSE.txt

- update to 3.6.1
  * A non-ascii character in the changelog made 3.6.0 uninstallable
    on Python 3 systems with another default encoding than UTF-8.
  * Fixed compiler warnings under GCC 4.3.3.
  * Python 2.3 is no longer supported.
  * Use the standard Python doctest module instead of
    zope.testing.doctest, which has been deprecated.
  * Allow to bootstrap on Jython.
- re-packaged with py2pack
  * now builds on all RPM-based distros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=1
2011-09-06 13:53:06 +00:00