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


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

Bug#877849: ITP: python-magic -- A python wrapper for libmagic

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#877849: ITP: python-magic -- A python wrapper for libmagic
Date Fri, 06 Oct 2017 08:40:02 +0200
Message-ID <uxusF-65m-1@gated-at.bofh.it> (permalink)
References <um26J-7EI-15@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Oct 6 06:33:12 2017
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Christoph Biedl <debian.axhn@manchmal.in-ulm.de>, 877849@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 877849
X-Debian-Pr-Package wnpp
X-Spam-Bayes score:0.0000 Tokens: new, 11; hammy, 149; neutral, 151; spammy, 1. spammytokens:0.987-1--hupps hammytokens:0.000-+--H*UA:2014-03-12, 0.000-+--H*u:2014-03-12, 0.000-+--H*u:1.5.23, 0.000-+--H*UA:1.5.23, 0.000-+--H*c:pgp-sha512
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1409605
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 93
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 6 Oct 2017 08:30:21 +0200
X-Original-Message-ID <1507271366@msgid.manchmal.in-ulm.de>
X-Original-References <20170904174256.40241925@monsterix.mbehrle.de>
Xref csiph.com linux.debian.bugs.dist:854921 linux.debian.devel:81899 linux.debian.maint.python:9922

Cross-posted to 3 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: wnpp
Severity: wishlist
Owner: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>

* Package name    : python-magic
  Version         : 0.4.13
  Upstream Author : Adam Hupp <adam@hupp.org>
* URL             : https://github.com/ahupp/python-magic/
* License         : MIT
  Programming Lang: Python
  Description     : A python wrapper for libmagic

Tentative long description:

python-magic is a python interface to the libmagic file type
identification library. libmagic identifies file types by checking
their headers according to a predefined list of file types.


Some background:

For quite some time, there have been two but incompatible
implementations for python-magic, providing python bindings for
libmagic (src:file).

The one provided by file ("[file]") itself might be a bit older but
appearently Adam Hupp's implementation ("[pypi]") provides a better
feature set and might even have a broader user base.

Some discussion on this took place on the debian-python list, starting
at [1]: Debian currently provides [file] so at least three packages
that require [pypi] ship their own code copy, more to come. In
upstream[2], there has been a basic understanding between Christos
Zoulas ([file]) and Adam Hupp ([pypi]) to resolve that conflict, and
Adam has announced[3] to work on a merge.

The tentative transition plan is as follows, and I'm open for
suggestions:

* Wait until [pypi] provides the [file] API.
* Ship the library using a different binary package name like
  "Package: python-magic-pypi, Provides: python-magic". Same for
  python3, here and in all the following.
* Ask users of python-magic to install this new package and check
  for regression.
* Big switch when it seems feasible: Then src:file will no longer
  provide python-magic, this package here will do insted.
  (For the records, Debian maintainer for src:file is yours truly.)
* Ask maintainers who ship a [pypi] code copy to use the package
  instead. Would be a MBF if there weren't just a few.

As my Python knowledge is limited, I'm not particulary keen on
maintaining this for Debian and I might even ITA it after the
transition. If somebody else wishes to do the job instead, please step
forward. For the filexit time however, good coordination is required.

    Christoph

[1] https://lists.debian.org/debian-python/2017/09/msg00008.html
[2] The file mailing list archive is down, relevant parts are
    quoted in
    https://lists.debian.org/debian-python/2017/09/msg00015.html
[3] https://lists.debian.org/debian-python/2017/10/msg00021.html

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


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