Skip to content

Pyproject.toml: dependencies defined as empty string instead of array (syntax error) #35

@carolekon

Description

@carolekon

Summary In pyproject.toml (line 6) the dependencies field is set to an empty string:

dependencies = ""

This should be an array:

dependencies = []

This is invalid for tools expecting a TOML array and can cause TOML parsing or dependency-install failures.

Repository tusharbhutt/Endless-Nodes

File / location pyproject.toml — line 6

Reproduction steps

Clone the repo.
Open pyproject.toml and inspect line 6.
Validate the file with a TOML parser or run a tool that reads dependencies (for example, poetry install or parsing via tomllib). The file will be treated incorrectly because dependencies is not an array.
Expected behavior dependencies should be an array (even if empty), e.g. dependencies = []

Actual behavior dependencies is an empty string, which is a syntax/type error for expected array values.

Suggested fix Change the line from: dependencies = "" to: dependencies = []

Suggested patch (unified diff) --- a/pyproject.toml +++ b/pyproject.toml @@ -dependencies = "" +dependencies = []

Commit message suggestion Fix: pyproject.toml — use array for dependencies instead of empty string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions