Update trustme to 0.9.0
MODIFY
dev-requirements.txt
dev-requirements.txt
@@ -5,7 +5,7 @@ pytest==6.2.4
pytest-timeout==1.4.2
pytest-freezegun==0.4.2
flaky==3.7.0
-trustme==0.7.0
+trustme==0.9.0
cryptography==3.4.7
python-dateutil==2.8.1
requests

MODIFY
dummyserver/server.py
dummyserver/server.py
@@ -18,7 +18,7 @@ import tornado.httpserver
import tornado.ioloop
import tornado.netutil
import tornado.web
-import trustme # type: ignore[import]
+import trustme
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization

MODIFY
noxfile.py
noxfile.py
@@ -157,6 +157,7 @@ def mypy(session: nox.Session) -> None:
session.install("cryptography>=1.3.4")
session.install("tornado>=6.1")
session.install("pytest>=6.2")
+ session.install("trustme==0.9.0")
session.install("types-python-dateutil")
session.install("nox")
session.run("mypy", "--version")

MODIFY
test/conftest.py
test/conftest.py
@@ -8,7 +8,7 @@ from pathlib import Path
from typing import AbstractSet, Generator, NamedTuple, Optional
import pytest
-import trustme # type: ignore[import]
+import trustme
from tornado import ioloop, web
from dummyserver.handlers import TestingApp

Update trustme to 0.9.0