Skip to content

(Bugfix) Allow lowercase paths for .dist-info#945

Merged
MikeMcQuaid merged 1 commit intolicensee:mainfrom
julia-thorn:allow-lowercase-paths
Mar 16, 2026
Merged

(Bugfix) Allow lowercase paths for .dist-info#945
MikeMcQuaid merged 1 commit intolicensee:mainfrom
julia-thorn:allow-lowercase-paths

Conversation

@julia-thorn
Copy link
Contributor

Summary

licensee can correctly detect PyJWT's MIT license when pointed at the repository but licensed's pip source miss local artifact license files if .dist-info casing is different (for example PyJWT vs pyjwt). This fix just compares .dist-info paths case-insensitively, so files are found even when the name casing differs.

Copy link
Contributor

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks!

@MikeMcQuaid MikeMcQuaid merged commit 440b7d3 into licensee:main Mar 16, 2026
43 checks passed
@julia-thorn
Copy link
Contributor Author

Hi @MikeMcQuaid, thanks so much for the quick review and merge! Not sure if you already have a release scheduled, but do you have a rough estimate for when this might go out? Thanks again!

@MikeMcQuaid
Copy link
Contributor

@julia-thorn 5.0.6 released now, thanks for the nudge!

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.

2 participants