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

inspection.info: simplify get_pep517_metadata #7703

Closed
wants to merge 2 commits into from

Conversation

FFY00
Copy link

@FFY00 FFY00 commented Mar 22, 2023

Resolves: #6154, #7702

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

This patch simplifies get_pep517_metadata, makes it more efficient, and make sure we handle the build dependencies corrently on legacy (setup.py) projects.

@FFY00 FFY00 changed the title utils.env: add run_pip_install helper inspection.info: simplify get_pep517_metadata Mar 22, 2023
@FFY00 FFY00 force-pushed the redo-pep517-metadata branch 2 times, most recently from 0710780 to b58ce8e Compare March 22, 2023 04:43
@dimbleby
Copy link
Contributor

related #7670, which takes a complementary approach: if poetry can understand pep-621 compliant pyproject.toml well enough to read the metadata from it directly then there's no need to install in this code path at all.

probably there's room for both, I've no idea whether that other has stalled or is only resting.

@Secrus
Copy link
Member

Secrus commented Mar 20, 2024

Superseded by #9168

@Secrus Secrus closed this Mar 20, 2024
Copy link

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 Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

poetry install does not honor build-system.requires
3 participants