Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeds.phibee-telecom.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Fioddor Superconcentrado Newsgroups: linux.debian.maint.python Subject: Re: python3- preffix Date: Sun, 04 Oct 2020 18:30:01 +0200 Message-ID: References: X-Original-To: Andrey Rahmatullin X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Oct 4 16:24:56 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.199 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_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, 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:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wlDoZIzmS6P0AH8sMGEgu3negO/7qQZx8cR0dnDlQI8=; b=QJHoRAGyPa29HiOwpcKWOJ+AEsD9CID31PnoPbB+ak4p9huuw9188yDlraeRlzm7cj P7IrMzEcnCaBO191wx6jnCS5SFCwTg3agWLerQKdhbyAryM59LL9jLstEC/yEefyWy9R u+hdMgDvaMQdvWP02OO6FvZcy5CVsCCPi5LhSP0GYm1JtE9qLjzsjLvs90Jugq3faQWQ y+765db3D7wC4NBnxlpq2UPpsZB8nwJt2lMf1121dhLheFKKzpNn1/s5qR9sye7PT4An G20ytDohcamL14JT3QxVSD+H5sHGfJ0WCoYISxz2PECn2pQNVBDldAiMvymKc624QExh iatg== 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=wlDoZIzmS6P0AH8sMGEgu3negO/7qQZx8cR0dnDlQI8=; b=ipcUI4ay/he+trgqTo0eWIdU+GccKb6mF1RbaTTfFd01lPPBYNfq4qGHAn4A9OaMV7 h3tuKSTZN4mdlq5oCbEzUk5koH+UFsS0I2TfgjsF4HEAL6XSrZvAbyyLb3YRwqLrLcEI 764v/qarytjcvlh9oD65XyL4YcVEHdsJAy5Buhx6Ral06h78ZQKXCx/eUj7XGsPGMdO2 mFObIraFANETqMPx0GqgtxJryrfLVx1DjJas4eOl4Wfpa2VEoKYdrKjbfAATl8GYvtM/ Z9mRi/7o06v7cpaodF2KnyVN4zURHvuuKUV3zz/sNI3AXOEIZ8NeW/kJSsxchjIw7daU aFAw== X-Gm-Message-State: AOAM5306Djrjku0qPAmA/k/AqVVWbKyi+GWP1ju0rC9mcxAMq4U1Gtof FwDBwUP8F/w1KbgFMqzqkJYHvtQiIph7hSRFTCU= X-Google-SMTP-Source: ABdhPJzf1onBGcPt2Hg4TWXZszCfnFoQu1wJY/hVLWr0BvgW9J0tZcv1fLmoA6ZJymbXy3lJUdcM9XJsRQQIwtSItTM= X-Received: by 2002:ae9:f80f:: with SMTP id x15mr10769193qkh.341.1601828681447; Sun, 04 Oct 2020 09:24:41 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008c7cd805b0dacd73" X-Mailing-List: archive/latest/18680 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAOh_QLc+5WxufkHqNYT_A-4WSNmHvPaS2vraQxKMgbJ_7Wp-DQ@mail.gmail.com Approved: robomod@news.nic.it Lines: 78 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sun, 4 Oct 2020 18:24:30 +0200 X-Original-Message-ID: X-Original-References: <20201004154631.GI2364@belkar.wrar.name> Xref: csiph.com linux.debian.maint.python:12922 --0000000000008c7cd805b0dacd73 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Andrey. In this case it's a module and therefore needs the prefix. Ok. renamed the source package with python-. I get following (translated back to english): dpkg-buildpackage: information: system architecture amd64 dpkg-source: failure: source package has 2 conflicting values: "python-my-package" and "python3-my-package" dpkg-buildpackage: failure: dpkg-source --before-build . subprocess returned exit status 25 El dom., 4 oct. 2020 a las 17:46, Andrey Rahmatullin () escribi=C3=B3: > On Sun, Oct 04, 2020 at 05:39:16PM +0200, Fioddor Superconcentrado wrote: > > Debian's packaging documentation requires the packages containing pytho= n3 > > apps to be renamed with a python3 suffix. > *apps* shouldn't have a prefix, only modules should. > > > Now I can put that prefix to the source too or not. > No. The current best practices for source package names for Python module > packages are either just foo or python-foo and this wasn't changed when > dropping py2. > > > if I don't I get a conflict warning. > What do you mean? > > > -- > WBR, wRAR > --0000000000008c7cd805b0dacd73 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you Andrey.

In this ca= se it's a module and therefore needs the prefix.
Ok. renamed = the source package with python-.

I get following (= translated back to english):
dpkg-buildpackage: information: syst= em architecture amd64
dpkg-source:=C2=A0 failure: source pack= age has 2 conflicting values: "python-my-package" and "pytho= n3-my-package"
dpkg-buildpackage: failure: dpkg-source --bef= ore-build . subprocess returned exit status 25


El d= om., 4 oct. 2020 a las 17:46, Andrey Rahmatullin (<wrar@debian.org>) escribi=C3=B3:
On Sun, Oct 04, 2020 at 05:39:16PM +0= 200, Fioddor Superconcentrado wrote:
> Debian's packaging documentation requires the packages containing = python3
> apps to be renamed with a python3 suffix.
*apps* shouldn't have a prefix, only modules should.

> Now I can put that prefix to the source too or not.
No. The current best practices for source package names for Python module packages are either just foo or python-foo and this wasn't changed when=
dropping py2.

> if I don't I get a conflict warning.
What do you mean?


--
WBR, wRAR
--0000000000008c7cd805b0dacd73--