Closed ghost closed 1 year ago
@smithj382 have you been able to make any sense of the path errors for Windows? I was looking over the azure logs and trying to figure out what's up. It seems like a relative path issue still
@smithj382 have you been able to make any sense of the path errors for Windows? I was looking over the azure logs and trying to figure out what's up. It seems like a relative path issue still
@gferragu I tried to revert to not using relative_to for the Windows platform (as the build that passed Azure was doing), but it seems like the test used relative_to for Windows despite the if platform != "Windows":
use and I'm not sure why.
Yes, the purpose of the if-statement was to not use relative paths on Windows and it had fixed things before. I think that the reason for the errors may be unrelated to this, but it is difficult to test/debug without a Windows system to run it on.
@smithj382 Yeah that seems weird, it's definitely still running the relative_to bit despite running on Windows
These edits were included in #1016 in which I fixed the Windows issue.
Added a rename projection option to the gmrecords proj subcommand.
Replaced all uses of os.path with Pathlib in gmrecords.py
Replaced all uses of os.path with Pathlib in projects.py
Updated the changelog to reflect these changes