- Add remove_nose.patch * test suite runs fine without nose, because it was written for unittest2 and, because nose won't work with Python 3.9/3.10, this patch removes the requirement from setup.cfg and use unittest2 in the spec file instead of nose OBS-URL: https://build.opensuse.org/request/show/788279 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=13
13 lines
382 B
Diff
13 lines
382 B
Diff
--- a/setup.cfg.orig 2020-03-25 16:06:14.496510596 +0100
|
|
+++ b/setup.cfg 2020-03-25 16:08:28.672752421 +0100
|
|
@@ -35,8 +35,7 @@
|
|
include_package_data = True
|
|
packages = find:
|
|
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
|
|
-tests_requires = ["nose", "astunparse"]
|
|
-test_suite = nose.collector
|
|
+tests_requires = ["astunparse"]
|
|
|
|
[options.packages.find]
|
|
exclude = tests
|