From d961000eb9b3579aa98a09503668007953736aa107dda75c5af4f6c2d7b8ecbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 12 Sep 2022 14:06:49 +0000 Subject: [PATCH 1/2] Accepting request 1002984 from home:mcalabkova:branches:devel:languages:python - Skip tests which broke with https://github.com/python/cpython/issues/95778 OBS-URL: https://build.opensuse.org/request/show/1002984 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=27 --- python-zope.schema.changes | 5 +++++ python-zope.schema.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-zope.schema.changes b/python-zope.schema.changes index 48df9c5..a47fae7 100644 --- a/python-zope.schema.changes +++ b/python-zope.schema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 12 14:02:56 UTC 2022 - Markéta Machová + +- Skip tests which broke with https://github.com/python/cpython/issues/95778 + ------------------------------------------------------------------- Fri Jul 9 20:45:19 UTC 2021 - Jason Craig diff --git a/python-zope.schema.spec b/python-zope.schema.spec index 6a2f999..7ffacc9 100644 --- a/python-zope.schema.spec +++ b/python-zope.schema.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -72,7 +72,8 @@ rm -rf zope.schema.egg-info %if %{with test} %check -%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src +# skipped tests: https://github.com/python/cpython/issues/95778 (reported upstream) +%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src -t !Number -t !Complex -t !Decimal -t !Rational -t !Real -t !Float %endif %if !%{with test} From 8cac34bed6f538b9e59c773bd40d2b73c0f5c592098533db39cc122fd8ebd4f6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 16 Sep 2022 16:24:09 +0000 Subject: [PATCH 2/2] Accepting request 1004102 from home:mcalabkova:branches:devel:languages:python - Update to 6.2.1 * Fix incompatibility introduced in 6.1.0: The Bool field constructor implicitly set required to False if not given. * Add support for Python 3.10. * Fix outsized integer test values that break tests on newer Python versions. OBS-URL: https://build.opensuse.org/request/show/1004102 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.schema?expand=0&rev=28 --- python-zope.schema.changes | 9 +++++++++ python-zope.schema.spec | 5 ++--- zope.schema-6.1.0.tar.gz | 3 --- zope.schema-6.2.1.tar.gz | 3 +++ 4 files changed, 14 insertions(+), 6 deletions(-) delete mode 100644 zope.schema-6.1.0.tar.gz create mode 100644 zope.schema-6.2.1.tar.gz diff --git a/python-zope.schema.changes b/python-zope.schema.changes index a47fae7..5208320 100644 --- a/python-zope.schema.changes +++ b/python-zope.schema.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 16 12:03:45 UTC 2022 - Markéta Machová + +- Update to 6.2.1 + * Fix incompatibility introduced in 6.1.0: The Bool field constructor + implicitly set required to False if not given. + * Add support for Python 3.10. + * Fix outsized integer test values that break tests on newer Python versions. + ------------------------------------------------------------------- Mon Sep 12 14:02:56 UTC 2022 - Markéta Machová diff --git a/python-zope.schema.spec b/python-zope.schema.spec index 7ffacc9..9a52c25 100644 --- a/python-zope.schema.spec +++ b/python-zope.schema.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-zope.schema%{psuffix} -Version: 6.1.0 +Version: 6.2.1 Release: 0 Summary: Zope interface extension for defining data schemas License: ZPL-2.1 @@ -72,8 +72,7 @@ rm -rf zope.schema.egg-info %if %{with test} %check -# skipped tests: https://github.com/python/cpython/issues/95778 (reported upstream) -%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src -t !Number -t !Complex -t !Decimal -t !Rational -t !Real -t !Float +%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src %endif %if !%{with test} diff --git a/zope.schema-6.1.0.tar.gz b/zope.schema-6.1.0.tar.gz deleted file mode 100644 index 22a9e41..0000000 --- a/zope.schema-6.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fa04d95e8e7e9056091eed9819da6e65dde68de39c2b93617d361d1eb8a7c0c -size 103042 diff --git a/zope.schema-6.2.1.tar.gz b/zope.schema-6.2.1.tar.gz new file mode 100644 index 0000000..b85f073 --- /dev/null +++ b/zope.schema-6.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3b33c8bc8ba9d85a56713ab8f0a3c2615d54a8085f1e415ce0c8dfb5e540be6 +size 124649