cll35 / mplh5canvas

Automatically exported from code.google.com/p/mplh5canvas
0 stars 0 forks source link

setup incorrectly fails to detect mpl version > 0.99.1.1 #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$> python setup.py build 
The HTML 5 Canvas Backend requires matplotlib 0.99.1.1 or newer. Your version 
(1.0.0) appears older than this. Unable to continue...

What is the expected output? What do you see instead?
The build should continue, instead of being aborted.

What version of the product are you using? On what operating system?
SVN r7 (june 24, 2010); Mac OS X

Please provide any additional information below.
Shouldn't version checking be replaced by feature detection? That seems to be 
the general recommendation for Python module dependencies.
In addition, mpl 0.99.0 would pass the check, but isn't in agreement with 
apparent requirement of > 0.99.1.1

Original issue reported on code.google.com by evert.as...@gmail.com on 1 Aug 2010 at 4:46

GoogleCodeExporter commented 9 years ago
Fixed in SVN r8; latest tarball was still r7, hence the mistaken report.

Original comment by evert.as...@gmail.com on 1 Aug 2010 at 4:54

GoogleCodeExporter commented 9 years ago
With r14, this still breaks with matplotlib's dev version:

In [2]: mpl.__version__
Out[2]: '1.0.svn'

Original comment by david.huard on 10 Feb 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Fails in this case as well. Simple solution is just to comment out the if block 
and then install.

I[2]: __version__
O[2]: '1.1.0svn'

Original comment by gokhanse...@gmail.com on 13 Mar 2011 at 10:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r25.

Original comment by ludwig.s...@gmail.com on 27 May 2011 at 9:07