Re: Namespace conflict for python-magic
* Adam Hupp: " Re: Namespace conflict for python-magic" (Tue, 3 Oct 2017 11:06:38 -0700): That's good news, Adam, thanks for it! Looking forward to get your diff. Best regards, Mathias > Sorry about the slow response. This has been a pain for a while. I > have a provisional diff to merge the two packages. Will give it some > testing and pass a branch to you folks to take a look. Ideally the > upstream file package would take it over. > > On Wed, Sep 6, 2017 at 1:23 AM, Mathias Behrle wrote: > > * Christoph Biedl: " Re: Namespace conflict for python-magic" (Tue, 5 Sep > > 2017 18:24:25 +0200): > > > >> Mathias Behrle wrote... > >> > >> > * Christoph Biedl: " Re: Namespace conflict for python-magic" (Mon, 4 Sep > >> > 2017 19:38:56 +0200): > >> > >> > > The cleanest solution indeed was to bring both upstreams together and > >> > > ask them to reconcile the APIs and eventually make one of the both > >> > > implementations obsolete. As things happen such an attempt was started > >> > > two years ago but appearently never came to a result.[1] > >> > > >> > Agreed, that this would be the cleanest solution, but as you say there is > >> > little probability, that the two upstreams will work together to merge > >> > their implementations. > >> > >> Still this should be tried first. Also, I'm not that pessimistic, see > >> below. So let's bring the parties involved into the loop: > > > > [...] > > > > Thanks for your additional information and initiative to re-launch the > > merge of the two packages. This reads much better and more optimistic than > > what I could find until now! Crossing fingers now in the hope for the best > > outcome for everybody. > > > > Cheers, > > Mathias > > > > -- > > > > Mathias Behrle > > PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6 > > AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6 > > > -- Mathias Behrle PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6 AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6
Bug#877849: ITP: python-magic -- A python wrapper for libmagic
Package: wnpp Severity: wishlist Owner: Christoph Biedl * Package name: python-magic Version : 0.4.13 Upstream Author : Adam Hupp * 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/msg8.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 signature.asc Description: Digital signature
Re: Namespace conflict for python-magic
Mathias Behrle wrote... > That's good news, Adam, thanks for it! Looking forward to get your diff. +1 In order to control the transition, I've filed in ITP (intent to package) for Adam's python-magic as https://bugs.debian.org/877849 Christoph signature.asc Description: Digital signature