Skip to content

Commit 3f8b506

Browse files
Bump cryptography from 3.4.8 to 35.0.0 (#626)
* Bump cryptography from 3.4.8 to 35.0.0 Bumps [cryptography](https://github.com/pyca/cryptography) from 3.4.8 to 35.0.0. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@3.4.8...35.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Remove fixed type ignore Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull <[email protected]>
1 parent cc4f6f5 commit 3f8b506

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

aiohttp_session/cookie_storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ def __init__(
3636
pass
3737
elif isinstance(secret_key, (bytes, bytearray)):
3838
secret_key = base64.urlsafe_b64encode(secret_key)
39-
# TODO: Typing error fixed in https://github.com/pyca/cryptography/pull/5951
40-
self._fernet = fernet.Fernet(secret_key) # type: ignore[arg-type]
39+
self._fernet = fernet.Fernet(secret_key)
4140

4241
async def load_session(self, request: web.Request) -> Session:
4342
cookie = self.load_cookie(request)

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sphinx==4.2.0
88
pep257==0.7.0
99
-e .
1010
aioredis==2.0.0
11-
cryptography==3.4.8
11+
cryptography==35.0.0
1212
docker==5.0.3
1313
pynacl==1.4.0
1414
pytest==6.2.5

0 commit comments

Comments
 (0)