Hi, and thanks for the bug report. On الجمعـة 10 تـمـوز 2015 12:07, Aaron M. Ucko wrote:
Package: python3-cobra Version: 0.4.0b1-1 Severity: grave Justification: renders package unusable (uninstallable)Byte compilation of python3-cobra is failing due to the presence of syntax that was only valid in Python 2.x: Setting up python3-cobra (0.4.0b1-1) ... File "/usr/lib/python3/dist-packages/cobra/solvers/glpk_solver_java.py", line 86 except Exception, e1: ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/cobra/solvers/cplex_solver_java.py", line 318 print '%s failed: %s'%(solver_name, status) ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/cobra/solvers/gurobi_solver_java.py", line 73 except Exception, e: ^ SyntaxError: invalid syntax dpkg: error processing package python3-cobra (--configure): subprocess installed post-installation script returned error exit status 1 Could you please take a look?
I had code in my packaging that was supposed to remove those files for the python3-package. The *_java.py files are intended to provide jython support according to upstream, and jython is not available for python3. These files aren't relevant for this package, so I will make sure that they are removed from python3-cobra.
Thanks and regards Afif -- Afif Elghraoui | عفيف الغراوي http://afif.ghraoui.name -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

