Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

CI run against latest deps is failing #13896

Closed
github-actions bot opened this issue Sep 24, 2022 · 1 comment · Fixed by #13905
Closed

CI run against latest deps is failing #13896

github-actions bot opened this issue Sep 24, 2022 · 1 comment · Fixed by #13905
Assignees

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Sep 24, 2022

See https://github.com/matrix-org/synapse/actions/runs/3125758020

@DMRobertson DMRobertson self-assigned this Sep 26, 2022
@DMRobertson
Copy link
Contributor

Complement flake, plus mypy:

synapse/http/server.py:751: error: Incompatible types in assignment (expression has type "Callable[[Any], bytes]", variable has type "Callable[[object], bytes]")  [assignment]
Found 1 error in 1 file (checked 734 source files)

This is due to matrix-org/python-canonicaljson#52

Fix by either marking encoder: Callable[[Any], bytes]; by making _encode_json_bytes take object; or with a #type: ignore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant