-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Use python venv for SPMI collection / jit rolling build #95714
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
Conversation
Since it needs to install packages.
Tagging subscribers to this area: @hoyosjs Issue DetailsSince it needs to install packages.
|
@BruceForstall PTAL Less certain how to do this for windows, since we're invoking the Successful-ish run here: https://dev.azure.com/dnceng/internal/_build/results?buildId=2330788&view=logs&j=5eaadb19-0c1f-5ec8-5e1a-fa86334b456a It still isn't completely green but I think the smoke test failures may be unrelated? @TIHan any ideas there? |
Shouldn't it work the same way for Windows? If I try locally, I get a venv\Scripts\python.exe. Couldn't you define (for Windows):
(I also see a venv\Scripts\pip3.exe, but maybe the |
@BruceForstall added similar for windows Validation run was a bit ragged (for other reasons) https://dev.azure.com/dnceng/internal/_build/results?buildId=2331419&view=results |
Addresses the SPMI part of #49464 Should be easy enough to fix the rolling build too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the "(on linux)" string.
(sadly, I wrote that comment a couple days ago but apparently never "published" it :-( )
- ${{ parameters.steps }} | ||
|
||
- script: $(PythonSetupScript) | ||
displayName: Enable python venv (on linux) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This runs on Mac as well
displayName: Enable python venv (on linux) | |
displayName: Enable python venv |
Do I hear a volunteer? It's much faster turnaround to test the rolling build. |
Ok, done. There are still more yml files with the old-style python/pip lurking in them, maybe they run only on windows and so don't (yet) cause problems? |
The changes look good to me.
AFAIK, jitrollingbuild and SPMI collect are the only JIT-owned YML that use pip to upgrade Python packages. |
There is one more in eng/pipelines/common/templates/runtimes/run-test-job.yml |
Ah, right, the coreclr "run" test job does all the spmi processing itself. So that points out some other places that should change:
|
None of the rest currently cause problems, so I'm going to merge this bit when CI is done so we get clean(er) collections over the weekend and come back for the rest later. |
Since it needs to install packages.