statisticsnorway / kvakk-git-tools

Repo for sharing recommended git config and git scripts in Statistics Norway
MIT License
2 stars 0 forks source link

replace pkg_resources with importlib modules #44

Closed skykanin closed 3 months ago

skykanin commented 3 months ago

the module pkg_resources is deprecated and now requires setuptools to be manually added in python 3.12 as a project dependency

instead we replace it with the new and faster importlib.metadata and importlib.resources modules which is part of the python stdlib as long as we're using a sufficiently new python version

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud