phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
103 stars 11 forks source link

Invalid type on `phylum package` command #1512

Closed furi0us333 closed 1 month ago

furi0us333 commented 1 month ago

Overview

An "invalid type" error can occur when looking up some package versions with the phylum package command.

How To Reproduce

Steps to reproduce this behavior:

  1. Run phylum package pypi ironic 24.1.3
  2. See expected output
  3. Run phylum package pypi ironic 24.1.2
  4. See error

Expected Behavior

Command returns package information for all versions where data is available.

Additional Context

From the UI we get package data on both versions. https://app.phylum.io/package/pypi/ironic/24.1.3 https://app.phylum.io/package/pypi/ironic/24.1.2

image