This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Debian builds fail with ascii encoding error on older distros #9076
Comments
Something is very strange here. Changing the test to the following still fails: def test_map_userinfo_to_invalid_localpart(self):
"""If the mapping provider generates an invalid localpart it should be rejected."""
print("Hello, föö"))
assert True The traceback is:
|
Maybe we're hitting something like https://twistedmatrix.com/trac/ticket/8864 or https://twistedmatrix.com/trac/ticket/989 where Twisted's default logger doesn't properly handle unicode. Might explain the weird failures in #8993. It must be something with the build environment, as these tests work fine in CI on older python versions... |
A-ha! It's https://bugs.python.org/issue19846, "Python 3 raises Unicode errors with the C locale", which is fixed as of Python 3.7. Tests pass with Running a build on all supported distros to make sure we're good, but I expect that solves it. |
callahad
added a commit
to callahad/synapse
that referenced
this issue
Jan 12, 2021
Fixes matrix-org#9076 Signed-off-by: Dan Callahan <danc@element.io>
callahad
added a commit
to callahad/synapse
that referenced
this issue
Jan 12, 2021
Fixes matrix-org#9076 Signed-off-by: Dan Callahan <danc@element.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Debian builds for debian:stretch, ubuntu:xenial, and ubuntu:bionic fail along these lines:
(Errors taken from an ubuntu:bionic container)
Will investigate further in the morning.
The text was updated successfully, but these errors were encountered: