Version 3.10.0
... (rhbz#2305077)
This commit is contained in:
parent
83681c0899
commit
3bf8c3228b
@ -1,26 +0,0 @@
|
||||
From 424784895b0fb15ad06707ce60f9829cef4f11e2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||
Date: Mon, 3 Jun 2024 17:21:38 +0200
|
||||
Subject: [PATCH] Make tables.tests.common.make_suite() accept the prefix
|
||||
argument
|
||||
|
||||
...as test_queries.py uses it.
|
||||
---
|
||||
tables/tests/common.py | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tables/tests/common.py b/tables/tests/common.py
|
||||
index 918b17247..1d2e5feab 100644
|
||||
--- a/tables/tests/common.py
|
||||
+++ b/tables/tests/common.py
|
||||
@@ -371,5 +371,8 @@ def test00(self):
|
||||
try:
|
||||
from unittest import makeSuite as make_suite
|
||||
except ImportError:
|
||||
- def make_suite(test_case_class):
|
||||
- return unittest.TestLoader().loadTestsFromTestCase(test_case_class)
|
||||
+ def make_suite(test_case_class, *, prefix=None):
|
||||
+ loader = unittest.TestLoader()
|
||||
+ if prefix:
|
||||
+ loader.testMethodPrefix = prefix
|
||||
+ return loader.loadTestsFromTestCase(test_case_class)
|
2051
4a1b480e7e37.patch
2051
4a1b480e7e37.patch
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@
|
||||
|
||||
Summary: HDF5 support in Python
|
||||
Name: python-tables
|
||||
Version: 3.9.2
|
||||
Version: 3.10.0
|
||||
Release: %autorelease
|
||||
#Source0: https://github.com/PyTables/PyTables/archive/%{commit}/PyTables-%{commit}.tar.gz
|
||||
Source0: https://github.com/PyTables/PyTables/archive/v%{version}/python-tables-%{version}.tar.gz
|
||||
@ -20,10 +20,6 @@ Source1: https://github.com/PyTables/PyTables/releases/download/v%{manual
|
||||
|
||||
# https://github.com/PyTables/PyTables/issues/735
|
||||
Patch1: 0001-Skip-tests-that-fail-on-s390x.patch
|
||||
# Fix compatibility with Python v3.13 - unittest.makeSuite() is not available
|
||||
Patch2: https://github.com/PyTables/PyTables/commit/4a1b480e7e37.patch
|
||||
# Make tables.tests.common.make_suite() accept the prefix argument (fixup for the above)
|
||||
Patch3: https://github.com/PyTables/PyTables/commit/424784895b0f.patch
|
||||
|
||||
License: BSD
|
||||
URL: https://www.pytables.org
|
||||
@ -40,6 +36,7 @@ BuildRequires: python%{python3_pkgversion}-Cython >= 0.13
|
||||
BuildRequires: python%{python3_pkgversion}-numpy
|
||||
BuildRequires: python%{python3_pkgversion}-numexpr >= 2.4
|
||||
BuildRequires: python%{python3_pkgversion}-six
|
||||
BuildRequires: python%{python3_pkgversion}-typing-extensions
|
||||
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
|
2
sources
2
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (python-tables-3.9.2.tar.gz) = bd0e97727dfa77d93625c1d335f24c8ee7ae06d38c8d4a104e4a7fc750e21d2a64988ca053059a747e5b38d1ead13313424b8a5d896af047e08a12cba89d49e5
|
||||
SHA512 (python-tables-3.10.0.tar.gz) = 10f7b32c75e15d38e9614420ba02ecef4562f4ae59ec974c079e5850263c814e3e3d4dc54951693a5a9e67c39a949b3a732753e36f7fad80bd3dff0fcd1f547d
|
||||
SHA512 (pytablesmanual-3.3.0.pdf) = beb068a301e20370fdab9f942bed271b94872f409087cba8f7127967a51e45a233d8e6df1aaa12aad532282aec324b0c823b1646be31a5b71e5e7c035ba06270
|
||||
|
Loading…
Reference in New Issue
Block a user