Skip to content

Commit 6f5c02e

Browse files
committed
Fix, toml wants a string, while tomllib wants bytes
1 parent 657af22 commit 6f5c02e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rsconnect/pyproject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ def parse_pyproject_python_requires(pyproject_file: pathlib.Path) -> typing.Opti
4141
"""
4242
content = pyproject_file.read_text()
4343
pyproject = tomllib.loads(content)
44+
4445
return pyproject.get("project", {}).get("requires-python", None)

0 commit comments

Comments
 (0)