-
Notifications
You must be signed in to change notification settings - Fork 10
Switch default to return pathlib.Path rather than py.path.local().
#509
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
Update deprecation message to announce that the latter will be completely removed later.
|
Seems sensible to stage this. So, this changes the default, then we can remove all |
|
I'd probably go full nuclear; outright remove; catch and raise an error for it's presence in kwargs, just always return Path. Do a major version bump (which I think by the dials-data deployment we do here, e.g. update |
|
Ok, fair enough - will go for that |
|
@ndevenish I rediscovered this. Are you happy with it, now it has full removal and version bump? |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #509 +/- ##
==========================================
- Coverage 56.25% 49.69% -6.56%
==========================================
Files 6 6
Lines 368 330 -38
==========================================
- Hits 207 164 -43
- Misses 161 166 +5 🚀 New features to boost your workflow:
|
|
Yes, good legacy cruft to remove |
|
I'm going to revert this as this has killed all of dials (well, 737 tests). Having a redundant parameter should at best be a warning, not a ValueError. |
Also update deprecation message to announce that the latter will be completely removed later.