diff --git a/python-frozenlist.changes b/python-frozenlist.changes index ce37481..d2b6014 100644 --- a/python-frozenlist.changes +++ b/python-frozenlist.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 29 14:27:41 UTC 2024 - John Paul Adrian Glaubitz + +- Cherry-pick patch from Fedora to fix testsuite with Python 3.13 + * skip-some-attributes.patch + ------------------------------------------------------------------- Tue Jan 16 08:30:56 UTC 2024 - Bernhard Wiedemann diff --git a/python-frozenlist.spec b/python-frozenlist.spec index 5c3cff7..ed99875 100644 --- a/python-frozenlist.spec +++ b/python-frozenlist.spec @@ -27,6 +27,8 @@ Source: https://files.pythonhosted.org/packages/source/f/frozenlist/froz Patch1: no-pytest-cov.patch # PATCH-FIX-OPENSUSE - avoid embedding random tmp dir in .so Patch2: reproducible.patch +# PATCH-FIX-UPSTREAM gh#aio-libs/frozenlist#588 - Skip some attributes when testing +Patch3: skip-some-attributes.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module expandvars} diff --git a/skip-some-attributes.patch b/skip-some-attributes.patch new file mode 100644 index 0000000..f89a570 --- /dev/null +++ b/skip-some-attributes.patch @@ -0,0 +1,25 @@ +From c6e8550ff462a6e299df35a935d2ffbf2777894e Mon Sep 17 00:00:00 2001 +From: Karolina Surma +Date: Thu, 30 May 2024 10:46:25 +0200 +Subject: [PATCH] Skip some attributes when testing + +--- + tests/test_frozenlist.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py +index 403d3ec..90ea84b 100644 +--- a/tests/test_frozenlist.py ++++ b/tests/test_frozenlist.py +@@ -11,7 +11,7 @@ from frozenlist import FrozenList, PyFrozenList + class FrozenListMixin: + FrozenList = NotImplemented + +- SKIP_METHODS = {"__abstractmethods__", "__slots__"} ++ SKIP_METHODS = {"__abstractmethods__", "__slots__", "__static_attributes__", "__firstlineno__"} + + def test_subclass(self) -> None: + assert issubclass(self.FrozenList, MutableSequence) +-- +2.44.0 +