Skip to content

No error reported for specs that do not exist #64

Description

@pombredanne

See

$ python-inspector --spec "foobar-does-not-exists" --json -
{
  "headers": {
    "tool_name": "python-inspector",
    "tool_homepageurl": "https://github.com/nexB/python-inspector",
    "tool_version": "0.6.5",
    "options": [
      "--specifier foobar-does-not-exists",
      "--index-url https://pypi.org/simple",
      "--python-version 38",
      "--operating-system linux",
      "--json <file>"
    ],
    "notice": "Dependency tree generated with python-inspector.\npython-inspector is a free software tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
    "warnings": [],
    "errors": []
  },
  "requirements": [
    {
      "purl": "pkg:pypi/foobar-does-not-exists",
      "extracted_requirement": "foobar-does-not-exists",
      "scope": "install",
      "is_runtime": true,
      "is_optional": false,
      "is_resolved": false,
      "resolved_package": {},
      "extra_data": {}
    }
  ],
  "resolved_dependencies": null
}

@aspacca ping

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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