-
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
Fix building distribution of PEP 561 stub-only packages #2000
Conversation
@finswimmer I have accidentally removed the review request you have added - can you add it again? |
There is a bug in poetry, which should be fixed with python-poetry/poetry#2000 but until then, having this extra file seems to allow installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, can you please rebase this PR?
…wheel Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
@abn sure thing, done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions. Sorry, should have picked it up in the last round.
It would be good to not treat them as properties because they, can be expensive calls depending on the number of elements.
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
@abn no worries, better apply changes now than deal with bad design later. I guess I was too distracted by |
@hoefling thank you for the fix; feel free to provide a port of the fix to python-poetry/core repo too if you can. Otherwise, I can do a port sometime later this week. |
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
@abn gladly, was actually easier than I thought. python-poetry/poetry-core#28 |
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This reverts commit c7b924b.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Updated documentation for changed codeno documentation updates needed, this patch only fixes what has worked before.This is a fix for a regression in #475, first introduced in c401850. Added explicit check for PEP 561 stub-only packages, put duplicate code in a separate method. To avoid the regression reintroduced, added tests for:
Thank you in advance for a review!