Skip to content

Commit df3f084

Browse files
committed
Merge branch 'main' into zmq_anyio
2 parents e0e0bf6 + a1f07b7 commit df3f084

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/downstream.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
3939
with:
4040
package_name: ipywidgets
41-
test_command: pytest -vv -raXxs -k \"not deprecation_fa_icons and not tooltip_deprecation and not on_submit_deprecation\" -W default --durations 10 --color=yes
41+
test_command: pytest -vv -raXxs -W default --durations 10 --color=yes
4242

4343
jupyter_client:
4444
runs-on: ubuntu-latest
@@ -116,7 +116,7 @@ jobs:
116116
shell: bash -l {0}
117117
run: |
118118
cd ${GITHUB_WORKSPACE}/../qtconsole
119-
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes qtconsole
119+
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -vv -s --full-trace --color=yes -k "not test_execute" qtconsole
120120
121121
spyder_kernels:
122122
runs-on: ubuntu-latest
@@ -147,4 +147,4 @@ jobs:
147147
shell: bash -l {0}
148148
run: |
149149
cd ${GITHUB_WORKSPACE}/../spyder-kernels
150-
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes spyder_kernels
150+
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -vv -s --full-trace --color=yes -k 'not test_interrupt and not test_enter_debug_after_interruption' spyder_kernels

ipykernel/inprocess/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# -----------------------------------------------------------------------------
1313

1414

15-
from typing import Any
15+
from typing import Any, Optional
1616

1717
from jupyter_client.client import KernelClient
1818
from jupyter_client.clientabc import KernelClientABC
@@ -110,8 +110,8 @@ async def execute( # type:ignore [override]
110110
code: str,
111111
silent: bool = False,
112112
store_history: bool = True,
113-
user_expressions: dict[str, Any] | None = None,
114-
allow_stdin: bool | None = None,
113+
user_expressions: Optional[dict[str, Any]] = None,
114+
allow_stdin: Optional[bool] = None,
115115
stop_on_error: bool = True,
116116
) -> str:
117117
"""Execute code on the client."""

tests/test_subshells.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def test_run_concurrently_timing(include_main_shell):
218218
assert duration < timedelta(seconds=sum(times))
219219

220220

221+
@pytest.mark.xfail(strict=False, reason="subshell still sometime give different results")
221222
def test_execution_count():
222223
with new_kernel() as kc:
223224
subshell_id = create_subshell_helper(kc)["subshell_id"]

0 commit comments

Comments
 (0)