Closed gnunicorn closed 11 months ago
Workaround until then: adding "pydantic >=1.7.4, <2"
as a dev dependency on the local project:
[project.optional-dependencies]
dev = [
# ...
"matrix_synapse_testutils",
"pydantic >=1.7.4, <2", ## FIXME: https://github.com/matrix-org/synapse/issues/16630
# ...
]
This package is not released by us: https://pypi.org/project/matrix-synapse-testutils/
I see. Didn't realize. Thanks for the heads up, @clokep !
Description
Trying to build a new synapse module using the cookiecutter template. Adding tests using the released
matrix-synapse-testutils
(big thanks for doing that!) but run into the pydantic v2 error ( #16331 ) which is meant to work in the latest matrix-synapse release already (using the compat layer) but as I am pulling in matrix-synapse-testutils it fails. The latest release of that package is 1.80.0 from April leading to pulling in matrix-synapse 1.80 which doesn't have the fix either :( .Would highly appreciate if a new release of the testutils could be cut by the maintainers!
Steps to reproduce
dependencies = [ "matrix-synapse >= 1.95.1", ]
[project.optional-dependencies] dev = [ "matrix_synapse_testutils", ]
Homeserver
n/a
Synapse Version
n/a
Installation Method
pip (from PyPI)
Database
n/a
Workers
Single process
Platform
Arch Linux
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response