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

[WIP] Backport 8.2: Python 3.13 support #3319

Draft
wants to merge 20 commits into
base: release/8.2
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Revert "Backport #3061"
This reverts commit 8fb7527.
JCGoran committed Jan 25, 2025
commit b2ad4390f0e2e8d3739d9a1d34ed7a1b78d941d2
3 changes: 2 additions & 1 deletion docs/docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@ jupyter
nbconvert
recommonmark
matplotlib
bokeh
# bokeh 3 seems to break docs notebooks
bokeh<3
# do not check import of next line
ipython
plotnine
3 changes: 2 additions & 1 deletion nrn_requirements.txt
Original file line number Diff line number Diff line change
@@ -2,7 +2,8 @@ wheel
setuptools<=70.3.0
scikit-build
matplotlib
bokeh
# bokeh 3 seems to break docs notebooks
bokeh<3
ipython
cython
packaging
10 changes: 0 additions & 10 deletions share/lib/python/neuron/__init__.py
Original file line number Diff line number Diff line change
@@ -1751,13 +1751,3 @@ def _mview_html_tree(hlist, inside_mechanisms_in_use=0):
if _get_ipython() is not None:
html_formatter = _get_ipython().display_formatter.formatters["text/html"]
html_formatter.for_type(hoc.HocObject, _hocobj_html)

# in case Bokeh is installed, register a serialization function for hoc.Vector
try:
from bokeh.core.serialization import Serializer

Serializer.register(
h.Vector, lambda obj, serializer: [serializer.encode(item) for item in obj]
)
except ImportError:
pass