upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-stack-data / trunk / 0002-Patch-out-typeguard.patch
blob53cf3102af22573744c3ac3f07800f2e0a825b6e
1 From: Gordon Ball <gordon@chronitis.net>
2 Date: Thu, 13 Jan 2022 16:36:36 +0000
3 Subject: Patch out typeguard
5 The available version is too old for the usage here
6 ---
7 setup.cfg | 4 ++--
8 tests/__init__.py | 5 -----
9 2 files changed, 2 insertions(+), 7 deletions(-)
11 diff --git a/setup.cfg b/setup.cfg
12 index 05f3dda..eec7437 100644
13 --- a/setup.cfg
14 +++ b/setup.cfg
15 @@ -29,10 +29,10 @@ install_requires =
17 setup_requires = setuptools>=44; setuptools_scm[toml]>=3.4.3
18 include_package_data = True
19 -tests_require = pytest; typeguard; pygments; littleutils
20 +tests_require = pytest; pygments; littleutils
22 [options.extras_require]
23 -tests = pytest; typeguard; pygments; littleutils; cython
24 +tests = pytest; pygments; littleutils; cython
26 [coverage:run]
27 relative_files = True
28 diff --git a/tests/__init__.py b/tests/__init__.py
29 index fe28111..5f06412 100644
30 --- a/tests/__init__.py
31 +++ b/tests/__init__.py
32 @@ -1,9 +1,4 @@
33 -import os
35 import pyximport
36 -from typeguard.importhook import install_import_hook
38 pyximport.install(language_level=3)
40 -if not os.environ.get("STACK_DATA_SLOW_TESTS"):
41 - install_import_hook(["stack_data"])