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

PEP621 Support building from sdist in a build action #2410

Open
5 tasks
aignas opened this issue Nov 14, 2024 · 0 comments
Open
5 tasks

PEP621 Support building from sdist in a build action #2410

aignas opened this issue Nov 14, 2024 · 0 comments

Comments

@aignas
Copy link
Collaborator

aignas commented Nov 14, 2024

Support building from sdist as a build action instead of repository_rule.

Things needed:

Initial thoughts:

  • It would be good to create an sdist_archive rule, which would download a given sdist by URL and then would parse pyproject.toml. If the pyproject.toml is not found or it is dynamic and requires Python to correctly infer the dependencies, we may need to fail at least in the first iteration.
  • Using Python in the repository context is OK, but adds a lot of complication in the long run - we should attempt to limit its usage as much as possible.

At the moment I don't have time to work on this myself, but writing it down so that an issue for PEP621 based sdist building exists. Feel free to add thoughts here on possible design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant