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


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

Re: Python distributions with multiple packages

Path csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python distributions with multiple packages
Date Fri, 26 Aug 2022 22:20:01 +0200
Message-ID <EYNY5-3h4G-3@gated-at.bofh.it> (permalink)
References <EYFxv-3c0Y-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Aug 26 20:10:05 2022
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-106.871 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-python@lists.debian.org
X-Gpg-Public-Key http://www.rivera.za.net/stefano.gpg
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent NeoMutt/20201127
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20227
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20220826200943.j3yxl2uusoyvbcrr@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 26 Aug 2022 20:09:43 +0000
X-Original-Message-ID <20220826200943.j3yxl2uusoyvbcrr@satie.tumbleweed.org.za>
X-Original-References <46a40391c041f38d4efabb7c9b5a8425@posteo.de>
Xref csiph.com linux.debian.maint.python:14389

Show key headers only | View raw


Hi c.buhtz (2022.08.26_11:10:03_+0000)
> today I found out that it is possible to create a Python "Distribution
> Package" [1] (e.g. a whl-file) that contain more then one "Importable
> Packages" [2].
> 
> Are you aware of any packages in Debian that are related to upstream
> projects using that "technic"?

This has always been somewhat frowned upon, but it's not that uncommon.
Offhand, I can think of python3-configobj, which upstream is in the
process of tidying up.

> And if so how do you (as debian distro maintainers) handle that? Do you
> create one deb-file for "mydistropackage" (e.g.
> "python3-mydistropackage.deb") or do you separate into "python3-mya.deb" and
> "python3-myb.deb"?

Sometimes we do the one, sometimes the other. It depends.

A famous example is pkg_resources, which is shipped in setuptools,
upstream. We packaged it as a separate module, because it's a runtime
dependency of many packages, but they don't need the whole of setuptools
at runtime.

When we split packages like this, it breaks our automatic dependency
generation tools.  They understand upstream's dependency declarations,
so we have to manually add dependencies to packages that depend on split
libraries.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

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


Thread

Python distributions with multiple packages c.buhtz@posteo.jp - 2022-08-26 13:20 +0200
  Re: Python distributions with multiple packages Stefano Rivera <stefanor@debian.org> - 2022-08-26 22:20 +0200

csiph-web