-
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
Duplicate lines in the wheel RECORD file when a native extension is built #7505
Comments
I believe this code is supposed to prevent this issue: However, it doesn't work, because |
There are even warnings about this in our test environment (which I have not attached much importance to so far):
I assume that when fixing this bug, these tests can be extended to check that there are no duplicate entries in the RECORD file. |
I guess the short-term solution here is to skip building on Windows ? Not sure what else I could do |
this happens also with poetry 1.4 . other OS does not suffer this issue. |
as per my comment on poetry-core, that PR fixes this issue. Thanks, |
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) and have included the output below.Issue
Create a project as follows:
pyproject.toml
:build.py
:poetry_test\__init__.py
: emptypoetry_test\test.c
:Now build:
Note the warnings.
Now, examine the
RECORD
file inside the wheel:As you can see,
test.c
and__init__.py
are listed twice. This contradicts the spec:The text was updated successfully, but these errors were encountered: