Skip to content

Conversation

@AbhinavPradeep
Copy link

@AbhinavPradeep AbhinavPradeep commented Oct 24, 2025

Summary

This PR extracts the build backends used in generating a pure wheel via downloading and unziping the target wheel to inspect the .dist-info information and looking through the source distribution for pyproject.toml information.

Description of changes

  • Modified pypi_registry.py to add functionality to temproarily download a wheel for analysis
  • Modified pypi_spec.py to extract the build backends using tempruary downloads of the source distribution and target wheel.
  • Modified pypi_toga integration test to reflect the new build spec. Added the pypi_cachetools integration test to check for the case where versions are not provided for a backend in the pyproject.toml.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 24, 2025
@behnazh-w behnazh-w force-pushed the behnazh/python-build-support branch 2 times, most recently from 5a67adf to c3144f7 Compare October 29, 2025 08:17
@AbhinavPradeep AbhinavPradeep force-pushed the abhinav/support-for-pure-python-wheel-rebuilds branch from 92d2501 to de6cb5e Compare October 30, 2025 05:47
@AbhinavPradeep AbhinavPradeep changed the base branch from behnazh/python-build-support to main October 30, 2025 06:01
@AbhinavPradeep AbhinavPradeep marked this pull request as ready for review October 30, 2025 23:39
@behnazh-w behnazh-w changed the title feat: adding functionality to generate build specification for pure python wheels feat: generate build specification for pure python wheels Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant