Commit c4dcf0f 1 parent 893c45c commit c4dcf0f Copy full SHA for c4dcf0f
File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 10
10
required = 0
11
11
optional = 0
12
12
13
+ def versiontuple (v ):
14
+ return tuple (map (int , (v .split ("." ))))
13
15
14
16
# Test for whisper
15
17
try :
92
94
sys .stderr .write ("[REQUIRED] Unable to import the 'pyparsing' module, "
93
95
"do you have pyparsing module installed for python %s?\n " % sys .version_info .major )
94
96
required += 1
97
+ if versiontuple (pyparsing .__version__ ) < versiontuple ("2.3.0" ):
98
+ sys .stderr .write ("[REQUIRED] You have pyparsing version %s installed, "
99
+ "but version 2.3.0 or greater is required\n " % pyparsing .__version__ )
100
+ required += 1
95
101
96
102
97
103
# Test for django-tagging
103
109
required += 1
104
110
105
111
106
- if django and django .VERSION [:2 ] < (1 , 8 ):
112
+ if django and django .VERSION [:2 ] < (4 , 2 ):
107
113
sys .stderr .write ("[REQUIRED] You have django version %s installed, "
108
- "but version 1.8 or greater is required\n " % django .get_version ())
114
+ "but version 4.2 or greater is required\n " % django .get_version ())
109
115
required += 1
110
116
111
117
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ been met or not.
33
33
Basic Graphite requirements:
34
34
35
35
* a UNIX-like Operating System
36
- * Python 2.7 or greater (including experimental Python3 support)
36
+ * Python 3.8 or greater
37
37
* `cairocffi `_
38
- * `Django `_ 1.8 - 2.2 (for Python3 - 1.11 and newer), 1.11.19 or newer is recommended
39
- * `django-tagging `_ 0.4.6 (not `django-taggit ` yet )
38
+ * `Django `_ 4.2+
39
+ * `django-tagging `_ 0.4.6 (not `django-taggit `, unfortunately )
40
40
* `pytz `_
41
- * `scandir `_ (for Python older than 3.5)
41
+ * `pyparsing ` 2.3.0+
42
42
* `fontconfig `_ and at least one font package (a system package usually)
43
43
* A WSGI server and web server. Popular choices are:
44
44
You can’t perform that action at this time.
0 commit comments