From 7653db0beeb53dd02dc94ceb62d0605446dfe6d019fa181ace8c688887b981ab Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Dec 2023 08:17:44 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=206.2:=20=20=20*=20Make=20``nex?= =?UTF-8?q?t()``=20on=20C=20proxies=20call=20``=5F=5Fnext=5F=5F``=20rather?= =?UTF-8?q?=20than=20=20=20=20=20``next``=20(see=20PEP=203114),=20and=20dr?= =?UTF-8?q?op=20support=20for=20the=20Python=202=20=20=20=20=20``next``=20?= =?UTF-8?q?method=20name=20from=20pure-Python=20proxies.=20=20=20*=20Drop?= =?UTF-8?q?=20using=20``setup=5Frequires``=20due=20to=20constant=20problem?= =?UTF-8?q?s=20on=20=20=20=20=20GHA.=20=20=20*=20Add=20support=20for=20Pyt?= =?UTF-8?q?hon=203.12.=20-=20Update=20to=20version=205.8=20-=20Update=20to?= =?UTF-8?q?=20version=205.7=20-=20Update=20to=20version=205.6=20-=20Update?= =?UTF-8?q?=20to=20version=205.3.0=20=20=20*=20Fix=20the=20decimal.Decimal?= =?UTF-8?q?=20checker,=20=5F=5Ftruediv=5F=5F=20was=20missing=20=20=20=20?= =?UTF-8?q?=20causing=20ForbiddenAttribute=20on=20a=20ProxyFactory(Decimal?= =?UTF-8?q?('1'))=20/=201=20=20=20*=20Add=20the=20interface=20ISystemPrinc?= =?UTF-8?q?ipal=20and=20make=20=20=20=20=20zope.security.management.system?= =?UTF-8?q?=5Fuser=20a=20regular=20object=20that=20=20=20=20=20=5F=5Funico?= =?UTF-8?q?de=5F=5F=20just=20like=20the=20C=20implementation.=20Note=20tha?= =?UTF-8?q?t=20=5F=5Fstr=5F=5F=20is=20=20=20=20=20checked=20for=20both=20i?= =?UTF-8?q?mplementations=20on=20both=20Python=202=20and=203,=20but=20if?= =?UTF-8?q?=20=20=20=20=20there=20is=20no=20=5F=5Funicode=5F=5F=20method?= =?UTF-8?q?=20defined,=20Python=202=E2=80=99s=20automatic=20=20=20*=20Fix?= =?UTF-8?q?=20the=20default=20values=20for=20Permission=20fields=20title?= =?UTF-8?q?=20and=20=20=20*=20Change=20the=20IPermission.id=20from=20Text?= =?UTF-8?q?=20(unicode)=20to=20a=20=20=20*=20Fix=20the=20extremely=20rare?= =?UTF-8?q?=20potential=20for=20a=20crash=20when=20the=20C=20=20=20*=20The?= =?UTF-8?q?=20pure-Python=20proxy=20didn=E2=80=99t=20propagate=20TypeError?= =?UTF-8?q?=20from=20=5F=5Frepr=5F=5F=20=20=20*=20Iteration=20of=20zope.in?= =?UTF-8?q?terface.providedBy()=20is=20now=20allowed=20by=20=20=20*=20Resp?= =?UTF-8?q?ect=20PURE=5FPYTHON=20at=20runtime.=20=20=20*=20Fix=20watching?= =?UTF-8?q?=20checkers=20(ZOPE=5FWATCH=5FCHECKERS=3D1)=20in=20pure-Python?= =?UTF-8?q?=20=20=20dependency=20loop=20and=20other=20zope-related=20probl?= =?UTF-8?q?ems,=20see?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=32 --- python-zope.security.changes | 49 ++++++++++++++++++++++-------------- python-zope.security.spec | 2 +- zope.security-6.1.tar.gz | 3 --- zope.security-6.2.tar.gz | 3 +++ 4 files changed, 34 insertions(+), 23 deletions(-) delete mode 100644 zope.security-6.1.tar.gz create mode 100644 zope.security-6.2.tar.gz diff --git a/python-zope.security.changes b/python-zope.security.changes index 94fcb55..39726c9 100644 --- a/python-zope.security.changes +++ b/python-zope.security.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Dec 11 08:17:19 UTC 2023 - Dirk Müller + +- 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 @@ -15,16 +26,16 @@ Fri May 5 14:30:05 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Tue Dec 13 17:46:19 UTC 2022 - Yogalakshmi Arunachalam -- 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 -- 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. ------------------------------------------------------------------- @@ -42,7 +53,7 @@ Sat Oct 29 18:10:03 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Fri Sep 16 19:41:00 UTC 2022 - Yogalakshmi Arunachalam -- 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. @@ -84,33 +95,33 @@ Tue Jan 21 10:48:01 UTC 2020 - Marketa Calabkova Mon Apr 8 13:53:23 UTC 2019 - Marketa Calabkova - 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 2’s 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 2’s 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 didn’t propagate TypeError from __repr__ + * 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 + * 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). @@ -142,7 +153,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 diff --git a/python-zope.security.spec b/python-zope.security.spec index 2a098af..c988a37 100644 --- a/python-zope.security.spec +++ b/python-zope.security.spec @@ -27,7 +27,7 @@ %bcond_with test %endif Name: python-zope.security%{psuffix} -Version: 6.1 +Version: 6.2 Release: 0 Summary: Zope Security Framework License: ZPL-2.1 diff --git a/zope.security-6.1.tar.gz b/zope.security-6.1.tar.gz deleted file mode 100644 index a9812f8..0000000 --- a/zope.security-6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4646a764152866d0fb624e63b7ed68a71ab9a21dd41e8c0ae0591234364d68c5 -size 143392 diff --git a/zope.security-6.2.tar.gz b/zope.security-6.2.tar.gz new file mode 100644 index 0000000..0a3d968 --- /dev/null +++ b/zope.security-6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6af7704e7d8138b7d6c745601cac2d16fef27361e5d99c61b746f650a8fba1f7 +size 144731