[Snyk] Fix for 11 vulnerabilities #627
Build #20241106.5 had test failures
Details
- Failed: 3,685 (1.89%)
- Passed: 158,624 (81.38%)
- Other: 32,619 (16.73%)
- Total: 194,928
- 17113 of 17281 line covered (99.03%)
Annotations
Check failure on line 21146 in Build log
azure-pipelines / bashtage.linearmodels
Build log #L21146
Bash exited with code '1'.
Check failure on line 21026 in Build log
azure-pipelines / bashtage.linearmodels
Build log #L21026
Cmd.exe exited with code '1'.
Check failure on line 21146 in Build log
azure-pipelines / bashtage.linearmodels
Build log #L21146
Bash exited with code '1'.
Check failure on line 21146 in Build log
azure-pipelines / bashtage.linearmodels
Build log #L21146
Bash exited with code '1'.
Check failure on line 1 in test_smoke[data0]
azure-pipelines / bashtage.linearmodels
test_smoke[data0]
AttributeError: '_hashlib.HASH' object has no attribute 'reset'
Raw output
data = AttrDict{'y': array([ 1.07372503, 2.05446681, 3.21504498, ..., 1.00542204,
0.30675529, -1.77160667]), 'x': ... 'absorb': <linearmodels.iv.absorbing.Interaction object at 0x0000027CFC6CB850>, 'interactions': None, 'weights': None}
@pytest.mark.smoke
def test_smoke(data):
mod = AbsorbingLS(
data.y,
data.x,
absorb=data.absorb,
interactions=data.interactions,
weights=data.weights,
)
> res = mod.fit()
linearmodels\tests\iv\test_absorbing.py:261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
linearmodels\iv\absorbing.py:1095: in fit
self._first_time_fit(use_cache, absorb_options, method)
linearmodels\iv\absorbing.py:911: in _first_time_fit
self._regressors_hash = areg.hash
linearmodels\iv\absorbing.py:564: in hash
hasher.reset()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <linearmodels.iv.absorbing.Hasher object at 0x0000027CFC963F70>
def reset(self):
if self._use_xx:
self._hasher = xxh64()
else:
> self._hasher.reset()
E AttributeError: '_hashlib.HASH' object has no attribute 'reset'
linearmodels\iv\absorbing.py:84: AttributeError
Check failure on line 1 in test_smoke[data1]
azure-pipelines / bashtage.linearmodels
test_smoke[data1]
AttributeError: '_hashlib.HASH' object has no attribute 'reset'
Raw output
data = AttrDict{'y': array([ 1.07372503, 2.05446681, 3.21504498, ..., 1.00542204,
0.30675529, -1.77160667]), 'x': ... 'absorb': <linearmodels.iv.absorbing.Interaction object at 0x0000027CFC6D2F40>, 'interactions': None, 'weights': None}
@pytest.mark.smoke
def test_smoke(data):
mod = AbsorbingLS(
data.y,
data.x,
absorb=data.absorb,
interactions=data.interactions,
weights=data.weights,
)
> res = mod.fit()
linearmodels\tests\iv\test_absorbing.py:261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
linearmodels\iv\absorbing.py:1095: in fit
self._first_time_fit(use_cache, absorb_options, method)
linearmodels\iv\absorbing.py:911: in _first_time_fit
self._regressors_hash = areg.hash
linearmodels\iv\absorbing.py:564: in hash
hasher.reset()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <linearmodels.iv.absorbing.Hasher object at 0x0000027CFC6D20A0>
def reset(self):
if self._use_xx:
self._hasher = xxh64()
else:
> self._hasher.reset()
E AttributeError: '_hashlib.HASH' object has no attribute 'reset'
linearmodels\iv\absorbing.py:84: AttributeError
Check failure on line 1 in test_smoke[data2]
azure-pipelines / bashtage.linearmodels
test_smoke[data2]
AttributeError: '_hashlib.HASH' object has no attribute 'reset'
Raw output
data = AttrDict{'y': array([ 1.07372503, 2.05446681, 3.21504498, ..., 1.00542204,
0.30675529, -1.77160667]), 'x': ...847
... ...
1995 0.480172
1996 1.958823
1997 1.241472
1998 0.849053
1999 0.469025
[2000 rows x 1 columns]}
@pytest.mark.smoke
def test_smoke(data):
mod = AbsorbingLS(
data.y,
data.x,
absorb=data.absorb,
interactions=data.interactions,
weights=data.weights,
)
> res = mod.fit()
linearmodels\tests\iv\test_absorbing.py:261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
linearmodels\iv\absorbing.py:1095: in fit
self._first_time_fit(use_cache, absorb_options, method)
linearmodels\iv\absorbing.py:911: in _first_time_fit
self._regressors_hash = areg.hash
linearmodels\iv\absorbing.py:564: in hash
hasher.reset()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <linearmodels.iv.absorbing.Hasher object at 0x0000027CFC53C7C0>
def reset(self):
if self._use_xx:
self._hasher = xxh64()
else:
> self._hasher.reset()
E AttributeError: '_hashlib.HASH' object has no attribute 'reset'
linearmodels\iv\absorbing.py:84: AttributeError
Check failure on line 1 in test_smoke[data3]
azure-pipelines / bashtage.linearmodels
test_smoke[data3]
AttributeError: '_hashlib.HASH' object has no attribute 'reset'
Raw output
data = AttrDict{'y': array([ 1.07372503, 2.05446681, 3.21504498, ..., 1.00542204,
0.30675529, -1.77160667]), 'x': ...597
... ...
1995 1.373630
1996 0.491040
1997 0.928293
1998 0.692219
1999 0.659290
[2000 rows x 1 columns]}
@pytest.mark.smoke
def test_smoke(data):
mod = AbsorbingLS(
data.y,
data.x,
absorb=data.absorb,
interactions=data.interactions,
weights=data.weights,
)
> res = mod.fit()
linearmodels\tests\iv\test_absorbing.py:261:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
linearmodels\iv\absorbing.py:1095: in fit
self._first_time_fit(use_cache, absorb_options, method)
linearmodels\iv\absorbing.py:911: in _first_time_fit
self._regressors_hash = areg.hash
linearmodels\iv\absorbing.py:564: in hash
hasher.reset()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <linearmodels.iv.absorbing.Hasher object at 0x0000027CFC869970>
def reset(self):
if self._use_xx:
self._hasher = xxh64()
else:
> self._hasher.reset()
E AttributeError: '_hashlib.HASH' object has no attribute 'reset'
linearmodels\iv\absorbing.py:84: AttributeError