getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.6k stars 444 forks source link

Fix some deprecation warnings generated during the test suite #3673

Closed tartley closed 1 year ago

tartley commented 1 year ago

Pull Request Checklist

Description

I added a trivial item to .gitignore. The 'tags' file is produced by utilities like 'ctags' (incl. the venerable exhuberant-ctags, and the modern universal-ctags), and is used by programs like Vim for 'go to definition' functionality.

I fixed two deprecation warnings that were generated when I ran the test suite, by making the substitutions suggested by the deprecation warnings themselves. Tests still pass, and the relevant functionality (RST to HTML and antialiasing in thumbnails) still seems to work in a freshly-built site.

The test suite does still generate two deprecation warnings, but they are from code in a dependency of ours (yapsy), and we are using the latest version of that.