Skip to content

Commit

Permalink
deps: add back typing-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Nov 28, 2024
1 parent 3dad208 commit b3473f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ dependencies:
- scikit-learn>=1.0.0,<2.0.0
- pyjuliacall>=0.9.21,<0.9.22
- click>=7.0.0,<9.0.0
- typing-extensions>=4.0.0,<5.0.0
2 changes: 1 addition & 1 deletion pysr/expression_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
try:
from typing import TypeAlias
except ImportError:
TypeAlias = NewType("TypeAlias", Any)
from typing_extensions import TypeAlias

import numpy as np
import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ scikit_learn>=1.0.0,<2.0.0
juliacall==0.9.23
click>=7.0.0,<9.0.0
setuptools>=50.0.0
typing-extensions>=4.0.0,<5.0.0

0 comments on commit b3473f3

Please sign in to comment.