Open mhsmith opened 1 year ago
Will the pip upstreaming render the current package repository obsolete?
No, because Android wheels aren't yet accepted by PyPI, although that's something we're working on long-term. But I'd like to be able to use an unpatched version of pip to install from our existing repository, because the patches make it more difficult to upgrade pip to deal with issues like https://github.com/beeware/briefcase/issues/1480.
Our current patches are mainly for:
android
platform tag, so that e.g. building for anandroid_25
platform will still accept wheels tagged asandroid_21
.--prefer-binary
, but I'm not sure whether that still applies.We also try to make any attempt to build native code fail fast and cleanly, but think that's done only with patches to setuptools, not pip.
Once we're able to use an unpatched version of pip, we should stop bundling it with Chaquopy, and instead install it into a cached venv during the build, as build-wheel does. For reproducibility, we should still use a fixed version of pip by default, but it would be a good idea to provide a
pip { version }
option to override this.Related:
980