Skip to content

Commit d5e17e1

Browse files
committed
Fix typing on older python version
1 parent ebb3342 commit d5e17e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsconnect/pyproject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def adapt_python_requires(
122122
"""
123123
current_contraints = python_requires.split(",")
124124

125-
def _adapt_contraint(constraints: list[str]) -> typing.Generator[str, None, None]:
125+
def _adapt_contraint(constraints: typing.List[str]) -> typing.Generator[str, None, None]:
126126
for constraint in constraints:
127127
constraint = constraint.strip()
128128
if "@" in constraint or "-" in constraint or "/" in constraint:

0 commit comments

Comments
 (0)