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

Execute posy built-frontend to build the wheel. #80

Closed
4 tasks done
Tracked by #32
tdejager opened this issue Nov 16, 2023 · 2 comments
Closed
4 tasks done
Tracked by #32

Execute posy built-frontend to build the wheel. #80

tdejager opened this issue Nov 16, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@tdejager
Copy link
Contributor

tdejager commented Nov 16, 2023

When we have access to venv's from #78 we can then use the posy build-frontend to actually build the wheel from an Sdist.

To do this:

During resolution:

  • Use the information from the Sdist pyproject to get the build backend and requirements
  • Resolve an environment and install this into a Allow creation of virual env and installing of wheel files into this env. #78 venv.
  • Run the posy frontend to get metadata using the prepare_metadata_for_build_wheel hook and associate this metadata with the artifact. Probably need to modify the frontend to suit our use-case.

During installation

  • Run the posy frontend to build the wheel using the build_wheel function to actually build and save it in the wheel cache Create a wheel cache #79

Important note is that the prepare_metadata_for_build_wheel need not exist so we need to differentiate between this in some way, if it was build or if it has just created the metadata.

@tdejager tdejager mentioned this issue Nov 16, 2023
4 tasks
@tdejager tdejager added the enhancement New feature or request label Nov 16, 2023
@tdejager
Copy link
Contributor Author

Intial PR is here: #84

@tdejager
Copy link
Contributor Author

Closed by #84

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

No branches or pull requests

1 participant