Closed lorddavidiii closed 1 year ago
Hi @lorddavidiii thanks for the contribution.
We don't actually test on python <3.8 so as long as your happy with this on 3.7 my only requirements is the tests pass.
(If we get complaints though about breaking some older version I likely will revert)
Merging #112 (ad775eb) into main (137a360) will decrease coverage by
0.96%
. The diff coverage is60.00%
.
@@ Coverage Diff @@
## main #112 +/- ##
==========================================
- Coverage 92.97% 92.02% -0.96%
==========================================
Files 4 4
Lines 185 188 +3
==========================================
+ Hits 172 173 +1
- Misses 13 15 +2
Files | Coverage Δ | |
---|---|---|
src/nbmake/pytest_plugin.py | 85.18% <60.00%> (-6.49%) |
:arrow_down: |
This PR replaces the deprecated use of
pkg_resources
withimportlib.metadata
.As
importlib.metadata.version()
is only availeable forpython>=3.8
I addimportlib-metadata
as dependency forpython<3.8
(not sure if I have done this right).