• Failing autopkgtest for jupyter-notebook

    From julien.puydt@gmail.com@21:1/5 to All on Thu Aug 11 12:10:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carles Pina i Estany@21:1/5 to julien.puydt@gmail.com on Thu Aug 11 12:50:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From julien.puydt@gmail.com@21:1/5 to All on Thu Aug 11 22:20:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)