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


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

Failing autopkgtest for jupyter-notebook

From julien.puydt@gmail.com
Newsgroups linux.debian.maint.python
Subject Failing autopkgtest for jupyter-notebook
Date 2022-08-11 12:10 +0200
Message-ID <ETdix-hrOH-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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