Skip to content

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.3#686

Open
bashtage wants to merge 1 commit into
mainfrom
snyk-fix-e3d86a293decbb90e76ed071646db77a
Open

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.3#686
bashtage wants to merge 1 commit into
mainfrom
snyk-fix-e3d86a293decbb90e76ed071646db77a

fix: requirements-dev.txt to reduce vulnerabilities

f4a09c5
Select commit
Loading
Failed to load commit list.
Azure Pipelines / bashtage.linearmodels failed Jan 12, 2026 in 34m 41s

Build #20260112.1 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 185,830 (83.16%)
  • Other: 37,636 (16.84%)
  • Total: 223,467
Code coverage

  • 17160 of 17341 line covered (98.96%)

Annotations

Check failure on line 466 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

Build log #L466

Cmd.exe exited with code '1'.

Check failure on line 1 in test_notebook[asset-pricing_formulas]

See this annotation in the file changed.

@azure-pipelines azure-pipelines / bashtage.linearmodels

test_notebook[asset-pricing_formulas]

nbclient.exceptions.CellTimeoutError: A cell timed out while it was being executed, after 120 seconds.
The message was: Cell execution timed out.
Here is a preview of the cell contents:
-------------------
from linearmodels.datasets import french

data = french.load()
print(french.DESCR)
data.iloc[:, 6:] = data.iloc[:, 6:].values - data[["RF"]].values
-------------------
Raw output
self = <nbconvert.preprocessors.execute.ExecutePreprocessor object at 0x000001E30901A210>
msg_id = '4378c97d-8630ba3922901c6941406927_6512_42'
cell = {'cell_type': 'code', 'execution_count': 1, 'metadata': {'execution': {'iopub.status.busy': '2026-01-12T10:41:31.03030...french\n\ndata = french.load()\nprint(french.DESCR)\ndata.iloc[:, 6:] = data.iloc[:, 6:].values - data[["RF"]].values'}
timeout = 120
task_poll_output_msg = <Task pending name='Task-39' coro=<NotebookClient._async_poll_output_msg() running at C:\hostedtoolcache\windows\Pytho...cel_poll() at C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\zmq\_future.py:416, Task.task_wakeup()]>>
task_poll_kernel_alive = <Task cancelled name='Task-38' coro=<NotebookClient._async_poll_kernel_alive() done, defined at C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\nbclient\client.py:821>>

    async def _async_poll_for_reply(
        self,
        msg_id: str,
        cell: NotebookNode,
        timeout: int | None,
        task_poll_output_msg: asyncio.Future[t.Any],
        task_poll_kernel_alive: asyncio.Future[t.Any],
    ) -> dict[str, t.Any]:
        msg: dict[str, t.Any]
        assert self.kc is not None
        new_timeout: float | None = None
        if timeout is not None:
            deadline = monotonic() + timeout
            new_timeout = float(timeout)
        error_on_timeout_execute_reply = None
        while True:
            try:
                if error_on_timeout_execute_reply:
                    msg = error_on_timeout_execute_reply
                    msg["parent_header"] = {"msg_id": msg_id}
                else:
>                   msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\nbclient\client.py:782: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\jupyter_core\utils\__init__.py:214: in ensure_async
    result = await obj
             ^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <jupyter_client.channels.AsyncZMQSocketChannel object at 0x000001E3092FB0B0>
timeout = 120.0

    async def get_msg(  # type:ignore[override]
        self, timeout: float | None = None
    ) -> t.Dict[str, t.Any]:
        """Gets a message if there is one that is ready."""
        assert self.socket is not None
        timeout_ms = None if timeout is None else int(timeout * 1000)  # seconds to ms
        ready = await self.socket.poll(timeout_ms)
        if ready:
            res = await self._recv()
            return res
        else:
>           raise Empty
E           _queue.Empty

C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\jupyter_client\channels.py:316: Empty

During handling of the above exception, another exception occurred:

notebook = 'D:\\a\\1\\s\\examples\\asset-pricing_formulas.ipynb'

    @pytest.mark.slow
    @pytest.mark.example
    @pytest.mark.skipif(SKIP, reason="Required packages not available")
    def test_notebook(notebook):
        nb_name = os.path.split(notebook)[-1]
        if MISSING_XARRAY and nb_name in NOTEBOOKS_USING_XARRAY:
            pytest.skip(f"xarray is required to test {notebook}")
    
        nb = nbformat.read(notebook, as_version=4)
        ep = ExecutePreprocessor(allow_errors=False, timeout=120, kernel_name=kernel_name)
>       ep.preprocess(nb, {"metadata": {"path": NOTEBOOK_DIR}})

linearmodels\tests\test_examples.py:68: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\nbconvert\preprocessors\execute.py:103: in preprocess
    self.preprocess_cell(cell, resources, index)
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\nbconvert\preproces