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

0.23.0a1 version causing INTERNALERROR at startup #679

Closed
blink1073 opened this issue Nov 19, 2023 · 2 comments · Fixed by #685
Closed

0.23.0a1 version causing INTERNALERROR at startup #679

blink1073 opened this issue Nov 19, 2023 · 2 comments · Fixed by #685
Labels
Milestone

Comments

@blink1073
Copy link

We run our ipykernel tests against prereleases in addition to regular tests, and it is failing with this error:

 ============================= test session starts ==============================
platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 -- /home/runner/.local/share/hatch/env/virtual/ipykernel/_P2Rok5v/test/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/ipykernel/ipykernel
configfile: pyproject.toml
testpaths: tests, tests/inprocess
plugins: timeout-2.2.0, cov-4.1.0, flaky-3.7.0, asyncio-0.23.0a1
...
INTERNALERROR>   File "/home/runner/.local/share/hatch/env/virtual/ipykernel/_P2Rok5v/test/lib/python3.11/site-packages/pytest_asyncio/plugin.py", line 577, in pytest_collectstart
INTERNALERROR>     scope=_fixture_scope_by_collector_type[type(collector)],
INTERNALERROR>           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
INTERNALERROR> KeyError: <class '_pytest.doctest.DoctestModule'>

https://github.com/ipython/ipykernel/actions/runs/6921554050/job/18827290458?pr=1167

@seifertm
Copy link
Contributor

@blink1073 Thanks for testing with pre-release versions. These kinds of bug reports are incredibly helpful!
The issue should be fixed as of v0.23.0b0.

@blink1073
Copy link
Author

Confirmed, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants