ci: Update CI to use Pixi #1019
Annotations
7 errors
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 41
Notebook cell execution failed
Cell 41: Cell execution caused an exception
Input:
class P(param.Parameterized):
p = param.Path('Parameter_Types.ipynb')
f = param.Filename('Parameter_Types.ipynb')
d = param.Foldername('lib', search_paths=['/','/usr','/share'])
o = param.Filename('output.csv', check_exists=False)
p = P()
p.p
Traceback:
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
Cell In[1], line 1
----> 1 class P(param.Parameterized):
2 p = param.Path('Parameter_Types.ipynb')
3 f = param.Filename('Parameter_Types.ipynb')
Cell In[1], line 4, in P()
2 p = param.Path('Parameter_Types.ipynb')
3 f = param.Filename('Parameter_Types.ipynb')
----> 4 d = param.Foldername('lib', search_paths=['/','/usr','/share'])
5 o = param.Filename('output.csv', check_exists=False)
File D:\a\param\param\param\_utils.py:118, in _deprecate_positional_args.<locals>.inner(*args, **kwargs)
114 kwargs.update({name: arg for name, arg in zip_args})
116 return func(*args[:-n_extra_args], **kwargs)
--> 118 return func(*args, **kwargs)
File D:\a\param\param\param\parameters.py:2741, in Path.__init__(self, default, search_paths, check_exists, **params)
2739 self.check_exists = check_exists
2740 super().__init__(default,**params)
-> 2741 self._validate(self.default)
File D:\a\param\param\param\parameters.py:2757, in Path._validate(self, val)
2755 except OSError as e:
2756 if self.check_exists:
-> 2757 raise OSError(e.args[0]) from None
OSError: Folder lib was not found in the following place(s): ['\\lib', '\\usr\\lib', '\\share\\lib'].
|
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 42
Notebook cell execution failed
Cell 42: Cell execution caused an exception
Input:
p.p = '/usr/lib'
p.p
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 p.p = '/usr/lib'
2 p.p
NameError: name 'p' is not defined
|
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 43
Notebook cell execution failed
Cell 43: Cell execution caused an exception
Input:
p.f
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 p.f
NameError: name 'p' is not defined
|
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 45
Notebook cell execution failed
Cell 45: Cell execution caused an exception
Input:
p.d
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 p.d
NameError: name 'p' is not defined
|
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
p.o # the output file doesn't exist yet
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 p.o # the output file doesn't exist yet
NameError: name 'p' is not defined
|
Test Examples:
doc\user_guide\Parameter_Types.ipynb#L1
doc\user_guide\Parameter_Types.ipynb::Cell 48
Notebook cell execution failed
Cell 48: Cell execution caused an exception
Input:
with open(p.o, 'w') as f:
f.write('Param is awesome!')
p.o # it now exists, getting its value resolve the full file path
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 with open(p.o, 'w') as f:
2 f.write('Param is awesome!')
4 p.o # it now exists, getting its value resolve the full file path
NameError: name 'p' is not defined
|
Test Examples
Process completed with exit code 1.
|
Loading