-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Description
Bug report
Bug description:
I'm working to test my packages against 3.14 before it is released, and I'm seeing an error in xdoctest. Specifically, I see a segmentation fault (exit code 139) on Python 3.14.0rc1 on Windows during CI. The test suite passes on all other platforms and Python versions.
I unfortunately don't have a local Windows machine to further debug this, but here's the GitHub Actions job showing the issue:
https://github.com/Erotemic/xdoctest/actions/runs/16727556954/job/47347171954
and here is the parent run where I've done a little initial debugging
https://github.com/Erotemic/xdoctest/actions/runs/16727556954
I've found that this is likely not a problem in xdoctest, as it only occurs when the optional packages are installed. These are listed in details:
optional.txt:
-r colors.txt
-r jupyter.txt
pyflakes >= 2.2.0
# xdev availpkg tomli
tomli>=0.2.0 ; python_version < '3.11.0' and python_version >= '3.6' # Python 3.6+
jupyter.txt
nbconvert>=6.1.0; python_version >= '3.7.0' and platform_python_implementation != "PyPy" # Python 3.7+
# For nbconvert
jinja2>=3.0.0 ; platform_python_implementation != "PyPy" # Python 3.6+
jupyter_client>=7.0.0
IPython>=7.23.1
# Requires psutil? Breaking on pypy windows?
ipykernel>=6.11.0 ; python_version < '4.0' and python_version >= '3.12' and (platform_system!="Windows" or platform_python_implementation != "PyPy") # Python 3.12+
ipykernel>=6.0.0 ; python_version < '3.12' and python_version >= '3.7' and (platform_system!="Windows" or platform_python_implementation != "PyPy") # Python 3.7-3.11
# For IPython-kernel
debugpy>=1.6.0 ; python_version >= '3.10' # Python 3.10+
debugpy>=1.3.0 ; python_version < '3.10' and python_version >= '3.9' # Python 3.9
debugpy>=1.0.0 ; python_version < '3.9' and python_version >= '3.8' # Python 3.8
# Needed for 3.10 tests
# Needed for earlier versions of nbconvert
ipython_genutils >= 0.2.0 ; platform_python_implementation != "PyPy" # Python 3.10+
# For IPython
jedi>=0.16
attrs>=19.2.0
# For jupyter-client
jupyter_core >= 4.7.0
and colors.txt:
Pygments >= 2.15.1
colorama >= 0.4.1;platform_system=="Windows"
I will attempt to debug this further as I have time, but I at least wanted to raise the issue in case it helps with the 3.14 release.
CPython versions tested on:
3.14
Operating systems tested on:
Windows