Commit Graph

17 Commits

Author SHA256 Message Date
3d1d230e50 - update to 7.0:
* Add preliminary support for Python 3.13 as of 3.13b1.
  * Drop support for Python 3.7.
  * Build windows wheels on GHA.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=34
2024-06-10 08:53:50 +00:00
7653db0bee - update to 6.2:
* Make ``next()`` on C proxies call ``__next__`` rather than
    ``next`` (see PEP 3114), and drop support for the Python 2
    ``next`` method name from pure-Python proxies.
  * Drop using ``setup_requires`` due to constant problems on
    GHA.
  * Add support for Python 3.12.
- Update to version 5.8
- Update to version 5.7
- Update to version 5.6
- Update to version 5.3.0
  * Fix the decimal.Decimal checker, __truediv__ was missing
    causing ForbiddenAttribute on a ProxyFactory(Decimal('1')) / 1
  * Add the interface ISystemPrincipal and make
    zope.security.management.system_user a regular object that
    __unicode__ just like the C implementation. Note that __str__ is
    checked for both implementations on both Python 2 and 3, but if
    there is no __unicode__ method defined, Python 2’s automatic
  * Fix the default values for Permission fields title and
  * Change the IPermission.id from Text (unicode) to a
  * Fix the extremely rare potential for a crash when the C
  * The pure-Python proxy didn’t propagate TypeError from __repr__
  * Iteration of zope.interface.providedBy() is now allowed by
  * Respect PURE_PYTHON at runtime.
  * Fix watching checkers (ZOPE_WATCH_CHECKERS=1) in pure-Python
  dependency loop and other zope-related problems, see

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=32
2023-12-11 08:17:44 +00:00
7922bd86fb Accepting request 1092176 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=30
2023-06-11 11:26:37 +00:00
df40ec7a2b * Remove proxying code for names that no longer exist in Python 3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=28
2023-05-05 14:31:10 +00:00
c364646441 - update to 6.1:
* Remove more proxying code for names that no longer exist in
    Python 3.
  * Remove proxying code for names that no longer exist in Python
    3.
  * Drop support for Python 2.7, 3.5, 3.6.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=27
2023-05-05 14:30:58 +00:00
Markéta Machová
d064bb09cb Accepting request 1042766 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.8 
  * The extra untrustedpython now for Python 3, too, installs zope.untrustedpython.

OBS-URL: https://build.opensuse.org/request/show/1042766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=25
2022-12-15 12:22:14 +00:00
c05b039c2e Accepting request 1041288 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.7 
  * Release to rebuild full set of binary wheels.
- Update to version 5.6 
  * Add support for building arm64 wheels on macOS.

OBS-URL: https://build.opensuse.org/request/show/1041288
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=23
2022-12-08 08:29:47 +00:00
ff028adaad Accepting request 1034519 from home:frispete:python
- Update to version 5.5
  * Add support for final release of Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1034519
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=21
2022-11-08 21:12:18 +00:00
35a98068f6 Accepting request 1032248 from home:yarunachalam:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=19
2022-10-30 10:42:43 +00:00
12a37526aa Accepting request 1004192 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.4.0
  * Disable unsafe math optimizations in C code. See pull request 89.
- Update to version 5.3.0 
  * Allow calling bound methods of some built-in objects such as ().__repr__ and {}.__repr__ by default.
    This worked on Python 2, but raised ForbiddenAttribute on Python 3. See issue 75.
  * Remove usage of unittest.makeSuite as it is deprecated in Python 3.11+. See issue 83.
  * Add support for Python 3.11 (as of 3.11.0a7).

OBS-URL: https://build.opensuse.org/request/show/1004192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=17
2022-09-17 08:53:26 +00:00
15a46ea923 Accepting request 969273 from home:bnavigator:branches:devel:languages:python
- Update to version 5.2.0
  * Add support for Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/request/show/969273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=15
2022-04-11 22:36:53 +00:00
Tomáš Chvátal
0f1e3b5da6 Accepting request 790817 from home:pgajdos:python
- version update to 5.1.1
  - Ensure all objects have consistent interface resolution orders (if
    all dependencies are up-to-date). See `issue 71
    <https://github.com/zopefoundation/zope.security/issues/71>`_.

OBS-URL: https://build.opensuse.org/request/show/790817
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=13
2020-04-02 08:50:59 +00:00
Tomáš Chvátal
36da703ebc Accepting request 782877 from home:pgajdos:python
- version update to 5.1.0
  - Let proxied interfaces be iterated on Python 3. This worked on
    Python 2, but raised ``ForbiddenAttribute`` an Python 3. See
    `zope.interface issue 141 <https://github.com/zopefoundation/zope.interface/issues/141>`_.
  - Allow to use a common Sphinx version for Python 2 and 3.

OBS-URL: https://build.opensuse.org/request/show/782877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=11
2020-03-09 10:53:00 +00:00
Tomáš Chvátal
85384f4940 Accepting request 766043 from home:mcalabkova:branches:devel:languages:python
- update to version 5.0
  * Drop support for Python 3.4.
  * Add support for Python 3.8.
  * Properly declare dependency on zope.schema >= 4.2.0, introduced in zope.security 4.2.1.
  * Fix dict item view iteration on PyPy3 7.x.

OBS-URL: https://build.opensuse.org/request/show/766043
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=9
2020-01-21 11:37:54 +00:00
Tomáš Chvátal
60b6b1af92 Accepting request 692314 from home:mcalabkova:branches:devel:languages:python
- update to version 4.3.1
  * Fix the decimal.Decimal checker, __truediv__ was missing 
    causing ForbiddenAttribute on a ProxyFactory(Decimal('1')) / 1 
    operation
  4.3.0
  * Add the interface ISystemPrincipal and make 
    zope.security.management.system_user a regular object that 
    implements this interface.
  4.2*
  * Add support for Python 3.7.
  * Make the pure-Python proxy on Python 2 not check permissions for
    __unicode__ just like the C implementation. Note that __str__ is 
    checked for both implementations on both Python 2 and 3, but if 
    there is no __unicode__ method defined, Python 2’s automatic 
    fallback to __str__ is not checked when unicode is called.
  * Fix the default values for Permission fields title and 
    description under Python 2.
  * Change the IPermission.id from Text (unicode) to a 
    NativeStringLine.
  * Fix the extremely rare potential for a crash when the C 
    extensions are in use.
  * The pure-Python proxy didn’t propagate TypeError from __repr__ 
    and __str__ like the C implementation did.
  * Iteration of zope.interface.providedBy() is now allowed by 
    default on all versions of Python.
  * Drop support for Python 3.3.
  * Respect PURE_PYTHON at runtime. 
  * Fix watching checkers (ZOPE_WATCH_CHECKERS=1) in pure-Python 
    mode.
- Fix tests using multibuild (can be dropped in the future).

OBS-URL: https://build.opensuse.org/request/show/692314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=7
2019-04-09 06:15:29 +00:00
6b0be838e6 Accepting request 510572 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/510572
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=3
2017-07-16 16:26:08 +00:00
Sascha Peilicke
23440e874b Accepting request 184932 from home:frispete:python
don't ship *.c files

OBS-URL: https://build.opensuse.org/request/show/184932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=1
2013-07-31 06:37:52 +00:00