raimon49 / pip-licenses

Dump the license list of packages installed with pip.
MIT License
307 stars 43 forks source link

Allow version spec in `--ignore-packages` #152

Closed thejcannon closed 1 year ago

thejcannon commented 1 year ago

Fixes #151

raimon49 commented 1 year ago

This proposal looks good 👍

Can you please put in the README the specs for when you want to ignore pkg_name:version?

thejcannon commented 1 year ago

Done! Looks like CI had a code coverage issue on the last commit. Let's see if this one makes it happy.

codecov[bot] commented 1 year ago

Codecov Report

Merging #152 (0547669) into master (471fc3d) will decrease coverage by 0.26%. The diff coverage is 100.00%.

:exclamation: Current head 0547669 differs from pull request most recent head 247ce26. Consider uploading reports for the commit 247ce26 to get more accurate results

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage   99.74%   99.49%   -0.26%     
==========================================
  Files           1        1              
  Lines         392      393       +1     
==========================================
  Hits          391      391              
- Misses          1        2       +1     
Impacted Files Coverage Δ
piplicenses.py 99.49% <100.00%> (-0.26%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

raimon49 commented 1 year ago

@thejcannon Thanks for your contribution.

The next release candidate version has been uploaded to PyPI. https://pypi.org/project/pip-licenses/4.2.0rc1/

Install it in your environment and make sure it is working as expected.

pip install pip-licenses==4.2.0rc1

If you have code to fix, please send a PR to the release-4.2.0 branch.

thejcannon commented 1 year ago

I'm already happily using it via a VCS requirements string from my fork 🙃