#8141 closed (fixed)
Cannot import gis with Python 2.3
Reported by: | 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 |
Pull Requests: | How to create a pull request | ||
Description ¶
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)
comment:1 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
This is breaking the test suite for 2.3 users which is unacceptable, all usage of decorators should be changed until such a point as django decides to drop support for 2.3.
comment:3 by , 17 years ago
Perhaps the summary was badly worded. I don't care if gis requires 2.4, Django overall claims to run on 2.3 and up. If gis as a component needs 2.4 then at a minimum things need to be set up so that its tests are skipped when running on 2.3. The Django-provided test suite should not have failures running on 2.3, until such time as TPTB decide to drop support for 2.3.
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
http://code.djangoproject.com/wiki/GeoDjangoInstall#PythonPostgreSQL