Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Adam Hupp Newsgroups: linux.debian.maint.python,linux.debian.bugs.dist Subject: Re: [tryton-debian] Namespace conflict for python-magic Date: Mon, 04 Dec 2017 21:20:01 +0100 Message-ID: References: X-Original-To: Mathias Behrle X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 4 20:15:09 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-1.852 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.146, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4iXRej5gDrJToTt9P1uUlptQLrmIHZaAW7Qwlh1xocE=; b=QhN9YHHRyfrZM75mGaiKnS5baD5mQoV2BtjZEE4bScuDudQSfCswCAOqXAP2HIskOF dpIebBMxibo27B97FxUt+3BXGVxHeQ+wTLr0c5/F4xA2Fx6gfx8dBo7FbVbzx9tT4nUf p1tYV+/PiuHFsj1k9/a4S7k0OjfBUIpIKFTiJBwqefqhAfiB/wHlhdYgdBxrFSi3tYVX +8L84JBLhB4EXi7ExWHjsbrvWLkJcWD/SNgGSWq+soOAGPmU0WybQURxxZj5H/V5g0E7 qQwn1XNeKUbr/RcGEl8315Gjqa2V3lHbH9MQJDNMsMrkSpkE/ozC/KVq9HFUoRCf2hlt kfQw== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4iXRej5gDrJToTt9P1uUlptQLrmIHZaAW7Qwlh1xocE=; b=FzFr2tytgd6rvLqX+FaENASH23sbh2Bwtll1IDsGObi2HI+nqQNQgV8C8clmJ9IJVH wna83WXT7so4VwVG4qZAw5JrzeisaoBjMnWmaobPoTHlI/HbSWI78OzX7f27DrZfCj51 8J33sGfbAcQFHsBcBY3q4YvzNq1ZZ+cDw9rvnCXP5DijJC0sR9jKnXo3myrkfT2kYegZ mdFLKb+7cOlEt0olZiV6fDzH5qT4H1FfNiBGxqlJCRUtZYxdRYWNK3ewh+pzjzOsIcDW 5Rr2xaqriSav4n3nisMWHFm0oI9U4YLWopAmX1AhlPuSHf5ofqDJPXi6JMeVzY+q3xvG 6hyA== X-Gm-Message-State: AKGB3mKyMRh8ppjk1aNXYLkoJwTNB6NKhDnw/dNw2s5Tt9rlwdQn4t81 TE+EBt1DwuisjO99nuAKoYywd7KjxDc4QRuBLmk= X-Google-SMTP-Source: AGs4zMZBysBH37/+UAKPApbw04FaMutePJDay9Yz1r3SRA9dzEFsFItdR0b/JpMsTCSLRcjMQes0+ZOM17ucjnCL474= X-Received: by 10.176.94.88 with SMTP id a24mr373284uah.142.1512417502776; Mon, 04 Dec 2017 11:58:22 -0800 (PST) MIME-Version: 1.0 Sender: robomod@news.nic.it X-Google-Sender-Auth: Hxmvco0Bp8gm9Dvmfh30Lh86YkA Content-Type: text/plain; charset="UTF-8" X-Mailing-List: archive/latest/15380 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAJTao0-jhKARBKckAqWD1NkixmC_Or6taS1SN_U4KyMmhq37Zw@mail.gmail.com Approved: robomod@news.nic.it Lines: 94 Organization: linux.* mail to news gateway X-Original-Cc: Tryton package maintenance in Debian , Christoph Biedl , Christos Zoulas , debian-python , 877849@bugs.debian.org X-Original-Date: Mon, 4 Dec 2017 11:58:22 -0800 X-Original-Message-ID: X-Original-References: <20170904174256.40241925@monsterix.mbehrle.de> <1504545692@msgid.manchmal.in-ulm.de> <20170905130017.1eb29221@monsterix.mbehrle.de> <1504628090@msgid.manchmal.in-ulm.de> <20170906102348.6587419c@monsterix.mbehrle.de> <20171005120116.3a92221a@monsterix.mbehrle.de> <20171027144420.5194574a@monsterix.mbehrle.de> X-Original-Sender: adam.hupp@gmail.com Xref: csiph.com linux.debian.maint.python:9990 linux.debian.bugs.dist:866979 I've pushed an update here: https://github.com/ahupp/python-magic/tree/libmagic-compat It includes a copy of libmagic's bindings, wrapped in deprecation warnings. So apps should work regardless of which they depend on. Could you take a look and see if this works for your case? On Fri, Oct 27, 2017 at 5:44 AM, Mathias Behrle wrote: > * Mathias Behrle: " Re: [tryton-debian] Namespace conflict for > python-magic" (Thu, 5 Oct 2017 12:01:16 +0200): > > Hi Adam, > > are there any news on the subject? > > The release of Tryton, that will require python-magic is scheduled for next > week. It would be a great service to our users and simplify things a lot, if we > had a common python-magic in place. Please let us know, if we can help with the > planned merge. > > Thanks, > Mathias > > >> * 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 -- Adam Hupp | http://hupp.org/adam/