Skip to content

Commit

Permalink
[Core] Added spaces to disallowed char for working dir (ray-project#4…
Browse files Browse the repository at this point in the history
…6767)

Signed-off-by: prithvi-mac <mprithvi08@gmail.com>
  • Loading branch information
prithvi081099 authored and simonsays1980 committed Sep 17, 2024
1 parent d5f1a01 commit 05c866c
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 05c866c

Please sign in to comment.