Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Nilesh Patra Newsgroups: linux.debian.devel.mentors,linux.debian.maint.python Subject: [RFC] python-cobra, python3-sbml5 Date: Sat, 04 Apr 2020 15:50:01 +0200 Message-ID: X-Mailbox-Line: From debian-mentors-request@lists.debian.org Sat Apr 4 13:42:08 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-2.949 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, MEDS2=2, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Gl0zgtYwmt0CpirjjtGPR1o8PX8OxNROiyxxkPm8VhQ=; b=otDRCP8lF9jk2tzjAw5EcTgu4Yspfgjl9enwWEZfYp5b3mWbS81NfaK5zX91f5f/WF U0+S8N1VePu3AaT3gHvl9zKPyujqX7GN2Hkh+0e6nAr6TtmjoqLbGD+51uErhnvDu28U HoBIe9m+j5tbtg1vL9SwkKx6Yl1SZcSvlRA+DVE9uumAwixuyUWEEuDaRG1QGMrgB+LW nTR2HQIEkCEsGq4MzK6+BnLZU8AnwtfFgnkJaXwr81azwtLefFh4N4g9jAG9myBKgMJ9 CsQ+s4M7QXEIBPkDscRCIQBxm0ALxQ0ioqcHmiOgQfByUxWyBqLfxN6yullYP36oWAxn ovAA== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gl0zgtYwmt0CpirjjtGPR1o8PX8OxNROiyxxkPm8VhQ=; b=HLYPjXavwV35lnO7rWnvDu2KR/oHqzJhQ5lJR8lH+EJqin6A8kbUHIsnITbJn3bAQz /UaOIugXR/bcyGPLaIun94gue6tpMjpX3mNp+UXcOAexLJHMZ7xLUxsrv78MptvXXa4U yN9HgECOrKOpdPGBsuNmL1Plia7g8hLhHXtSPRPg89NFfo0bJs4aEoKxMq0kvV8NPXGo XgZyZN9oQj8zV3wzwZ8hOVz9cmGpRIVrk0IvnCf4UQDBtfSaD674HKAuyVM0q1jswRpk UiFm8DizQQcYWwh5BoDMccYiVbvNoCXMBPvwV3hLJ1fNCJdOziwFEQMRjvgA8JRxlaQO f0uQ== X-Gm-Message-State: AGi0PuarSNPF42SIV7U0hfAiPzG2Z+Hyg1fTQ2neQ/HTAOwny+OuXWPa ZuWGJaWFvQphO6m+TOZ46iEFvKvMzefBdlBfNnY/CA== X-Google-SMTP-Source: APiQypKiUW5hSE21GvNMNIjHj1IubKnE5ngcCV3RdR0++1l55ytojUK1y/Q/I4uWIep09OR5b4sxq+GKfkJJMZ8EMtw= X-Received: by 2002:a67:1b81:: with SMTP id b123mr9693931vsb.172.1586006650384; Sat, 04 Apr 2020 06:24:10 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000001f57805a276f36f" X-Mailing-List: archive/latest/102206 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAJN192_fwzCTqKN1+hprpF=gWk36iMGiLAzSgtQ9gx4gw8yPGQ@mail.gmail.com Approved: robomod@news.nic.it Lines: 72 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 4 Apr 2020 18:53:55 +0530 X-Original-Message-ID: Xref: csiph.com linux.debian.devel.mentors:43498 linux.debian.maint.python:12422 --00000000000001f57805a276f36f Content-Type: text/plain; charset="UTF-8" Hi, Currently python-cobra FTBFS reported here [1]. >From the logs, in the last message[2] it looks like an import-error for '_libsbml' file which corresponds to libsbml (with python3-sbml5 as a provide) package. When I dug into looking at libsbml, I noticed that the relevant file (libsbml.py) which throws error is generated with swig-3.0 by the upstream [3] While the same file in the apt archive (observed after $apt source python3-sbml5) seems to be generated with swig-4.0, and that's the current swig version in Debian now. When I compared, the one generated with swig 4.0 looks pretty different from the one generated by swig 3.0. I "suspect" that the error is due to the swig version change to 4.0, and corresponding API changes. I would really appreciate if I could have more folks "confirm" that this is the case, and I'm not missing out on anything else. I'll then file a report upstream then, asking for corresponding code changes needed for swig 4.0. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955656 [2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955656#10 [3]: https://salsa.debian.org/med-team/libsbml/-/blob/master/src/bindings/python/libsbml.py?expanded=true&viewer=simple Thanks and regards Nilesh --00000000000001f57805a276f36f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Currently python-cobra FTBFS reporte= d here [1].

From the log= s, in the last message[2] it looks like an import-error for '_libsbml&#= 39; file which corresponds to libsbml (with python3-sbml5 as a provide) pac= kage. When I dug into looking at libsbml, I noticed that the relevant file = (libsbml.py) which throws error=C2=A0
is generated w= ith swig-3.0 by the upstream [3]

While the same file in the apt archive (observed after $apt sourc= e python3-sbml5) seems to be generated with swig-4.0, and that's the cu= rrent swig version in Debian now.

When I compared, the one generated with swig 4.0 looks pretty dif= ferent from the one generated by swig 3.0.
I "s= uspect" that the error is due to the swig version change to 4.0, and c= orresponding API changes.

I would really appreciate if I could have more folks "confirm" = that this is the case, and I'm not missing out on anything else.
<= div dir=3D"auto">I'll then file a report upstream then, asking for corr= esponding code changes needed for swig 4.0.