Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13185

Re: Python louvain packages naming confusion.

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From "Michael R. Crusoe" <crusoe@debian.org>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: Python louvain packages naming confusion.
Date Wed, 10 Feb 2021 10:50:02 +0100
Message-ID <BGU8y-4Y9-3@gated-at.bofh.it> (permalink)
References <BGJG9-6Wa-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Feb 10 09:45:19 2021
Old-Return-Path <michael.crusoe@gmail.com>
X-Amavis-Spam-Status No, score=-3.261 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SARE_LWSHORTT=1.24] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-ua1-f53.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4ogIv+0OJ47iCVJq1TQ5k6uj0qGbQUKw1GFIv59cXIA=; b=Nl22GouT39+jxNwbgL2Wr9kCC/3DEtp1t48lRvHBbPlR4/J+dlvIG71Lp60oDwzovE R0AshtZvKP6RTxVoEv+lVKayuoLpQ/nDc+bBjoS5doleMhXcZxNUFw9sr0WDCU535t+9 RTuFTt4qSU+kiCzxD9essRQD2Rln5tvHR+mDZIPsOKamo7thd0Ja3D8Ti4oyEuYzOBhw Sqja+5gvHsy/nXUgXJmRFkfjwyWhvhMvyB2OQqCGY+/39Egmv4X6r4kBK1sayHovRxT5 ZXnU2bEYOQZLlM6pCddSa4kMO8X2uRaHWP/eQdf8Cr1uJtxi6NWhwMDLEad5o6b3ghra uEvA==
X-Gm-Message-State AOAM530rOGMAxO1zQaM9Zqk6FUrZfajjUqdh7enzlbatNoFcKJX/Qp1K LpqrjBe7fk95AA+YTrvaB0LbiO1ku0RKTQ==
X-Google-SMTP-Source ABdhPJxvN9728IbeKJSE+35Qf3rjPYaLnLyDlUf1pko88mSo5DlNs1nwrHtZhAgd79JIfrNBxCXmyA==
X-Received by 2002:ab0:6e91:: with SMTP id b17mr1165029uav.50.1612949391277; Wed, 10 Feb 2021 01:29:51 -0800 (PST)
X-Received by 2002:ab0:4244:: with SMTP id i62mr1080244uai.37.1612949383336; Wed, 10 Feb 2021 01:29:43 -0800 (PST)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAD=Wrc+9S6Ev4q4QorcWR-UVMtrhe8jwiwGVoR89e0wb9OKMBw@mail.gmail.com>
Content-Type multipart/alternative; boundary="00000000000008defe05baf80bb8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18967
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAD=Wrc+9S6Ev4q4QorcWR-UVMtrhe8jwiwGVoR89e0wb9OKMBw@mail.gmail.com
Approved robomod@news.nic.it
Lines 91
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>, Debian Med Project List <debian-med@lists.debian.org>, 982417@bugs.debian.org
X-Original-Date Wed, 10 Feb 2021 10:29:31 +0100
X-Original-Message-ID <CAD=Wrc+9S6Ev4q4QorcWR-UVMtrhe8jwiwGVoR89e0wb9OKMBw@mail.gmail.com>
X-Original-References <aaf68430ce3c730545c5427aba8c1ab0a3571b31.camel@ghic.org>
Xref csiph.com linux.debian.maint.python:13185 linux.debian.bugs.dist:1047423

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 9 Feb 2021 at 23:53, Diane Trout <diane@ghic.org> wrote:

> Hello,
>
> The fairly popular (in the world of bioinformatics) ScanPy package uses
> a Python version of the louvain clustering algorithm implemented by:
>
> https://github.com/vtraag/louvain-igraph
> https://pypi.org/project/louvain/
>
> which installs into the "louvain" dist-packages directory.
> (from debc)
> ./usr/lib/python3/dist-packages/louvain/
>
> I have it mostly packaged
>
> However currently in the Debian archive there's a different louvain
> package
>
> https://github.com/taynaud/python-louvain
> https://pypi.org/project/python-louvain/
> https://salsa.debian.org/python-team/packages/python-louvain
>
> It installs into (according to debc)
> ./usr/lib/python3/dist-packages/community/
>
> Unfortunately for this package we now automatically run autodep8 which
> fails because the import name is community and not louvain.
>

In the short term I recommend fixing this by adding a file to the Debian
python-louvain package named "debian/tests/autopkgtest-pkg-python.conf"
with the contents "import_name = community"


-- 
Michael R. Crusoe

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python louvain packages naming confusion. Diane Trout <diane@ghic.org> - 2021-02-09 23:30 +0100
  Re: Python louvain packages naming confusion. Paul Wise <pabs@debian.org> - 2021-02-10 02:50 +0100
    Re: Python louvain packages naming confusion. Diane Trout <diane@ghic.org> - 2021-02-10 05:30 +0100
  Re: Python louvain packages naming confusion. "Michael R. Crusoe" <crusoe@debian.org> - 2021-02-10 10:50 +0100
    Bug#982417: Python louvain packages naming confusion. Diane Trout <diane@ghic.org> - 2021-02-10 19:40 +0100
    Re: Python louvain packages naming confusion. Diane Trout <diane@ghic.org> - 2021-02-10 21:30 +0100
      Re: Python louvain packages naming confusion. Sandro Tosi <morph@debian.org> - 2021-02-11 00:40 +0100
        Bug#982417: Python louvain packages naming confusion. Diane Trout <diane@ghic.org> - 2021-02-11 02:00 +0100

csiph-web