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


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

Re: Next python-mote pre-condition - issue with pybuild: python-backports.tempfile conflicting python-backports.weakref

Path csiph.com!news.mixmin.net!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Olivier Sallou <olivier.sallou@irisa.fr>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: Next python-mote pre-condition - issue with pybuild: python-backports.tempfile conflicting python-backports.weakref
Date Tue, 23 Jan 2018 17:20:01 +0100
Message-ID <vb9sJ-4vm-1@gated-at.bofh.it> (permalink)
References <v7a41-1Y3-1@gated-at.bofh.it> <v8alk-eV-7@gated-at.bofh.it> <v8bAJ-11k-7@gated-at.bofh.it> <v8cwN-1G5-5@gated-at.bofh.it> <v8eyC-3gz-17@gated-at.bofh.it> <v8eIh-3kb-25@gated-at.bofh.it> <v8Glb-5um-1@gated-at.bofh.it> <vaKXn-5QB-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jan 23 16:11:26 2018
Old-Return-Path <olivier.sallou@irisa.fr>
X-Amavis-Spam-Status No, score=-10 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_HI=-5, THREADTOPIC=2] autolearn=unavailable autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
X-Ironport-Av E=Sophos;i="5.46,402,1511823600"; d="scan'208";a="310324533"
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Originating-IP [93.182.241.67]
X-Mailer Zimbra 8.0.9_GA_6191 (ZimbraWebClient - GC63 (Linux)/8.0.9_GA_6191)
Thread-Topic Next python-mote pre-condition - issue with pybuild: python-backports.tempfile conflicting python-backports.weakref
Thread-Index UHUNzU59CPuQ7TE36rRqZ/sStyOgMQ==
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15478
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1287060898.28997207.1516723865837.JavaMail.zimbra@irisa.fr
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org, Debian Science List <debian-science@lists.debian.org>, 777089@bugs.debian.org
X-Original-Date Tue, 23 Jan 2018 17:11:05 +0100 (CET)
X-Original-Message-ID <1287060898.28997207.1516723865837.JavaMail.zimbra@irisa.fr>
X-Original-References <20180112160153.swvluhcudyw43ll6@an3as.eu> <DB23C409-7C63-4C19-B75E-8B2EFF393983@onerussian.com> <20180115115929.gnffbsmgmr2b2dcr@an3as.eu> <20180115125227.e63vjwbitdyes26l@sar0.p1otr.com> <20180115150627.kgbqbkp4vxctyaj6@an3as.eu> <20180115151500.zki5z3lxuhldylzr@sar0.p1otr.com> <20180116204521.xm27u6rucyoxgk2p@an3as.eu> <20180122140410.llapcwh7xg2uwsg7@an3as.eu>
Xref csiph.com linux.debian.maint.python:10083 linux.debian.bugs.dist:877085

Cross-posted to 2 groups.

Show key headers only | View raw



----- Mail original -----
> De: "Andreas Tille" <andreas@an3as.eu>
> À: debian-python@lists.debian.org, "Debian Science List" <debian-science@lists.debian.org>, 777089@bugs.debian.org
> Envoyé: Lundi 22 Janvier 2018 15:04:10
> Objet: Re: Next python-mote pre-condition - issue with pybuild: python-backports.tempfile conflicting
> python-backports.weakref
> 
> Hi,
> 
> I kept on working packaging python-moto predependencies.  I'm now
> stumbling upon python-backports.tempfile[1] and
> python-backports.weakref[2].  My naive packaging attempt puts
> the modules into

well, package name should not really use dots in name, I suppose that's what leads to error. But don't know how to fix that with python helper... :-(

both modules use the same "base module", ie *backports* so final dest is correct. From a pure python point of view, you can "merge" multiple sub modules in the same mail module, python will manage the duplication of __init__.py

However, in Debian case, I do not know how this can be handled as 2 packages cannot hold the same file (even if __init__ is only an empty file), and at least one must be present (if you install only one).

Olivier

> 
>    /usr/lib/python*/dist-packages/backports
> 
> leaving the same package
> 
>    /usr/lib/python3/dist-packages/backports/__init__.py
> 
> for both packages and thus the packages are conflicting.  I have no idea
> why pybuild simply uses the dir backports instead of the full module
> name nor do I have any idea how to fix this.  I tried to hack around in
> the backports.weakref package using
> 
> 
> override_dh_auto_install:
>         for dir in `find .pybuild -type d -name backports | sort | uniq` ; do
>         \
>             mv $${dir} $${dir}.weakref ; \
>         done
>         dh_auto_install
> 
> but this rather has led to an empty package.
> 
> Any help is welcome
> 
>         Andreas.
> 
> 
> [1] https://salsa.debian.org/science-team/python-backports.tempfile.git
> [2] https://salsa.debian.org/science-team/python-backports.weakref.git
> 
> --
> http://fam-tille.de
> 
> 

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


Thread

Packaging python-aws-xray-sdk to fullfil a dependency for python-moto Andreas Tille <andreas@an3as.eu> - 2018-01-12 17:10 +0100
  If there is no response in debian-python then debian-science might  be the right team (Was: Packaging python-aws-xray-sdk to fullfil a  dependency for python-moto) Andreas Tille <andreas@an3as.eu> - 2018-01-15 09:40 +0100
    Re: If there is no response in debian-python then debian-science might be the right team (Was: Packaging python-aws-xray-sdk to fullfil a dependency for python-moto) Yaroslav Halchenko <yoh@onerussian.com> - 2018-01-15 11:50 +0100
      Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 13:00 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Simon McVittie <smcv@debian.org> - 2018-01-15 13:30 +0100
          Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 13:50 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Tristan Seligmann <mithrandi@mithrandi.net> - 2018-01-15 13:30 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Piotr Ożarowski <piotr@debian.org> - 2018-01-15 14:00 +0100
          Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 16:10 +0100
            Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Piotr Ożarowski <piotr@debian.org> - 2018-01-15 16:20 +0100
              Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Andreas Tille <andreas@an3as.eu> - 2018-01-16 21:50 +0100
                Re: Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Tristan Seligmann <mithrandi@mithrandi.net> - 2018-01-17 08:20 +0100
                Re: Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Andreas Tille <andreas@an3as.eu> - 2018-01-17 11:20 +0100
                Bug#777089: Preconditions for python-moto finished - help needed to build package itself Andreas Tille <andreas@fam-tille.de> - 2018-02-02 09:30 +0100
                Bug#777089: Preconditions for python-moto finished - help needed to build package itself Olivier Sallou <olivier.sallou@irisa.fr> - 2018-02-02 10:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Andreas Tille <andreas@an3as.eu> - 2018-01-22 15:10 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Piotr Ożarowski <piotr@debian.org> - 2018-01-22 15:30 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Olivier Sallou <olivier.sallou@irisa.fr> - 2018-01-23 17:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Olivier Sallou <olivier.sallou@irisa.fr> - 2018-01-26 16:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Sandro Tosi <morph@debian.org> - 2018-01-26 17:10 +0100

csiph-web