-
Notifications
You must be signed in to change notification settings - Fork 140
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
Remove destination data files if they exist. #658
Remove destination data files if they exist. #658
Conversation
Hi Martin! Long time no see. How are you? Thanks, I think this change makes sense. Just for neatness, though, let's try deleting it and ignore the error if it's not there. Pathlib makes this easy with |
Hi Thomas, Yes, that makes sense what you're saying. I didn't see that you're already using pathlib in the code. Btw. give me a shout when you're next time around in HH. |
Thanks! I was actually just there last week - the next visit will probably be around early December, I'll let you know when I've figured it out. Yeah, I'm wildly inconsistent on using pathlib vs os.path. 😄 |
Fix typo and .unlink method Co-authored-by: Thomas Kluyver <[email protected]>
My bad, I had missed the note that I think we can drop Python 3.7 support from the main |
OK, that's done now in #660. I'll merge that tomorrow if no-one objects, then we can re-run the tests on this one. |
Closing & reopening to re-run tests against the latest commit. |
Tests are passing now. Thanks Martin! |
We recently switched to flit and I came across this issue when I installed a package using the "symlink" mode. What I did was adding more data files and then re installing the package to create the symlinks to the recently added data files:
Since without
-s
any existing data files would be overridden anyways I figured it's ok to delete any existing data files.