Modernize dependencies, squash warnings?
Closed this issue · 8 comments
While working on #11, #12, I've found some things annoying.
The following warnings end up in end users test logs:
plugin.py:168: DeprecationWarning: This method will be removed in future versions. Use 'tree.iter()' or 'list(tree.iter())' instead.
- just what it says?
PytestDeprecationWarning: direct construction of CheckLinks has been deprecated, please use CheckLinks.from_parent
- require whatever version introduces
from_parent
Less pressing, but still annoying are our test cases:
PytestExperimentalApiWarning: testdir.copy_example is an experimental api that may change over time
- don't use
copy_example
... justshutil.copy
into testdir?
Finally, keeping 3.5 and 2.7 happy is annoying
- perhaps drop them?
- ...and start testing on
3.9-nightly
?- the
MutableMapping
pocalypse hitshtml5lib
,requests-cache
, etc. however
- the
- probably can't do both at once
Given that 2.7 is past EOL, I say we drop it. Python 3.5 is still supported in JupyterLab, so I say we keep it for now. The others I don't see as blockers for release.
Hello, this project looks really useful, should I try to fix the deprication errors?
@AnnaDinaburgVulikh That would be marvelous!
I think folk have thus far been kinda willing to deal with it, since it's "just" docs, but clean runs benefit everyone!
Hi @bollwyvl , made the fix.
Ah, is that the only thing outstanding? Super! PR away, though CI might well not run due to an change on Travis-CI... but good to let folk know/discuss.
Hi @blink1073 , would you like to merge the fix for the deprecation warning?
Are any adjustments needed due to the change on Travis-CI?
We set up Github Actions in #24, can you please open a pull request with you change @AnnaDinaburgVulikh?