Remove deprecated pkg_resources#1166
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1166 +/- ##
=======================================
Coverage 88.38% 88.38%
=======================================
Files 176 176
Lines 12946 12946
=======================================
Hits 11442 11442
Misses 1504 1504 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
pramodk
left a comment
There was a problem hiding this comment.
If the example from README still works then this is all good!
This comment has been minimized.
This comment has been minimized.
|
@pramodk I've added unit tests for the example from the README and caught a few issues along the way, should be okay now. |
|
Minor annoyance (similar to #1165): if we merge this, we need to update the Spack recipe with py-importlib-metadata and py-importlib-resources (only if we test on Python 3.8, if not, you can ignore this). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1166 +/- ##
=======================================
Coverage 87.17% 87.17%
=======================================
Files 175 175
Lines 12884 12884
=======================================
Hits 11232 11232
Misses 1652 1652 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Logfiles from GitLab pipeline #196575 (:white_check_mark:) have been uploaded here! Status and direct links: |
* Replace `pkg_resources` with `importlib` * Update requirements * Add test to make sure we can read examples from README
* Replace `pkg_resources` with `importlib` * Update requirements * Add test to make sure we can read examples from README NMODL Repo SHA: BlueBrain/nmodl@cd4edec
The
pkg_resourcessubmodule ofsetuptoolsis deprecated, andimportlibshould be used instead (or its backports,importlib_metadataandimportlib_resources).