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
op.realpath() -> Path.resolve() #4057
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4057 +/- ##
==========================================
- Coverage 88.74% 88.58% -0.17%
==========================================
Files 282 282
Lines 36888 37034 +146
==========================================
+ Hits 32738 32807 +69
- Misses 4150 4227 +77
Continue to review full report at Codecov.
|
Windows test failures are funky, and do not replicate on a real win10 box or appveyor.... |
Force-pushed a rebased PR, with all discussed issues addressed. Let's see.... |
Grrr, sank another day into this one. If you see the issue(s), please HELP!!! Thx! |
This one approach to a clean solution to dataladgh-4055 without having to introduce a custom helper function.
Importantly, this makes the with_tempfile decorator use this new approach, which provides any test with proper longpaths that afford lexical comparisions on Windows.
…code Raise if an archive path outside a repository was given to add_archive_content.This scenario is not supported.
Must be more gentle, cannot have really obscure file names on windows (limit similar to other places in the code).
Not that it would matter other than making the test fail.
Still not worky worky :( |
The remaining test failures with automagic IO only occur with PY36+ and |
Once this PR is merged, we can finally start hunting down Github CI issues on windows (those that remain, and are not due to invalid lexical short path comparisons) |
rmtree(): device or resource busy and friends...
This is done. |
This aims to fix #4055 and fix #4192
with_tempfile
report properly resolved longpaths on windows to satisfy all those tests that perform lexical comparisons of pathsPath.resolve()
to supportstrict=False
on PY35