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

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 2018-01-23 17:20 +0100
Message-ID <vb9sJ-4vm-1@gated-at.bofh.it> (permalink)
References (3 earlier) <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>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | 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