Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

IndexError: list index out of range when trying to build #12

@grandrew

Description

@grandrew
$ dephell project build --from pyproject.toml --traceback
WARNING cannot find tool.dephell section in the config (path=pyproject.toml)
INFO dumping... (format=setuppy)
INFO dumping... (format=egginfo)
INFO dumping... (format=sdist)
ERROR IndexError: list index out of range 

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/dephell/cli.py", line 115, in main
    result = task()
  File "/usr/local/lib/python3.7/dist-packages/dephell/commands/project_build.py", line 63, in __call__
    project=resolver.graph.metainfo,
  File "/usr/local/lib/python3.7/dist-packages/dephell/converters/sdist.py", line 127, in dump
    self._write_additional_files(tar=tar, project=project, subdir=subdir)
  File "/usr/local/lib/python3.7/dist-packages/dephell/converters/sdist.py", line 179, in _write_additional_files
    package_size = get_path_size(path=project.package.packages[0].path)
IndexError: list index out of range

experienced this with 3 of 3 projects that I manage with poetry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions