forked from pool/python-boltons
Accepting request 1060434 from home:mcalabkova:branches:devel:languages:python
- Add patch getstate-to-through-methods.patch * Adds support for Python 3.11 OBS-URL: https://build.opensuse.org/request/show/1060434 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boltons?expand=0&rev=19
This commit is contained in:
22
getstate-to-through-methods.patch
Normal file
22
getstate-to-through-methods.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 75cd86b3ea6534d5bd8d3c83c3cf1b493e7c9102 Mon Sep 17 00:00:00 2001
|
||||
From: Stefano Rivera <github@rivera.za.net>
|
||||
Date: Fri, 20 Jan 2023 12:16:35 -0800
|
||||
Subject: [PATCH] Add __getstate__ to through_methods (bpo-26579) (#323)
|
||||
|
||||
Adds support for Python 3.11.
|
||||
---
|
||||
tests/test_dictutils.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/test_dictutils.py b/tests/test_dictutils.py
|
||||
index ca59a31e..0044001a 100644
|
||||
--- a/tests/test_dictutils.py
|
||||
+++ b/tests/test_dictutils.py
|
||||
@@ -474,6 +474,7 @@ def test_frozendict_api():
|
||||
'__ge__',
|
||||
'__getattribute__',
|
||||
'__getitem__',
|
||||
+ '__getstate__',
|
||||
'__gt__',
|
||||
'__init__',
|
||||
'__iter__',
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 14:33:24 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add patch getstate-to-through-methods.patch
|
||||
* Adds support for Python 3.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 00:04:19 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-boltons
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,6 +26,8 @@ URL: https://github.com/mahmoud/boltons
|
||||
Source: https://github.com/mahmoud/boltons/archive/%{version}.tar.gz#/boltons-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM Support Python 3.10 gh#mahmoud/boltons#270e974975984f662f998c8f6eb0ebebd964de82
|
||||
Patch0: fix-ecoutil-imports.patch
|
||||
# PATCH-FIX-UPSTREAM Adds support for Python 3.11. gh#mahmoud/boltons#75cd86b3ea6534d5bd8d3c83c3cf1b493e7c9102
|
||||
Patch1: getstate-to-through-methods.patch
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
|
||||
Reference in New Issue
Block a user