Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CondaPkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "<=julia"

[deps.python]
build = "**cpython**"
version = ">=3.10,<4"
version = ">=3.10,<3.14"

[dev.deps]
matplotlib = ""
Expand Down
14 changes: 14 additions & 0 deletions docs/src/faq.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# FAQ & Troubleshooting

## [Why is Python 3.14 not supported?](@id faq-python-314)

Python has always had a mechanism for detecting recursion errors (stack overflows).
The heuristics for this have been made stricter in Python 3.14, which means that any
system which uses a non-standard stack and calls Python from it is likely to crash.
Julia is such a system because each task has its own stack.

There are discussions among Python developers about how to make the situation better but
for now, PythonCall is highly likely to crash when using Python 3.14, so for the time
being it is not supported.

See the discussion and linked GitHub issue here:
https://discuss.python.org/t/python-3-14-0-is-incompatible-with-stack-switching-systems-what-do-we-do/104880.

## [Can I use PythonCall and PyCall together?](@id faq-pycall)

Yes, you can use both PyCall and PythonCall in the same Julia session. This is platform-dependent:
Expand Down
Loading