Debian Codegraph @

debian/patches/remove-buggy-check-python-version.patch

raw
1 Remove buggy check for python version.
2
3 platform.python_version()[0:3] returns the string '3.1' on python 3.10.
4
5 Index: brebis/setup.py
6 ===================================================================
7 --- brebis.orig/setup.py
8 +++ brebis/setup.py
9 @@ -18,11 +18,6 @@ import os.path
10 import platform
11 import sys
12
13 -# Warn the user about the supported Python versions
14 -if float(platform.python_version()[0:3]) < 3.4:
15 - print('You need at least Python 3.4 to use Brebis')
16 - sys.exit(1)
17 -
18 CLASSIFIERS = [
19 'Intended Audience :: System Administrators',
20 'Development Status :: 3 - Alpha',