-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH/CI: Add Cache for Azure pipelines - posix #44029
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
5c4bf62
to
7dc9abe
Compare
Hey folks it seems I have most of this figured, some notes
|
Update: The MacOS pipelines are still working as expected, however since yesterday I noticed that the Windows pipelines are getting stuck in I might for now try and do some debugging and see if I can pinpoint to the root cause, but in the meantime a review to the rest of the PR would be grand |
Thanks for the PR. Do you know how much time this saves?
If it's easier for you, you can update the posix pipelines first and do the Windows pipelines in a follow up. Also, I noticed that as of the latest commit |
Co-authored-by: Thomas Li <[email protected]>
Hey @lithomas1 thanks for having a look - I have gone ahead and split the posix and Windows cache parts as suggested. As is the |
can you merge master |
Sorted! |
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.
The Azure build is failing unfortunately. I left a suggestion that might fix it, and some other feedback.
ci/azure/posix.yml
Outdated
condition: eq(variables.CONDA_CACHE_RESTORED, 'false') | ||
|
||
- script: | | ||
conda update -q -y -n pandas-dev --file $ENV_FILE |
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.
conda update -q -y -n pandas-dev --file $ENV_FILE | |
conda env update -q -y -n pandas-dev --file $ENV_FILE |
python -m pip install --no-build-isolation -e . | ||
echo "conda list" | ||
conda list | ||
displayName: 'Build extensions and install pandas' |
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.
Is there a reason you are not using ci/setup_env.sh? Note that that script is also used by other builds on Github Actions, so if you are changing that file, you should gate your changes behind an env variable to avoid it affecting other builds.
does this help in build time? can you show before / after |
@trallard can you merge master and address comments |
Sorry folks I took some time off at the end of year - will merge master and add the details requested today |
@trallard what's the status here? |
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.
Sorry for the late review and thanks for updating the PR. Can you merge main again?
source activate pandas-dev | ||
conda list pandas | ||
python setup.py build_ext -q -j2 | ||
python -m pip install --no-deps -U pip wheel setuptools |
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.
I think setuptools will need to be pinned to <60 to pass CI.
Thanks for the PR, but it appears to have gone stale. Additionally, there is some discussion about moving aware from Azure pipelines as well #46351. Closing, but would be happy to take similar changes to our GHA builds! |
Trying to leverage the use of cache on Azure pipelines - currently WIP will make some investigations