When I am running the test I am looking this errors.
============================= test session starts ==============================
platform linux -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0
rootdir: /tmp/makepkg/jupyter-gnuplot_kernel/src/gnuplot_kernel-0.4.1, configfile: pytest.ini
collected 15 items
gnuplot_kernel/tests/test_kernel.py FFFFFFFFFFFFFF. [100%]
=================================== FAILURES ===================================
______________________________ test_inline_magic _______________________________
def test_inline_magic():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9073100>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9073100>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9073100>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
__________________________________ test_print __________________________________
def test_print():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:60:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec901b6d0>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec901b6d0>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec901b6d0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
_______________________________ test_file_plots ________________________________
def test_file_plots():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec90[714](https://gitlab.com/dune-archiso/repository/dune-archiso-repository-extra/-/jobs/3378713709#L714)80>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9071480>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9071480>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
______________________________ test_inline_plots _______________________________
def test_inline_plots():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd9c0>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd9c0>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd9c0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
___________________________ test_plot_abbreviations ____________________________
def test_plot_abbreviations():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8ff3280>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8ff3280>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8ff3280>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
________________________________ test_multiplot ________________________________
def test_multiplot():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:156:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f[788](https://gitlab.com/dune-archiso/repository/dune-archiso-repository-extra/-/jobs/3378713709#L788)80>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f78880>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f78880>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
__________________________________ test_help ___________________________________
def test_help():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:185:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f3e500>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f3e500>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f3e500>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
________________________________ test_badinput _________________________________
def test_badinput():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:206:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec90186a0>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec90186a0>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec90186a0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
__________________________ test_gnuplot_error_message __________________________
def test_gnuplot_error_message():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:216:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f7b190>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f7b190>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8f7b190>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
_______________________________ test_bad_prompt ________________________________
def test_bad_prompt():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:226:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd8a0>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd8a0>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8efd8a0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
_______________________________ test_data_block ________________________________
def test_data_block():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:236:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8fa98d0>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8fa98d0>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8fa98d0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
_______________________________ test_cell_magic ________________________________
def test_cell_magic():
# To simulate '%load_ext gnuplot_kernel';
# create a main kernel, a gnuplot kernel and
# a gnuplot magic that uses the gnuplot kernel.
# Then manually register the gnuplot magic into
# the main kernel.
> kernel = get_kernel()
gnuplot_kernel/tests/test_kernel.py:284:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:29: in get_kernel
kernel = _get_kernel()
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <metakernel._metakernel.MetaKernel object at 0x7fcec8f7b5e0>, args = ()
kwargs = {'kernel': <metakernel._metakernel.MetaKernel object at 0x7fcec8f7b5e0>, 'parent': <metakernel._metakernel.MetaKernel object at 0x7fcec8f7b5e0>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
____________________________ test_reset_cell_magic _____________________________
def test_reset_cell_magic():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:313:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8eff280>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8eff280>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec8eff280>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
____________________________ test_reset_line_magic _____________________________
def test_reset_line_magic():
> kernel = get_kernel(GnuplotKernel)
gnuplot_kernel/tests/test_kernel.py:333:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gnuplot_kernel/tests/test_kernel.py:27: in get_kernel
kernel = _get_kernel(klass)
/usr/lib/python3.10/site-packages/metakernel/tests/utils.py:84: in get_kernel
kernel = kernel_class(session=ss.Session(), iopub_socket=iopub_socket,
/usr/lib/python3.10/site-packages/metakernel/process_metakernel.py:53: in __init__
MetaKernel.__init__(self, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec[907](https://gitlab.com/dune-archiso/repository/dune-archiso-repository-extra/-/jobs/3378713709#L907)3f70>, args = ()
kwargs = {'kernel': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9073f70>, 'parent': <gnuplot_kernel.kernel.GnuplotKernel object at 0x7fcec9073f70>}
def __init__(self, *args, **kwargs):
super(MetaKernel, self).__init__(*args, **kwargs)
if MetaKernel.meta_kernel is None:
MetaKernel.meta_kernel = self
if self.log is None:
# This occurs if we call as a stand-alone kernel
# (eg, not as a process)
# FIXME: take care of input/output, eg StringIO
# make work without a session
self.log = logging.Logger(".metakernel")
else:
# Write has already been set
try:
sys.stdout.write = self.Write
except:
pass # Can't change stdout
self.redirect_to_log = False
self.shell = None
self.sticky_magics = OrderedDict()
self._i = None
self._ii = None
self._iii = None
self._ = None
self.__ = None
self.___ = None
self.max_hist_cache = 1000
self.hist_cache = []
kwargs = {'parent': self,
'kernel': self}
if not PY3:
kwargs['shell'] = None
> self.comm_manager = CommManager(**kwargs)
E TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:155: TypeError
=============================== warnings summary ===============================
../../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:[1294](https://gitlab.com/dune-archiso/repository/dune-archiso-repository-extra/-/jobs/3378713709#L1294)
/usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: pyargs
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
gnuplot_kernel/kernel.py:290
/tmp/makepkg/jupyter-gnuplot_kernel/src/gnuplot_kernel-0.4.1/gnuplot_kernel/kernel.py:290: DeprecationWarning: invalid escape sequence '\w'
prompt_regex=u('\w*> $'),
../../../../../usr/lib/python3.10/site-packages/metakernel/_metakernel.py:20
/usr/lib/python3.10/site-packages/metakernel/_metakernel.py:20: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
given by the platformdirs library. To remove this warning and
see the appropriate new directories, set the environment variable
`JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
The use of platformdirs will be the default in `jupyter_core` v6
from jupyter_core.paths import jupyter_config_path, jupyter_config_dir
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED gnuplot_kernel/tests/test_kernel.py::test_inline_magic - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_print - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_file_plots - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_inline_plots - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_plot_abbreviations - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_multiplot - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_help - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_badinput - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_gnuplot_error_message - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_bad_prompt - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_data_block - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_cell_magic - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_reset_cell_magic - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
FAILED gnuplot_kernel/tests/test_kernel.py::test_reset_line_magic - TypeError: CommManager.__init__() got an unexpected keyword argument 'parent'
=================== 14 failed, 1 passed, 3 warnings in 0.85s ===================