Cannot import gis with Python 2.3
Reported by: |
Karen Tracey <kmtracey@…> |
Owned by: |
nobody |
Component:
|
GIS
|
Version:
|
dev
|
Severity:
|
|
Keywords:
|
python23
|
Cc:
|
|
Triage Stage:
|
Unreviewed
|
Has patch:
|
no
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
Attempting to run the test suite on [8223] with Python 2.3 runs into trouble with gis using decorators:
D:\u\kmt\django\trunk\tests>\bin\Python2.3.5\python.exe runtests.py --settings=testsettings
Error while importing gis: File "runtests.py", line 130, in django_tests
mod = load_app(model_label)
File "d:\u\kmt\django\trunk\django\db\models\loading.py", line 72, in load_app
mod = __import__(app_name, {}, {}, ['models'])
File "d:\u\kmt\django\trunk\django\contrib\gis\models.py", line 31
@property
^
SyntaxError: invalid syntax
Change History
(5)
Resolution: |
→ invalid
|
Status: |
new → closed
|
Resolution: |
invalid
|
Status: |
closed → reopened
|
Resolution: |
→ fixed
|
Status: |
reopened → closed
|
http://code.djangoproject.com/wiki/GeoDjangoInstall#PythonPostgreSQL