14 Dec
2022
14 Dec
'22
4:03 p.m.
Dan Smith via chirp_devel wrote:
I'll need to go dig into that to see if we should be doing something else. Perhaps you're on an older python and importlib_resources behaves differently than my native one in python 3.10. So yeah, let me know which macos you're on and where you got python (and which version) so I can try to narrow it down.
I specifically conditional imported importlib_resources to use the package if the Python used is < 3.10, since certain constructs used only appeared in time for 3.10; they are backported into the package. Doing this conditional import ensures consistent behaviour (at least in theory).
PosixPath can be str()'d to get just a path string, so perhaps that's all we need to do there.
Correct.
--
Charlie Li
…nope, still don't have an exit line.