pilosus / pip-license-checker

Check license types for third-party dependencies: permissive, copyleft, proprietory, etc.
https://blog.pilosus.org/posts/2021/09/07/pip-license-checker/
Other
69 stars 3 forks source link

Migrate to PyPI Simple API for releases information #121

Closed pilosus closed 1 year ago

pilosus commented 1 year ago

Close #108

codecov[bot] commented 1 year ago

Codecov Report

Merging #121 (158ae82) into main (9259d9d) will increase coverage by 0.14%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
+ Coverage   97.26%   97.40%   +0.14%     
==========================================
  Files          13       13              
  Lines        1022     1081      +59     
  Branches       21       21              
==========================================
+ Hits          994     1053      +59     
  Misses          7        7              
  Partials       21       21              
Impacted Files Coverage Δ
src/pip_license_checker/pypi.clj 98.67% <100.00%> (+0.27%) :arrow_up:
src/pip_license_checker/version.clj 98.39% <100.00%> (+0.18%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

pilosus commented 1 year ago

Under the hood PyPI Simple API has a lot of quirks needed for backward compatibity. That's why switching over the API can potentially break Python packages version resolution.

Help with testing is needed. Use snapshot versions to test.

  1. Docker:
docker pull pilosus/pip-license-checker:0.42.0-SNAPSHOT
  1. GitHub action:
    pilosus/action-pip-license-checker@v0.8.0-rc1
pilosus commented 1 year ago

Testing piny LGTM: