thunderbird / thunderbird-website

Build code for the websites on thunderbird.net and start.thunderbird.net
https://www.thunderbird.net
148 stars 77 forks source link

Remove Python 2 support and upgrade requirements.txt #445

Closed MelissaAutumn closed 1 year ago

MelissaAutumn commented 1 year ago

Fixes #439

Remove Python2 support

Removed unicode string hint in faq, and a few more python2 -> 3 adjustments

Fixed wsgi.py from incorrectly building the language_map dictionary and a few small formatting errors

Added wsgi pytest file

Upgrade requirements.txt


requirements-dev.txt was pretty much spot on. I've adjusted some styling / removed some duplicate lines as well. I diffed again tb-website-builds looks pretty clean! I also ran this through my ide's static analysis tool to catch a few things that may cause issues.

Verified on Python 3.11.