Skip to content

Commit

Permalink
[Core] Added spaces to disallowed char for working dir (#46767)
Browse files Browse the repository at this point in the history
Signed-off-by: prithvi-mac <mprithvi08@gmail.com>
  • Loading branch information
prithvi081099 authored Sep 17, 2024
1 parent de15cea commit ee320aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/_private/runtime_env/packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def parse_uri(pkg_uri: str) -> Tuple[Protocol, str]:
else:
package_name = f"{protocol.value}_{uri.netloc}{uri.path}"

disallowed_chars = ["/", ":", "@", "+"]
disallowed_chars = ["/", ":", "@", "+", " "]
for disallowed_char in disallowed_chars:
package_name = package_name.replace(disallowed_char, "_")

Expand Down

0 comments on commit ee320aa

Please sign in to comment.