Skip to content

PurlDB considers Python/pypi package as not support for /api/collect/index_packages #599

Closed

Description

@rogu-beta

Calling the endpoint /api/collect/index_packages does not process the submitted PURL if it is from pypi (e.g. pkg:pypi/accelerate@1.6.0). This happens both when triggering the pipeline populate_purldb from ScanCode.io or calling the API endpoint of PurlDB manually.

Based on the recently merged commit, I would assume that this is supposed to work.

See commit and merge request for reference:

Activity

  1. JonoYang commented on Apr 2, 2025

    @JonoYang
    Member

    @ghsa-retrieval We missed adding pypi to the list of supported_ecosystems in api/collect/index_packages/ (a0acd2e)

    I've added it in a PR here (#600) which should resolve the issue.

  2. rogu-beta commented on Apr 3, 2025

    @rogu-beta
    ContributorAuthor

    @JonoYang I can confirm, I'm now able to trigger the collection for pypi packages. I have encountered one error though, it appears that some data is longer than the database permits, though I should perhaps create a separate issue for this.

    Edit: I've created a separate issue for this, see #601

  3. added a commit that references this issue on Apr 4, 2025
  4. added 2 commits that reference this issue on Apr 14, 2025
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