Sync from SUSE:SLFO:Main python-zope.security revision f35ffd550f159399328166ef25c4bfe8

This commit is contained in:
Adrian Schröter 2024-12-13 12:43:00 +01:00
parent 6300c7e23e
commit 728f7bdad4
4 changed files with 71 additions and 28 deletions

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Thu Oct 10 14:40:22 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 7.3
* Respect ``PURE_PYTHON`` environment variable set to ``0``.
- from version 7.2
* Declare final support for Python 3.13.
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Sun Sep 8 16:31:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.1:
* Allow calling methods of type <class 'builtin_method'> by
default. In particular, Python 3.12 refactored the io module
in such a way as to slightly change the types of some
methods, causing zope.security to no longer consider them
callable. See zope.file#13.
-------------------------------------------------------------------
Mon Jun 10 08:53:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Mon Dec 11 08:17:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Fri Jun 9 12:59:34 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri May 5 14:30:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -10,16 +53,16 @@ Fri May 5 14:30:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Tue Dec 13 17:46:19 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.8
- Update to version 5.8
* The extra untrustedpython now for Python 3, too, installs zope.untrustedpython.
-------------------------------------------------------------------
Mon Dec 5 13:53:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.7
- Update to version 5.7
* Release to rebuild full set of binary wheels.
- Update to version 5.6
- Update to version 5.6
* Add support for building arm64 wheels on macOS.
-------------------------------------------------------------------
@ -37,7 +80,7 @@ Sat Oct 29 18:10:03 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
-------------------------------------------------------------------
Fri Sep 16 19:41:00 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.3.0
- 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.
@ -79,33 +122,33 @@ Tue Jan 21 10:48:01 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
Mon Apr 8 13:53:23 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 4.3.1
* Fix the decimal.Decimal checker, __truediv__ was missing
causing ForbiddenAttribute on a ProxyFactory(Decimal('1')) / 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
* 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 2s automatic
__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 2s automatic
fallback to __str__ is not checked when unicode is called.
* Fix the default values for Permission fields title and
* Fix the default values for Permission fields title and
description under Python 2.
* Change the IPermission.id from Text (unicode) to a
* Change the IPermission.id from Text (unicode) to a
NativeStringLine.
* Fix the extremely rare potential for a crash when the C
* Fix the extremely rare potential for a crash when the C
extensions are in use.
* The pure-Python proxy didnt propagate TypeError from __repr__
* The pure-Python proxy didnt propagate TypeError from __repr__
and __str__ like the C implementation did.
* Iteration of zope.interface.providedBy() is now allowed by
* 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
* 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).
@ -137,7 +180,7 @@ Sun Jul 16 08:06:14 UTC 2017 - aloisio@gmx.com
* Add support for Python 3.4.
- Split docs and tests into separate -doc package to avoid
dependency loop and other zope-related problems, see
dependency loop and other zope-related problems, see
(gh#/zopefoundation/zope.proxy#18)
- Converted to single-spec

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-zope.security
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -17,7 +17,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -27,13 +27,13 @@
%bcond_with test
%endif
Name: python-zope.security%{psuffix}
Version: 6.1
Version: 7.3
Release: 0
Summary: Zope Security Framework
License: ZPL-2.1
Group: Development/Languages/Python
URL: https://www.python.org/pypi/zope.security
Source0: https://files.pythonhosted.org/packages/source/z/zope.security/zope.security-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/z/zope_security/zope_security-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.interface}
@ -66,7 +66,7 @@ The Security framework provides a generic mechanism to implement security
policies on Python objects.
%prep
%setup -q -n zope.security-%{version}
%setup -q -n zope_security-%{version}
%build
%python_build

BIN
zope.security-6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
zope_security-7.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.