nyaa/nyaa
Nicolas F d8e796f3e0 Move to Python 3.7 and update dependencies (#551)
* forms: replace re._pattern_type with re.Pattern

Python 3.7 removed re._pattern_type and replaced it with
re.Pattern.

* readme: update for Python 3.7

* Update requirements

Also remove some unused ones which were neither a direct dependency
nor a dependency of our dependencies.

* account: force ASCII usernames on login form

Our database doesn't like it when we check for unicode data in
a column that stores ASCII data, so let's stop it before it
gets that far.

* Move travis CI to Python 3.7

* travis: use xenial dist

* fix newer linter warnings

Apparently bare excepts are literally Hitler, and we have some
new import sorting rules. Hooray!

* requirements: remove six

This is a dependency for sqlalchemy-utils, but we ourselves don't
depend on it directly because we've never been on Python 2 ever.

* Update requirements.txt
2019-08-10 18:39:53 -07:00
..
static Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
templates Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
views Move to Python 3.7 and update dependencies (#551) 2019-08-10 18:39:53 -07:00
__init__.py Cache url_for calls with lru_cache 2019-04-08 19:28:26 +02:00
api_handler.py Move bencoded info dicts from mysql torrent_info table to info_dict directory. DB change! 2018-02-02 20:39:02 +01:00
backend.py upload/edit: sanitize some string fields 2019-02-25 12:27:09 +01:00
bencode.py Move to Python 3.7 and update dependencies (#551) 2019-08-10 18:39:53 -07:00
email.py [Config change] Password reset by email (#381) 2017-10-08 04:34:40 +03:00
extensions.py Query limit fixes (#555) 2019-04-08 16:59:30 -07:00
forms.py Move to Python 3.7 and update dependencies (#551) 2019-08-10 18:39:53 -07:00
models.py Add trusted application functionality (#533) 2019-08-10 18:18:44 -07:00
search.py Query limit fixes (#555) 2019-04-08 16:59:30 -07:00
template_utils.py Cache url_for calls with lru_cache 2019-04-08 19:28:26 +02:00
torrents.py torrents: clean up & optimize magnets further 2018-07-21 22:06:58 +03:00
utils.py Redo nuke functionality (#459) 2018-03-25 16:24:44 -07:00