build failure with python3.10

4 views
Skip to first unread message

Zbigniew Jędrzejewski-Szmek

unread,
Nov 17, 2020, 3:02:30 AM11/17/20
to libsbml-development, Antonio T
Hi,

Fedora is starting to prepare for Python 3.10.
Attached patch allows libsbml to correctly detect python3.10.

Apart from assuming that "3.10" is 3 characters, the tests compared
the return value from print(), which is always None, with a string.
(https://bugzilla.redhat.com/show_bug.cgi?id=1897107)

Best,
Zbyszek
libsbml-porting_to_python310.patch

Frank T. Bergmann

unread,
Nov 17, 2020, 3:06:26 AM11/17/20
to libsbml-development
Thanks for letting us know, we'll be sure to include this patch with the next release. I'll be able to add it later today, for now i've filed an issue here: 


We do recommend to use the cmake build system, as not all options are available for the gnumake system. 

best
Frank

Zbigniew Jędrzejewski-Szmek

unread,
Nov 17, 2020, 10:26:30 AM11/17/20
to libsbml-d...@googlegroups.com
On Tue, Nov 17, 2020 at 12:06:26AM -0800, Frank T. Bergmann wrote:
> Thanks for letting us know, we'll be sure to include this patch with the
> next release. I'll be able to add it later today, for now i've filed an
> issue here:
>
> https://github.com/sbmlteam/libsbml/issues/82
Thanks.

> We do recommend to use the cmake build system, as not all options are
> available for the gnumake system.

IIRC, we didn't use the cmake system because it had some shortcomings with
the final installation paths... but that was a while ago. We'll try to
switch to cmake when the next release comes out.

Zbyszek

Frank T. Bergmann

unread,
Nov 18, 2020, 3:03:29 AM11/18/20
to libsbml-development
IIRC, we didn't use the cmake system because it had some shortcomings with
the final installation paths... but that was a while ago. We'll try to
switch to cmake when the next release comes out.


Please let us know if you need changes as to where things are installed into by cmake on linux. 

best
Frank
 
Reply all
Reply to author
Forward
0 new messages