-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Pip local install (via PEP 517) fails if a folder named LICENSES is present in the source code #2565
Comments
Having looked briefly through the source, I think the issue is here: poetry/poetry/masonry/builders/wheel.py Lines 186 to 188 in 65e5068
Poetry automatically adds any Perhaps a way of solving this would be to enumerate a few more different options for these automatic inclusion files:
If it helps, I can create a pull request to implement the above changes. |
Another way to solve this and any similar issues might be to fix |
This avoids only hitting an error when making a release. Currently this is failing due to python-poetry/poetry#2565
This issue is affecting As alluded to by @MrJohz, the use of the
|
As an aside, it looks like since I last looked at this, the relevant code moved to I would second @milliams' point about the REUSE spec - it's becoming increasingly common to see this in research software engineering, and the fact that anyone trying to implement this spec cannot, by default, use poetry to manage their project makes this a bit of a blocker. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
Running
pip install .
in a poetry project that has a folder namedLICENSES
will fail with the following exception:See the linked repository (https://github.com/MrJohz/poetry-license-error-demo) for a full reproduction example.
The text was updated successfully, but these errors were encountered: