Skip to content

Commit

Permalink
update python_min format
Browse files Browse the repository at this point in the history
Co-authored-by: Filipe <[email protected]>
  • Loading branch information
marcelotrevisani and ocefpaf authored Nov 13, 2024
1 parent 735d83f commit 77927a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grayskull/strategy/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,9 +590,9 @@ def set_python_min(req_list: list, section: str) -> list:
return req_list
python_min = "<{ python_min }}"
map_section = {
"host": f"{python_min}.*",
"host": f"{python_min}",
"run": f">={python_min}",
"test": f"={python_min}",
"test": f"{python_min}",
}
return [
f"python {map_section[section]}" if dep.lower().strip() == "python" else dep
Expand Down

0 comments on commit 77927a6

Please sign in to comment.