Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: incorrect metadata license file #119

Closed
b-kamphorst opened this issue Oct 19, 2022 · 2 comments
Closed

bug: incorrect metadata license file #119

b-kamphorst opened this issue Oct 19, 2022 · 2 comments

Comments

@b-kamphorst
Copy link

Hi! It appears that the formulaic wheel metadata is faulty for the license file. It states License-File: LICENSE, but the license file is located in licenses/LICENSE. As a result, e.g. pip-licenses is unable to determine the license:

# pip-licenses -p formulaic
 Name       Version  License 
 formulaic  0.5.2    UNKNOWN 

The metadata was fine for version 0.4.0:

# pip-licenses -p formulaic
 Name       Version  License     
 formulaic  0.4.0    MIT License 

As such, I expect that this is an issue in the hatching back-end that you migrated to in 0.5.0. However, I'm not familiar with that so I'll leave the assessment and possible propagation to the community.

@matthewwardrop
Copy link
Owner

matthewwardrop commented Nov 9, 2022

Hi!

Thanks for reporting this. I checked with hatch upstream, and it looks like they have adopted PEP 639 pre-emptively, which defines this behavior concretely (vs implicitly as before).

If you are using pip-licenses, I'd suggest raising an issue with them, and see if they might not add support for this.

Closing this one out.

@b-kamphorst
Copy link
Author

Hi @matthewwardrop thank you so much for looking into this and providing a clear answer! I've reported this back to pip-licenses so that they can improve their tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants