netneurolab / netneurotools

Useful tools from the Network Neuroscience Lab
https://netneurolab.github.io/netneurotools
BSD 3-Clause "New" or "Revised" License
57 stars 33 forks source link

[FIX] Fix deprecation #127

Closed liuzhenqi77 closed 7 months ago

liuzhenqi77 commented 9 months ago

Since pkg_resources is going to be removed in Python 3.12, replacing it with importlib.resources.files. Currently it is not a perfect solution because importlib.resources is also undergoing substantial changes across version.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2add592) 55.70% compared to head (b5d52d1) 55.83%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #127 +/- ## ========================================== + Coverage 55.70% 55.83% +0.12% ========================================== Files 26 26 Lines 2391 2398 +7 ========================================== + Hits 1332 1339 +7 Misses 1059 1059 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ghisvail commented 7 months ago

Closes #131