public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zope-schema] epel10: Rebase to 6.1.0 (#1469326)
Date: Thu, 19 Nov 2026 00:37:06 GMT	[thread overview]
Message-ID: <179504862680.1.2803788382890191873.rpms-python-zope-schema-b1de280642a2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-zope-schema
Branch : epel10
Commit : b1de280642a2c2ffd3cf1e12392ff744b1460f7b
Author : Neal Gompa <ngompa@fedoraproject.org>
Date   : 2021-07-25T10:22:52-04:00
Stats  : +13/-53 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-zope-schema/c/b1de280642a2c2ffd3cf1e12392ff744b1460f7b?branch=epel10

Log:
Rebase to 6.1.0 (#1469326)

---
diff --git a/.gitignore b/.gitignore
index 36fefb0..3e7eb6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /zope.schema-4.4.0.zip
 /zope.schema-4.4.1.tar.gz
 /zope.schema-4.4.2.tar.gz
+/zope.schema-6.1.0.tar.gz

diff --git a/0001-python-3.10-compatibility-disable-failing-test.patch b/0001-python-3.10-compatibility-disable-failing-test.patch
deleted file mode 100644
index 1c3461c..0000000
--- a/0001-python-3.10-compatibility-disable-failing-test.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 8de41cc10fa8bbf459411b449053ff00ad5cfd33 Mon Sep 17 00:00:00 2001
-From: Tomas Hrnciar <thrnciar@redhat.com>
-Date: Thu, 3 Jun 2021 11:32:31 +0200
-Subject: [PATCH] python 3.10 compatibility - disable failing test
-
----
- src/zope/schema/tests/test_accessors.py | 13 -------------
- 1 file changed, 13 deletions(-)
-
-diff --git a/src/zope/schema/tests/test_accessors.py b/src/zope/schema/tests/test_accessors.py
-index bfd72a1..512612b 100644
---- a/src/zope/schema/tests/test_accessors.py
-+++ b/src/zope/schema/tests/test_accessors.py
-@@ -56,19 +56,6 @@ class FieldReadAccessorTests(unittest.TestCase):
-         self.assertEqual(list(providedBy(wrapped)),
-                          list(implementedBy(self._getTargetClass())))
- 
--    def test___provides___w_field_w_provides(self):
--        from zope.interface import implementedBy
--        from zope.interface import providedBy
--        from zope.schema import Text
--        field = Text()
--        field_provides = list(providedBy(field))
--        wrapped = self._makeOne(field)
--        wrapped_provides = list(providedBy(wrapped))
--        self.assertEqual(wrapped_provides[:len(field_provides)],
--                         list(providedBy(field)))
--        for iface in list(implementedBy(self._getTargetClass())):
--            self.assertTrue(iface in wrapped_provides)
--
-     def test_getSignatureString(self):
-         wrapped = self._makeOne()
-         self.assertEqual(wrapped.getSignatureString(), '()')
--- 
-2.31.1
-

diff --git a/python-zope-schema.spec b/python-zope-schema.spec
index 8cec515..67ae9e7 100644
--- a/python-zope-schema.spec
+++ b/python-zope-schema.spec
@@ -1,14 +1,10 @@
 %global modname zope.schema
 
-
 Summary: Zope 3 schemas
 Name: python-zope-schema
-Version: 4.4.2
-Release: 22%{?dist}
-Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
-# disable failing test to unblock Python 3.10 rebuild
-# downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1958901
-Patch1: 0001-python-3.10-compatibility-disable-failing-test.patch
+Version: 6.1.0
+Release: 1%{?dist}
+Source0: https://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
 License: ZPLv2.1
 BuildArch: noarch
 URL: http://pypi.python.org/pypi/zope.schema
@@ -25,9 +21,12 @@ BuildRequires: python3-devel
 BuildRequires: python3-setuptools
 # For docs
 BuildRequires: python3-sphinx
+BuildRequires: python3-repoze-sphinx-autointerface
 # For tests
 BuildRequires: python3-zope-testing
-BuildRequires: python3-zope-interface
+BuildRequires: python3-zope-testrunner
+BuildRequires: python3-zope-interface >= 5.0.0
+BuildRequires: python3-zope-i18nmessageid
 BuildRequires: python3-zope-event
 
 Requires: python3-zope-interface
@@ -38,7 +37,6 @@ This package is a zope.interface extension for defining data schemas.
 
 %prep
 %setup -q -n %{modname}-%{version}
-%patch1 -p1
 
 rm -rf %{modname}.egg-info
 
@@ -55,13 +53,7 @@ rm -fr html/{.buildinfo,.doctrees}
 %py3_install
 
 %check
-# the test setup and runner are rather, ahem, 'special' (see setup.py
-# all_tests). This silly hack makes it fly on recent Python 3.
-ln -s %{python3_sitelib}/zope/* src/zope
-# this can fail if sitelib and sitearch are the same on the host doing
-# the build, it's no problem
-ln -s %{python3_sitearch}/zope/* src/zope >/dev/null || :
-%{__python3} setup.py test
+PYTHONPATH=%{buildroot}%{python3_sitelib} zope-testrunner --test-path=src
 
 %files -n python3-zope-schema
 %doc CHANGES.rst COPYRIGHT.txt README.rst
@@ -75,6 +67,9 @@ ln -s %{python3_sitearch}/zope/* src/zope >/dev/null || :
 
 
 %changelog
+* Sun Jul 25 2021 Neal Gompa <ngompa@fedoraproject.org> - 6.1.0-1
+- Rebase to 6.1.0 (#1469326)
+
 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
 

diff --git a/sources b/sources
index e62bab1..0e72b3a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-939680fec2a5cf9e214cc80d6665065c  zope.schema-4.4.2.tar.gz
+SHA512 (zope.schema-6.1.0.tar.gz) = a832bc779195dc3f1ce812610adc97205a4074c9523d70ee4019e03285f7d94df24f165a834e65cf26b06fc48754b76189299e58af5d4888a4abb15dc0d64ec0

                 reply	other threads:[~2026-11-19  0:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179504862680.1.2803788382890191873.rpms-python-zope-schema-b1de280642a2@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox