File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ version = "<=julia"
1010
1111[deps .python ]
1212build = " **cpython**"
13- version = " >=3.10,<4 "
13+ version = " >=3.10,<3.14 "
1414
1515[dev .deps ]
1616matplotlib = " "
Original file line number Diff line number Diff line change 11# FAQ & Troubleshooting
22
3+ ## [ Why is Python 3.14 not supported?] (@id faq-python-314)
4+
5+ Python has always had a mechanism for detecting recursion errors (stack overflows).
6+ The heuristics for this have been made stricter in Python 3.14, which means that any
7+ system which uses a non-standard stack and calls Python from it is likely to crash.
8+ Julia is such a system because each task has its own stack.
9+
10+ There are discussions among Python developers about how to make the situation better but
11+ for now, PythonCall is highly likely to crash when using Python 3.14, so for the time
12+ being it is not supported.
13+
14+ See the discussion and linked GitHub issue here:
15+ https://discuss.python.org/t/python-3-14-0-is-incompatible-with-stack-switching-systems-what-do-we-do/104880 .
16+
317## [ Can I use PythonCall and PyCall together?] (@id faq-pycall)
418
519Yes, you can use both PyCall and PythonCall in the same Julia session. This is platform-dependent:
You can’t perform that action at this time.
0 commit comments