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


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

Failing autopkgtest for jupyter-notebook

Started byjulien.puydt@gmail.com
First post2022-08-11 12:10 +0200
Last post2022-08-11 22:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  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

#14321 — Failing autopkgtest for jupyter-notebook

Fromjulien.puydt@gmail.com
Date2022-08-11 12:10 +0200
SubjectFailing autopkgtest for jupyter-notebook
Message-ID<ETdix-hrOH-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#14322

FromCarles Pina i Estany <carles@pina.cat>
Date2022-08-11 12:50 +0200
Message-ID<ETdVf-hs1k-7@gated-at.bofh.it>
In reply to#14321
Hi,

On Aug/11/2022, julien.puydt@gmail.com wrote:

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

do you have a link to the full log on salsa and the repo?

I'd like to verify something...

Cheers,

-- 
Carles Pina i Estany
https://carles.pina.cat

[toc] | [prev] | [next] | [standalone]


#14332

Fromjulien.puydt@gmail.com
Date2022-08-11 22:20 +0200
Message-ID<ETmOR-hxp8-7@gated-at.bofh.it>
In reply to#14322
Le jeudi 11 août 2022 à 11:34 +0100, Carles Pina i Estany a écrit :
> 
> Hi,
> 
> On Aug/11/2022, julien.puydt@gmail.com wrote:
> 
> > So far, so good, but I didn't unbreak the autopkg tests. Here is
> > the
> > relevant part of the log:
> 
> do you have a link to the full log on salsa and the repo?
> 
> I'd like to verify something...

Well, the repo is salsa.

For the full log, it's too big for paste.debian.net ; but from the repo
you shouldn't have too hard a time replicating it.

Cheers,

J.Puydt

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web