-
Notifications
You must be signed in to change notification settings - Fork 174
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
Ignore failed move of cache index and warn. #1235
Conversation
It would probably be nice to have this in a 2.3.1 bugfix release. |
LGTM, pending on this working on Aaron's system which experienced the problem in the first place. |
|
Made a fixup commit, hopefully it works now. |
It worked. 🎆 Do we have an open issue for documenting how to disable the cache? Point 3 in the warning is currently not so helpful for the average user since googling "nengo disable cache" or searching our pydocs for "cache disable" brings up nothing. |
👉 Please read “Interactions with other PRs” of the PR description. |
Pushed some commits to rearrange a bit and add a test. If they're OK with @jgosmann I'll merge; will add a possible 2.3.1 release to the dev meeting agenda. |
Looks fine to me. Not sure if the added test is necessary or useful. It seems to test implementation details to some degree (whether |
Thanks for the ping, will look at this now, thanks! |
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.
Looks good! I'll add the changelog entry in the merge.
e53bd8b
to
90e9ec2
Compare
90e9ec2
to
930041f
Compare
Motivation and context:
The
replace
respectivelymove
can fail on Windows due to some interaction with anti-virus software (see #1200 for details). This PR ignores the failure and produces a warning.Interactions with other PRs:
I would like to include a link to some documentation on how to disable the cache in the warning, but I need #1130 to be merged for that.
How has this been tested?
I haven't tested this because testing stuff on Windows is always very time consuming and annoying for me. But maybe @arvoelke is so nice to give it a test run? 🙏
How long should this take to review?
Types of changes:
Checklist: