Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #9780
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Namespace conflict for python-magic |
| Date | Mon, 04 Sep 2017 18:20:02 +0200 |
| Message-ID | <um2gq-7HU-9@gated-at.bofh.it> (permalink) |
| References | <um26J-7EI-15@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Sep 4 16:13:56 2017 |
| Old-Return-Path | <debian@kitterman.com> |
| X-Amavis-Spam-Status | No, score=-6.79 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, FOURLA=0.1, LDO_WHITELIST=-5, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .kitterman. - helo: .mailout03.controlledmail. - helo-domain: .controlledmail.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=2001409; t=1504541608; bh=UCZl8iQGQ6ntCr7baPoCpfjUK9M/QzE+dQ8/jg4hD+Q=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=e595wDD3i1sEPYjw7v2jt98X5fS8HMP1+ZvjhmfpUqkbNEibodOld0JHeldkeW3oK XM5doI2nvBYt2wIWe2JRRFBGA7YDtLaOCcK9pGdi+2AGQuM/t0xIv5ANZtd5bh9sZv fex9BrGPsIs3dbdGku0uPp9BLGzBUyrs1LXYxoSo= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/15161 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/E9866595-A42C-4DD7-B5FB-CB560C91F1CD@kitterman.com |
| Approved | robomod@news.nic.it |
| Lines | 56 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian.axhn@manchmal.in-ulm.de |
| X-Original-Date | Mon, 04 Sep 2017 16:13:25 +0000 |
| X-Original-Message-ID | <E9866595-A42C-4DD7-B5FB-CB560C91F1CD@kitterman.com> |
| X-Original-References | <20170904174256.40241925@monsterix.mbehrle.de> |
| Xref | csiph.com linux.debian.maint.python:9780 |
Show key headers only | View raw
On September 4, 2017 11:42:56 AM EDT, Mathias Behrle <mbehrle@debian.org> wrote:
>
>Hi Christoph, hi folks,
>
>there exists an odd namespace conflict for python-magic.
>
>Current python(3)-magic in Debian is built from source package
>'file'[0].
>According to the included setup.py the package for the python bindings
>are
>published as 'file-magic'[1] and are available on PyPi under this
>name[2].
>
>OTOH the package providing python-magic on PyPi[3] is provided by
>another
>Upstream[4].
>
>The cleanest solution for me would look like
>- package file in Debian should provide python(3)-file-magic
>- python-magic should be the package name corresponding to the PyPi
>package
> python-magic[4]
>
>The realization of this solution would create some substantial
>overhead.
>Therefore it will be more adequate to find a different, but
>nevertheless
>meaningful package name for python-magic from [4]. The ugly, but best
>name
>currently on my mind would be python-python-magic.
>
>Any thoughts?
>
>Cheers,
>Mathias
>
>
>[0] https://sources.debian.net/src/file/
>[1] https://sources.debian.net/src/file/1:5.31-1/python/setup.py/
>[2] https://pypi.python.org/pypi/file-magic/0.3.0
>[3] https://pypi.python.org/pypi/python-magic/
>[4] http://github.com/ahupp/python-magic
There is a nearly equivalent situation with the "dns" namespace. There are two completely unrelated packages; one provides "DNS" and the other provides "dns". Obviously they can't both be python-dns in Debian. One is python{3}-dns and the other is python{3}-dnspython.
If you went down that route, instead of python-python-magic, you'd get python-magicpython. Personally, I like that a little better, but it's a matter of taste. Policy doesn't provide any guidance for this case.
Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-09-04 18:10 +0200
Re: Namespace conflict for python-magic Scott Kitterman <debian@kitterman.com> - 2017-09-04 18:20 +0200
Re: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-09-04 19:40 +0200
Re: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-09-05 13:10 +0200
Re: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-09-05 18:30 +0200
Re: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-09-06 10:30 +0200
Re: Namespace conflict for python-magic Adam Hupp <adam@hupp.org> - 2017-10-03 20:30 +0200
Re: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-10-05 12:20 +0200
Re: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-10-06 08:40 +0200
Re: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-10-06 09:30 +0200
Re: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-10-27 21:50 +0200
Re: [tryton-debian] Namespace conflict for python-magic Mathias Behrle <mathiasb@m9s.biz> - 2017-10-27 14:50 +0200
Re: [tryton-debian] Namespace conflict for python-magic Adam Hupp <adam@hupp.org> - 2017-12-04 21:20 +0100
Re: [tryton-debian] Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-12-04 23:10 +0100
Re: [tryton-debian] Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2018-01-01 15:10 +0100
Re: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-06 20:30 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-08 12:00 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-08 13:30 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Adam Hupp <adam@hupp.org> - 2018-01-15 07:50 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-16 20:20 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-16 20:50 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-14 21:40 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2018-01-14 23:10 +0100
Bug#877849: [tryton-debian] Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-15 09:40 +0100
Bug#877849: [tryton-debian] Bug#877849: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2018-01-19 19:10 +0100
Re: [tryton-debian] Bug#877849: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2018-01-21 17:30 +0100
Re: Namespace conflict for python-magic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-09-05 18:50 +0200
Re: Namespace conflict for python-magic Mathias Behrle <mbehrle@debian.org> - 2017-09-06 11:00 +0200
Bug#877849: ITP: python-magic -- A python wrapper for libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2017-10-06 08:40 +0200
csiph-web