-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests broken on Python 3.12 #95
Comments
Here are the patches used in Debian to fix this issue and #96 https://salsa.debian.org/python-team/packages/txdbus/-/tree/debian/master/debian/patches?ref_type=heads |
This was fixed in 2204dce We need to cut a new release. |
Actually, only the |
Fixes authentication tests for Python >= 3.12. See: #95
See: #97 I still have one test failing:
Unsure what's causing this. |
Fixes authentication tests for Python >= 3.12. See: #95
Fixes authentication tests for Python >= 3.12. See: #95
Fixes authentication tests for Python >= 3.12. See: #95
Hi I found that the test passes with this change: This only seems to be an issue when the signature is Edit: I also tried downgrading Twisted as far back as I could. I could install everything above 19.7.0. The issue persistent with every release. I’m not convinced this is a twisted issue. |
Hello,
tests are broken on Python 3.12 due to the use of deprecated plural variant of method names such as
assertEquals
, see Python 3.12 release notes for details: https://docs.python.org/3.12/whatsnew/3.12.html#id3One example line where it's used: https://github.com/cocagne/txdbus/blob/master/tests/test_authentication.py#L439
The fix is straightforward, the final
s
must be removed on the methods listed in the documentation above.Thanks!
The text was updated successfully, but these errors were encountered: