Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Julian Gilbey Newsgroups: linux.debian.maint.python Subject: Re: Updating jupyter-core to 4.10.0 Date: Thu, 05 May 2022 10:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu May 5 08:43:39 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailing-List: archive/latest/19919 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/YnOOK9ADWa98IYZF@d-and-j.net Approved: robomod@news.nic.it Lines: 28 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Gordon Ball , debian-python@lists.debian.org X-Original-Date: Thu, 5 May 2022 09:43:23 +0100 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:14094 Hi Julien, On Thu, May 05, 2022 at 09:51:28AM +0200, julien.puydt@gmail.com wrote: > Hi, > > I tried to update jupyter-core to 4.10.0, but didn't manage to run the > upstream test suite reliably. > > I first disabled it, so the package was building with both dpkg- > buildpackage and sbuild. A bad solution. > > Then I re-enabled it ; it passes with dpkg-buildpackage (there's a > catch, see [1]), but not with sbuild, and I couldn't find out why. > > If someone has a clue, I'm ready to learn new tricks... I've had similar problems in the past. It usually comes down to the build requiring some package that happens to be present on your system but not listed in the Build-Depends field, so dpkg-buildpackage works, but sbuild doesn't. One thing I've done (boring, but has worked in this sort of case) is to search the code for any occurrences of "import" (patterns such as r'^\s*import\s' and r'^\s*from\s.*\simport\s' are useful here); it might reveal a package not listed in the install requirements. Best wishes, Julian