-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix / Handle long paths on Windows (Python) (#433)
* Add a test case to make sure the Shim loader can handle long paths on Windows * Include tests for loading resources in the shim loader tests * Add a unit test for the model loader where the checkout dir has a long path * Add unit tests for the Git repos checking out into directories with long paths * Add unit tests for the PyPi repos checking out into directories with long paths * Add repo tests for the local repo implementation * Fix handling of Windows long paths for Git and PyPi repos * Fix try_clean_dir() in utils module and add windows_unc_path() * Fix handling long paths on Windows in the model loader * Update repos test after changes in utils module * Fix one Python warning * Add test cases for long paths in the file storage test suite * Use UNC paths for local storage on Windows * Clean up long file names in local storage tests * On Windows, sanitise UNC root paths for logging * Tidy up some test naming
- Loading branch information
1 parent
890d8a1
commit 11686e9
Showing
13 changed files
with
408 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.