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


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

Re: egg-info and Debian-specific submodule packages

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: egg-info and Debian-specific submodule packages
Date Mon, 30 Jan 2017 10:30:01 +0100
Message-ID <t5grD-2eP-1@gated-at.bofh.it> (permalink)
References <t5bih-7sP-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 30 09:25:46 2017
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.979 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_FROM_MX=-3.1; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (4.8.0-0.bpo.2-amd64)
User-Agent NeoMutt/20161104 (1.7.1)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14567
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20170130092515.kfubvhxtkcn4g4nf@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 30 Jan 2017 10:25:15 +0100
X-Original-Message-ID <20170130092515.kfubvhxtkcn4g4nf@sar0.p1otr.com>
X-Original-References <1485747128.8454.4.camel@debian.org>
Xref csiph.com linux.debian.maint.python:9205

Show key headers only | View raw


[Luke W Faraone, 2017-01-30]
> In bug #744741[1], we have a report where a lack of ``egg-info`` metadata breaks
> both ``pip``'s installation detection and packages that use ``pkg_resources`` to
> discover dependencies.
> 
> Usually, the answer would be simple: ship the ``egg-info`` metadata as part of
> the package. But PySide is distributed upstream[2] and via PyPI[3] as one
> monolithic package. Debian splits that out into 14 packages, ``python-
> pyside.phonon``, ``python-pyside.qtcore``, ``python-pyside.qtdeclarative``, etc.
> 
> So, should we ship the egg-info files in a common package, as Barry
> suggested[4], and make each of the submodules depend on it? This has the

there's already python-pyside and python3-pyside that depend on all
other subpackages. Upstream expects pkg_resources.require('PySide') to
confirm that all of them are installed (as otherwise there would be
more egg-infos) so the answer is simple: ship it in python-pyside and
python3-pyside.

> unfortunate side-effect of breaking third-party packages that attempt to detect
> whether PySide is installed.
> 
> Alternatively, we could only distribute it as part of ``python-pyside`` (a
> metapackage), but this would require patching to some Debian-distributed
> packages such as ``yubikey-piv-manager``.

yubikey-piv-manager can either depend of python-pyside or remove PySide
from setup.py in order to keep (in Depends) python-pyside.qtgui and
python-pyside.qtnetwork only, yes

> A third option would be to ask upstream to split out the packages as we have
> done -- that would resolve the conflict in this instance, but not the general
> issue, and would probably take a lot of effort (or be rebuffed).

even more eggs? Please no.
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

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


Thread

egg-info and Debian-specific submodule packages Luke W Faraone <lfaraone@debian.org> - 2017-01-30 05:00 +0100
  Re: egg-info and Debian-specific submodule packages Piotr Ożarowski <piotr@debian.org> - 2017-01-30 10:30 +0100

csiph-web