Merge with Android cross venv from cibuildwheel
- Dominant language
- Python
- Stars
- 12
- Forks
- 5
- Avg merge
- 2h 20m
- Merged PRs (30d)
- 3
Description
### What is the problem or limitation you are having?
This project duplicates a similar implementation in cibuildwheel.
### Describe the solution you'd like
Merge the two implementations, and migrate cibuildwheel to use xbuild.
The cibuildwheel implementation is here:
* https://github.com/pypa/cibuildwheel/blob/main/cibuildwheel/resources/_cross_venv.py
When experimenting with using this to run pip in https://github.com/chaquo/chaquopy/pull/1416, I added compatiblity with Python 3.12 and older. I abandoned that approach with pip, but it may be worth including here:
* https://github.com/chaquo/chaquopy/blob/9d628a81a02b499827380047dba8ebc443489bf0/product/gradle-plugin/src/main/python/_cross_venv.py
Contributor guide
Research direction
Compare the xbuild implementation with cibuildwheel/resources/_cross_venv.py and product/gradle-plugin/src/main/python/_cross_venv.py, including the compatibility changes noted in the Chaquopy commit. Start by identifying the shared behavior and integration points. Done means the implementations are merged, cibuildwheel uses xbuild, and the supported Python versions remain compatible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100