Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

On updating ipython to upstream 7.29.0

0 views
Skip to first unread message

Julien Puydt

unread,
Nov 19, 2021, 2:10:03 PM11/19/21
to
Hi,

I tried to update ipython to latest upstream. I fixed some things here
and there but there's still :

1) Building the doc, some files don't get found (several no such file
or directory docs/source/whatever/file) and a few syntax errors,
perhaps due to the previous issues -- strangely, that doesn't make the
build fail!


2) Running autopkgtest doesn't work (and that's why I pushed to salsa
but didn't upload):
==================================== ERRORS
====================================
________________________ ERROR collecting test session
_________________________
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:570: in
_importconftest
mod = import_path(conftestpath, mode=importmode)
/usr/lib/python3/dist-packages/_pytest/pathlib.py:544: in import_path
raise ImportPathMismatchError(module_name, module_file, path)
E _pytest.pathlib.ImportPathMismatchError: ('IPython.conftest',
'/tmp/autopkgtest.Peukid/build.VCv/src/IPython/conftest.py',
PosixPath('/tmp/autopkgtest.Peukid/build.VCv/src/debian/python3-
ipython/usr/lib/python3/dist-packages/IPython/conftest.py'))
=============================== warnings summary
===============================
../../../../usr/lib/python3/dist-packages/nose/importer.py:12
/usr/lib/python3/dist-packages/nose/importer.py:12:
DeprecationWarning: the imp module is deprecated in favour of
importlib; see the module's documentation for alternative uses
from imp import find_module, load_module, acquire_lock,
release_lock

IPython/paths.py:66
/tmp/autopkgtest.Peukid/build.VCv/src/IPython/paths.py:66:
UserWarning: IPython parent '/home/jpuydt' is not a writable location,
using a temp directory.
warn("IPython parent '{0}' is not a writable location,"

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info
============================
ERROR - _pytest.pathlib.ImportPathMismatchError: ('IPython.conftest',
'/tmp/...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
!!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 0.81s
=========================
autopkgtest [18:48:54]: test command1: -----------------------]
autopkgtest [18:48:54]: test command1: - - - - - - - - - - results - -
- - - - - - - -
command1 FAIL non-zero exit status 2





I'm not sure the failure isn't due to my running the autopkgtest with a
schroot sbuild...

I'll try to dig further, but in the meantime if someone has a clue, I'm
all ears!

Cheers,

J.Puydt
0 new messages