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
Update to Twisted 17.5.0 #3310
Update to Twisted 17.5.0 #3310
Conversation
@rodrigc looks like the py3 tests are broken by this release :-( Would you like to look at it? |
In 17.5.0 more of twisted.mail has been ported to py3. So the buildbot code which uses this module needs to be fixed. |
@rodrigc as I want to release soon. I want this to move forward. I take the task of making this PR pass. |
@rodrigc I finally spent the afternoon working on http://twistedmatrix.com/trac/ticket/9175 :-/ |
I stumbled on a mail notifier issue yesterday with 17.5.0, FYI. |
Codecov Report
@@ Coverage Diff @@
## master #3310 +/- ##
==========================================
- Coverage 88.23% 88.23% -0.01%
==========================================
Files 322 322
Lines 33425 33426 +1
==========================================
- Hits 29494 29493 -1
- Misses 3931 3933 +2
Continue to review full report at Codecov.
|
@rodrigc updated your branch with the needed unit test fixes. let me know if this is fine for you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and merge this.
I think there is more work done to have email fully working on Python 3 with 17.5.0, but this
is a good first step. Other than the e2e test, is there a way to actually trigger sending an email with reporter.email to test this?
Thanks for fixing this.
@rodrigc the best would be to run a twisted sntp server if it exists in order to create a real e2e test, but this is a bit harder. I think manually testing once is fine enough. |
@s0undt3ch Can you test mail notification on Python 3 + Twisted 17.5.0 with @tardyp's latest fixes? You can test the stuff from git by doing something like:
|
Nope:
|
The requirements were bumped to |
@s0undt3ch I think I found your problem on this line in Twisted: https://github.com/twisted/twisted/blob/trunk/src/twisted/mail/smtp.py#L1899 Can you hack your local copy of Twisted 17.5.0 and change:
to:
|
@rodrigc yes, that fixes it. |
Thanks @s0undt3ch ! |
https://github.com/twisted/twisted/blob/twisted-17.5.0/NEWS.rst