djhenderson / python-graph

Automatically exported from code.google.com/p/python-graph
Other
0 stars 0 forks source link

Incompatibility with python 2.5 #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hey guys,

we love python-graph, but it won't work on our server running python 2.5, and 
we're reluctant to upgrade it. as far as i can tell, the issue comes down to 
the new python 'except Exception as xxx' syntax, which replaces 'except 
Exception, xxx'. this only occurs 4 times in the python-graph 1.8.0 code:

find . -name '*.py' | xargs grep "except" | grep " as"
./core/setup.py:except ImportError as ie:
./dot/setup.py:except ImportError as ie:
./tests/testrunner.py:            except ImportError as ie:
./tests/unittests-heuristics.py:        except exceptions.NodeUnreachable as _:

is there any chance the next release could be modified to be compatible with 
python 2.5?

either way, thanks for all your hard work. python-graph is awesome.

Original issue reported on code.google.com by gde...@gmail.com on 17 Oct 2010 at 3:34

GoogleCodeExporter commented 9 years ago
> is there any chance the next release could be modified to be compatible with 
python 2.5?

Support for anything lower or equal then python 2.5 was dropped since the 1.6.3 
release. See changelog:
http://code.google.com/p/python-graph/wiki/Changelog#Release_1.6.3

So I see only 2 solutions for you:
- upgrade python to 2.6 or higher 
- downgrade python-graph to a python2.5 supported version, if it doesn't break 
your code

----------------------------------

Pedro is it ok to mark this issue as WontFix? 

Original comment by tomaz.ko...@gmail.com on 17 Oct 2010 at 8:19

GoogleCodeExporter commented 9 years ago
hey guys,

thanks for getting back to me, and for the link to the previous version.

g

Original comment by gde...@gmail.com on 17 Oct 2010 at 8:38

GoogleCodeExporter commented 9 years ago
WontFix is correct. Unfortunately, we can't be compatible with both Python 2.5 
and Python 3.

Original comment by pmatiello on 17 Oct 2010 at 9:02