Skip to content

Commit 966ac59

Browse files
committed
support python 3.12 since Colab updated to use it
1 parent 809c404 commit 966ac59

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

keypoint_moseq/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
warnings.formatwarning = lambda msg, *a: str(msg)
1010

11+
# Suppress harmless warnings thrown by Python 3.12's stricter syntax warnings
12+
warnings.filterwarnings('ignore', category=SyntaxWarning, module='panel.*')
13+
1114
from .io import *
1215
from .viz import *
1316
from .util import *

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ install_requires =
4040
numpy<=1.26.4
4141
ipywidgets
4242
ipympl
43+
jax<0.7.0 # Required for python >3.12 which will install a version of jax that tensorflow has not updated to use properly yet
4344

4445
[options.extras_require]
4546
dev =

0 commit comments

Comments
 (0)