File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def _build_msg(func):
5151 # Build a clear message for both runtime and typing hint
5252 qual = f"{ func .__module__ } .{ getattr (func , '__qualname__' , func .__name__ )} "
5353 since_str = f" since { since } " if since else ""
54- removed_str = f" and will be removed in { removed_in } "
54+ removed_str = f" and will be removed in { removed_in } " if removed_in else ""
5555 info_str = f" { info } " if info else ""
5656 msg = f"{ qual } is deprecated{ since_str } { removed_str } .{ info_str } "
5757 return msg
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ dependencies = [
5353 " rich" ,
5454 " scipy>=1.14.1" ,
5555 " tables>=3.7" ,
56- " typing_extensions" ,
56+ " typing_extensions>=4.12 " ,
5757 " pint" ,
5858]
5959
You can’t perform that action at this time.
0 commit comments