Skip to content

Commit

Permalink
fix: handle empty specifier
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming committed May 8, 2024
1 parent b2fecde commit e489183
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bentoml/_internal/container/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def _resolve_package_versions(requirement: str) -> dict[str, str]:
or req.is_url
or req.is_wheel
or not req.name
or not req.specifier
):
continue
for sp in req.specifier:
Expand Down

0 comments on commit e489183

Please sign in to comment.