-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Image comparison decorator: symlinks to baseline images #6824
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
Comments
Sounds reasonable to me. We just need to ensure that this still runs correctly on all platforms |
symlinks do not play well with windows |
Matplotlib supports Windows XP? If not then Windows is not a problem. |
As far as I remember the main problem is with symlinks within git repositories. That should not apply here. I am not sure about windows xp. We have not deliberately broken support for it but it's also not really tested. |
I had some problems with git and links, but they were hard links to files or symlinks to folders (because you can easily wipe your original folder or files). That does no apply here at least because |
As a non-windows user I am greatly confused why the issues with links apply to git, but not here? @Kojoley If you work on windows and this works for you then 👍 to links instead of copying. |
Previously git-scm on windows was not aware of symlinks (from its point they were just regular files), so |
I do not know is it problem or not, but I think by default artifact tars will contain symlinks to baseline images (I believe there is some switches for this) |
Just discovered LMK if this belongs in a separate issue. |
@jbrockmendel You should have a look at pytest-mpl instead. |
done in #10222. |
Currently image comparison decorator copies baseline image to
result_images
folder. Is not it better not to copy, but make symlink? With that change it still will be safe to removeresult_images
folder withrm -rf
.The text was updated successfully, but these errors were encountered: