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


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

Failing autopkgtest for jupyter-notebook

Path csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From julien.puydt@gmail.com
Newsgroups linux.debian.maint.python
Subject Failing autopkgtest for jupyter-notebook
Date Thu, 11 Aug 2022 12:10:01 +0200
Message-ID <ETdix-hrOH-3@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Aug 11 10:07:58 2022
Old-Return-Path <julien.puydt@gmail.com>
X-Amavis-Spam-Status No, score=-6.472 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, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, SARE_MSGID_LONG40=0.637, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State ACgBeo1NwRQaifZSZrnm51pxFxHeNSVwQHL4h51p22kgZxy7moCPKOPX nzZX7jpUFe8tioRrTSk6t5+nvxnByyc=
X-Google-SMTP-Source AA6agR4+dpbF0nQrhK3iI76IHvJb1/eNdfUpvEbcEJwKxM++i7OzISiE2zZzl4xL2xoJJ5Q3iAXLtw==
X-Received by 2002:a05:6000:1a89:b0:222:c186:ca8a with SMTP id f9-20020a0560001a8900b00222c186ca8amr13871635wry.333.1660212461667; Thu, 11 Aug 2022 03:07:41 -0700 (PDT)
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
User-Agent Evolution 3.44.4-1
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20155
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/3287a9406b476b4c66e875431244140d062c9fd0.camel@gmail.com
Approved robomod@news.nic.it
Lines 63
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 11 Aug 2022 12:07:40 +0200
X-Original-Message-ID <3287a9406b476b4c66e875431244140d062c9fd0.camel@gmail.com>
Xref csiph.com linux.debian.maint.python:14321

Show key headers only | View raw


Hi,

I decided to fix the jupyter-notebook packages ; on salsa I:

- updated to a more recent upstream (but still in the same series to
avoid breaking things) ;

- unbroke the build by hand ;

- unbroke the build in chroot.


So far, so good, but I didn't unbreak the autopkg tests. Here is the
relevant part of the log:

autopkgtest [11:58:56]: test pytest: [-----------------------
============================= test session starts
==============================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0+repack
rootdir: /tmp/autopkgtest.GZ5NTc/build.GPO/src
collected 330 items / 38 errors / 5 deselected / 325 selected

==================================== ERRORS
====================================
_ ERROR collecting debian/python3-notebook/usr/lib/python3/dist-
packages/notebook/auth/tests/test_login.py _
import file mismatch:
imported module 'notebook.auth.tests.test_login' has this __file__
attribute:
 
/tmp/autopkgtest.GZ5NTc/build.GPO/src/notebook/auth/tests/test_login.py
which is not the same as the test file we want to collect:
  /tmp/autopkgtest.GZ5NTc/build.GPO/src/debian/python3-
notebook/usr/lib/python3/dist-
packages/notebook/auth/tests/test_login.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for
your test file modules
_ ERROR collecting debian/python3-notebook/usr/lib/python3/dist-
packages/notebook/auth/tests/test_security.py _
import file mismatch:
imported module 'notebook.auth.tests.test_security' has this __file__
attribute:
 
/tmp/autopkgtest.GZ5NTc/build.GPO/src/notebook/auth/tests/test_security
.py
which is not the same as the test file we want to collect:
  /tmp/autopkgtest.GZ5NTc/build.GPO/src/debian/python3-
notebook/usr/lib/python3/dist-
packages/notebook/auth/tests/test_security.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for
your test file modules



I don't know how to do that -- the hints don't help me that much.

Cheers,

J.Puydt

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


Thread

Failing autopkgtest for jupyter-notebook julien.puydt@gmail.com - 2022-08-11 12:10 +0200
  Re: Failing autopkgtest for jupyter-notebook Carles Pina i Estany <carles@pina.cat> - 2022-08-11 12:50 +0200
    Re: Failing autopkgtest for jupyter-notebook julien.puydt@gmail.com - 2022-08-11 22:20 +0200

csiph-web