Resolve the actual data path for windows distrubutions
Fixes a bug where if the host Python is from the Windows store then DATA_DIR will be different with subproceses. This causes a crash creating virtual environments.
See https://github.com/mu-editor/crash-reports/issues/228
Fixes #2293
@tonybaloney would you mind running a make tidy over the PR and re-push, please? I'd be very keen to get this in once it's passing tests.
@tjguk done (the failing test is failing on all PRs)
@tjguk done (the failing test is failing on all PRs)
Yes, the linux sementation fault used to be a lot more sporadic, now it seems to fail once in every CI run. We need to investigate further, but we haven't been able to replicate.
- https://github.com/mu-editor/mu/issues/1454
I've restarted the failing job, should pass the second time.