control: retitle -1 construct 2.8 incompatible with 2.5, should add versioned Breaks control: tag -1 patch
* Sébastien Delafond: > On Nov/26, Hilko Bengen wrote: >> The plaso and dfvfs packages are maintained by me and are affected by >> the API breakage. >> [...] >> I think I am going to package construct-legacy, based upon >> <https://pypi.python.org/pypi/construct-legacy>. > > This makes the most sense: I don't think it's reasonable to keep an > older version forever because some upstream authors don't, or can't, > move on to the new API. The upload went through fast. > At any rate, I should have coordinated with you so construct > 2.8 and > construct-legacy would have entered sid around the same time: please > accept my apologies about that. No worries. :-) >> It looks like mitmproxy and bdfproxy are also affected > Well, no: the newer construct was uploaded specifically so a recent > mitmproxy can be packaged and re-enter testing. >From upstream git, it seems that the construct dependency has been removed entirely, but that happened after 2.0.2. To avoid breakage on partial upgrades, some versioned Breaks need to be added, see attached patch. - mitmproxy: Versions below 1.0 affected (as per upstream git) - bdfproxy: not affected directly, bogus dependency - ironic-inspector: not affected, only used construct 2.8+, should declare versioned dependency, bug filed - plaso: workaround added - dfvfs: workaround added - dfwinreg (not on the list before): workaround added Cheers, -Hilko
>From 4615cd0f1d276dd749a56def56e9703aec12826c Mon Sep 17 00:00:00 2001 From: Hilko Bengen <ben...@debian.org> Date: Tue, 28 Nov 2017 11:40:06 +0100 Subject: [PATCH] Add versioned Breaks statements --- debian/control | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/control b/debian/control index 6ff5ca4..05ac3a2 100644 --- a/debian/control +++ b/debian/control @@ -16,6 +16,11 @@ Vcs-Browser: http://git.debian.org/?p=collab-maint/construct.git;a=summary Package: python-construct Architecture: all Depends: python-six, ${python:Depends}, ${misc:Depends} +Breaks: + python-dfvfs (<< 20171125-1~), + python-dfwinreg (<< 20170706-2~), + plaso (<< 1.5.1+dfsg-4~), + mitmproxy (<< 1.0), Provides: ${python:Provides} Description: powerful declarative parser (and builder) for binary data Construct is a python library for parsing and building of data structures @@ -29,6 +34,7 @@ Description: powerful declarative parser (and builder) for binary data Package: python3-construct Architecture: all Depends: python3-six, ${python3:Depends}, ${misc:Depends} +Breaks: python3-dfwinreg (<< 20170706-2~) Description: powerful declarative parser (and builder) for binary data Construct is a python library for parsing and building of data structures (binary or textual). -- 2.15.0