Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 11 vulnerabilities #627

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

fix: requirements-dev.txt to reduce vulnerabilities

9a76bbd
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Fix for 11 vulnerabilities #627

fix: requirements-dev.txt to reduce vulnerabilities
9a76bbd
Select commit
Loading
Failed to load commit list.
Azure Pipelines / bashtage.linearmodels failed Nov 6, 2024 in 33m 19s

Build #20241106.5 had test failures

Details

Tests

  • Failed: 3,685 (1.89%)
  • Passed: 158,624 (81.38%)
  • Other: 32,619 (16.73%)
  • Total: 194,928
Code coverage

  • 17113 of 17281 line covered (99.03%)

Annotations

Check failure on line 21146 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

Build log #L21146

Bash exited with code '1'.

Check failure on line 21026 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

Build log #L21026

Cmd.exe exited with code '1'.

Check failure on line 21146 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

Build log #L21146

Bash exited with code '1'.

Check failure on line 21146 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

Build log #L21146

Bash exited with code '1'.

Check failure on line 1 in test_smoke[data0]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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]

See this annotation in the file changed.

@azure-pipelines 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