Skip to content

Comments

inspection.info: simplify get_pep517_metadata#7703

Closed
FFY00 wants to merge 2 commits intopython-poetry:mainfrom
FFY00:redo-pep517-metadata
Closed

inspection.info: simplify get_pep517_metadata#7703
FFY00 wants to merge 2 commits intopython-poetry:mainfrom
FFY00:redo-pep517-metadata

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 force-pushed the redo-pep517-metadata branch from 5b3f39f to eea8e51 Compare March 22, 2023 04:13
@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 from eea8e51 to db1ac1c Compare March 22, 2023 04:34
@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.

@FFY00 FFY00 force-pushed the redo-pep517-metadata branch from b58ce8e to 975f1ad Compare March 23, 2023 04:52
@Secrus
Copy link
Member

Secrus commented Mar 20, 2024

Superseded by #9168

@Secrus Secrus closed this Mar 20, 2024
@github-actions
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