Skip to content

synapse >=1.92 does not return a python_version #8

@nerdoc

Description

@nerdoc

using Management.version(), it should return a server_version and python_version.
But since synapse 1.94.0 it does not return a python_version in the JSON.

So your code produces an error.

I would also remove the python_version from the code. This may be backwards incompatible. You could also remove the python str from SynapseVersion (even more incompatible then 😆 ).

Best way would be to check if the server_version is < 1.94.0, and if yes, include python_version. if higher, skip it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions