Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #9780
| From | Scott Kitterman <debian@kitterman.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Namespace conflict for python-magic |
| Date | 2017-09-04 18:20 +0200 |
| Message-ID | <um2gq-7HU-9@gated-at.bofh.it> (permalink) |
| References | <um26J-7EI-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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