Skip to content

Conversation

@eli-schwartz
Copy link

Using importlib_metadata conditionally means for the majority of users on recent python, fewer dependencies need be installed, speeding up distro package managers as well as pip install and reducing bandwidth used.

Using sys.version_info checks is self-documenting and various tools can autoremove it when dropping support for old versions of python. This reduces maintenance burden / tech debt when the codebase includes legacy hacks that are anyways slated to be eventually removed.

Fixes: d1d02c6
Fixes: fc7d69c
Bug: #545

Using importlib_metadata conditionally means for the majority of users
on recent python, fewer dependencies need be installed, speeding up
distro package managers as well as pip install and reducing bandwidth
used.

Using sys.version_info checks is self-documenting and various tools can
autoremove it when dropping support for old versions of python. This
reduces maintenance burden / tech debt when the codebase includes legacy
hacks that are anyways slated to be eventually removed.

Fixes: d1d02c6
Fixes: fc7d69c
Bug: Kozea#545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant