You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is then problematic when checking if the attempted cache path is relative to (a subfolder of) the original cache path. Of course this may be fixable in our logic -- perhaps we don't resolve, or we resolve all paths the same way everywhere. In either case since our end users may opt to use that Python installation method we should try to be compatible.
As a broader issue, we should test application function across a variety of platforms and Pythons (e.g., conda).
The text was updated successfully, but these errors were encountered:
The cache path can sometimes resolve incorrectly on Windows machines. This may be related to using the Microsoft Store installer of Python, but that is not certain.
platformdirs tends to suggest the following for the Windows application's cache path:
C:\Users\$USER\AppData\Local\epymorph\epymorph\Cache
When we call
resolve()
on that Path, however it can return something like this:C:\Users\$USER\AppData\Local\packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\Local\epymorph\epymorph\Cache
This is then problematic when checking if the attempted cache path is relative to (a subfolder of) the original cache path. Of course this may be fixable in our logic -- perhaps we don't resolve, or we resolve all paths the same way everywhere. In either case since our end users may opt to use that Python installation method we should try to be compatible.
As a broader issue, we should test application function across a variety of platforms and Pythons (e.g., conda).
The text was updated successfully, but these errors were encountered: