-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[vcpkg-get-python-packages] Cache packages via pip precandidate #38760
base: master
Are you sure you want to change the base?
[vcpkg-get-python-packages] Cache packages via pip precandidate #38760
Conversation
a) this depends on the tool RFC |
Python tools need to be the exact same version as the python3 port, or you introduce potential interesting compile failures. AFAIK, the Python 3 port is still on 3.11, but this is using 3.12. This also seems to be completely unnecessary - we already have the tool package and |
The purpose of this port is as a module for finding
The |
Just use the same approach as |
About same approach as For using pypi source dist requires additional build dependencies, I didn't choose this way. And for pypi binary dist consists of complex dependencies such as https://pypi.org/pypi/pandas/json |
@WangWeiLin-MV: I am aware of all what your are telling me. I am still saying use the same approach as YOu also want to automate the generation. So you might want to create a powershell/cmake scripts using |
Thanks to @Neumann-A and @Hoikas, I'll continue the discussion later that for the find_python function and whether it replaces Before this, I will first make |
066e2d2
to
6e49aaa
Compare
WIPAbstract
Download
pypi
packages byvcpkg_download_distfile
, then install packages offline.Fix #37473 (review). And any other port that depends on
pip install
.Changes
venv
norpip
(i.e. Embedded Python)pip
commandprecandidate
to obtain the candidate package filename during local installationvcpkg_download_distfile
WIP