fix system image library uninstallation on macos x86#7622
fix system image library uninstallation on macos x86#7622pmeier merged 9 commits intopytorch:mainfrom
Conversation
|
8c5b877 has a green CI for all CMake and unittest workflows. |
This reverts commit f30e413.
NicolasHug
left a comment
There was a problem hiding this comment.
Stamping, but why is removing the uninstallation of png lib has an effect on the jpeg lib? IIUC the failures in https://pipelines.actions.githubusercontent.com/serviceHosts/e1cea170-7cad-4fd4-b94c-3e3f4452f685/_apis/pipelines/1/runs/60504/signedlogcontent/24?urlExpires=2023-05-24T10%3A29%3A04.2815900Z&urlSigningMethod=HMACV1&urlSignature=k7F0EHX1UgrEUKv1kqdLfWJGDUDX7mK%2Bx543dpy3418%3D relate to libjpeg, not libpng
|
That is a really good question. I honestly didn't see that. My guess is that the new logic is somehow wrong and jpeg library is not uninstalled for some reason. Let me check. |
|
Log output before: So I guess I'm right since the log after the patch never has the after: |
This reverts commit 8c5b877.
|
Ok, there were two things coming together with for lib in "${IMAGE_LIBS}"; do
brew uninstall --ignore-dependencies --force "${lib}" || true
I've fixed both things in 334b4e5 |
|
Looking good now |
This reverts commit 48b25c2.
|
Hey @pmeier! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Reviewed By: vmoens Differential Revision: D46314044 fbshipit-source-id: 64a92c371c3ccf3927169c9637c346302d3111a4
#7417 touched the general dev env creation for CI. Amongst other things, it now also install systemlibpnglibraries on macOS x86. However, this leads to failures with our I/O tests: https://github.com/pytorch/vision/actions/runs/5057898641/jobs/9077254208. This uninstallation was part of the journey to get CMake running, but was no longer needed in the end.Thanks to @NicolasHug observation, it turned out that the root cause was a broken uninstall logic and nothing to do with the PNG libs. This PR now fixes the error described in #7622 (comment).
cc @seemethere