Skip to content

Fix for pip packages#856

Merged
MikeMcQuaid merged 1 commit into
licensee:mainfrom
TailorBrands:fix/pip-separator-issue
May 6, 2025
Merged

Fix for pip packages#856
MikeMcQuaid merged 1 commit into
licensee:mainfrom
TailorBrands:fix/pip-separator-issue

Conversation

@nadavshatz

@nadavshatz nadavshatz commented May 5, 2025

Copy link
Copy Markdown
Contributor

Handle packages with the separator pattern in their info

An example package for this is json5.

if you run pip show json5 zipp for instance you'll see that the --- is present in the licenses list which breaks the licensed cache run for projects that have these pip packages.

This fix covers that separating the calls to pip show and parallelizes them since in large projects this can also take >10m just to load since pip by default does them one by one.

Handle packages with the separator pattern in their info

@MikeMcQuaid MikeMcQuaid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thanks!

@MikeMcQuaid MikeMcQuaid merged commit 47a956a into licensee:main May 6, 2025
47 of 49 checks passed
@taltcher

taltcher commented May 6, 2025

Copy link
Copy Markdown

@MikeMcQuaid - could you bump the gem's version so we can have this fix available?

@MikeMcQuaid

Copy link
Copy Markdown
Contributor

@taltcher Yes, I'm doing so now. I merged this 15 minutes ago. A little patience please 😀

@taltcher

taltcher commented May 6, 2025

Copy link
Copy Markdown

@MikeMcQuaid of course 😄 thanks a lot for the quick handling!

@MikeMcQuaid

Copy link
Copy Markdown
Contributor

@taltcher @nadavshatz Released now in v5.0.4

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants