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

get_requires_for_build_wheel must return build requirements and not dependencies (#1689) #1874

Closed

Conversation

finswimmer
Copy link
Member

At the moment get_requires_for_build_wheel and get_requires_for_build_sdist returns the dependencies of the packages. This is wrong. According to PEP517 they should return the requirements needed to build the package. To accomplish this, this PR introduce a new property build_requires for the package class, which stores the requires value of the build-system section within the pyproject.toml. The methods above are modified to return this stored values.

Fixes: #1689

Pull Request Check List

This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

  • Added tests for changed code.
  • Updated documentation for changed code.

@finswimmer finswimmer requested a review from a team January 12, 2020 20:50
@finswimmer finswimmer added the kind/bug Something isn't working as expected label Jan 12, 2020
@finswimmer finswimmer closed this Jan 13, 2020
Copy link

github-actions bot commented Mar 1, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing directory poetry package with dependencies in secondary source fails
1 participant