Skip to content

Commit 7511909

Browse files
committed
Remove jaxtyping dep, bump linear_operator req to v0.6.1
1 parent fc9f8c1 commit 7511909

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python3
22

3-
import io
43
import os
54
import re
65
import sys
@@ -26,7 +25,7 @@
2625
# Get version
2726
def find_version(*file_paths):
2827
try:
29-
with io.open(os.path.join(os.path.dirname(__file__), *file_paths), encoding="utf8") as fp:
28+
with open(os.path.join(os.path.dirname(__file__), *file_paths), encoding="utf8") as fp:
3029
version_file = fp.read()
3130
version_match = re.search(r"^__version__ = version = ['\"]([^'\"]*)['\"]", version_file, re.M)
3231
return version_match.group(1)
@@ -39,11 +38,10 @@ def find_version(*file_paths):
3938

4039
torch_min = "2.0"
4140
install_requires = [
42-
"jaxtyping",
4341
"mpmath>=0.19,<=1.3", # avoid incompatibiltiy with torch+sympy with mpmath 1.4
4442
"scikit-learn",
4543
"scipy>=1.6.0",
46-
"linear_operator>=0.6",
44+
"linear_operator>=0.6.1",
4745
]
4846
# if recent dev version of PyTorch is installed, no need to install stable
4947
try:

0 commit comments

Comments
 (0)