Skip to content

Add Python 3.14 support#867

Open
costajohnt wants to merge 1 commit intonteract:mainfrom
costajohnt:fix/python-3.14-support
Open

Add Python 3.14 support#867
costajohnt wants to merge 1 commit intonteract:mainfrom
costajohnt:fix/python-3.14-support

Conversation

@costajohnt
Copy link

@costajohnt costajohnt commented Mar 12, 2026

Summary

  • Add Python 3.14 to CI matrix, tox envlist, gh-actions mapping, basepython, and USING_COVERAGE
  • Fix test assertions in TestBrokenNotebook1, TestBrokenNotebook2, TestSysExit, and TestOutputFormatting to accommodate Python 3.14's changed traceback rendering (may emit a stderr stream before the error output)

Note: Python 3.14 trove classifier is not included because pyproject-fmt does not yet recognize it. It can be added once pyproject-fmt is updated.

Closes #841

Test plan

  • CI passes on Python 3.10–3.14
  • All broken notebook and sys exit tests pass on Python 3.14
  • No regressions on existing Python versions

- Add Python 3.14 to CI matrix, tox envlist, gh-actions mapping, and
  basepython configuration
- Add Python 3.14 to USING_COVERAGE for coverage collection
- Fix test assertions in TestBrokenNotebook1, TestBrokenNotebook2,
  TestSysExit, and TestOutputFormatting to accommodate Python 3.14's
  changed traceback rendering, which may emit a stderr stream before
  the error output

Note: Python 3.14 trove classifier is not included because
pyproject-fmt does not yet recognize it. It can be added once
pyproject-fmt is updated.

Closes nteract#841
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Python 3.14

1 participant