tomerfiliba / plumbum

Plumbum: Shell Combinators
https://plumbum.readthedocs.io
MIT License
2.78k stars 182 forks source link

fix: use importlib resources #680

Open henryiii opened 2 months ago

henryiii commented 2 months ago

See about fixing one of the two issues in #678 by getting off pkg_resources. I think this won't work as I wrote it on Python < 3.12, as that is when directories were added, but let's see.

TODO: add a test, it shouldn't have worked, directories weren't supported until 3.12.

coveralls commented 2 months ago

Coverage Status

coverage: 84.846% (-0.01%) from 84.858% when pulling 9ed0386bfa960abf363e544265053885bca4f14b on henryiii/fix/importlibre into 06da1f6cd44fe36b05dfa048a46e298ce7ab5eb8 on master.