Skip to content
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 Products.MailHost to 4.10. #679

Closed
wants to merge 8 commits into from
Closed

Conversation

mauritsvanrees
Copy link
Sponsor Member

I saw test failures earlier when I tried it in combination with other new packages.
Now let's try it on its own.
I expect failures due to the changes here: zopefoundation/Products.MailHost#30

@mauritsvanrees mauritsvanrees marked this pull request as draft September 15, 2020 20:41
@mauritsvanrees
Copy link
Sponsor Member Author

@jenkins-plone-org please run jobs

@ale-rt
Copy link
Member

ale-rt commented Sep 17, 2020

initial_value must be str or None, not bytes when doing:

    msg = message_from_string(mails.messages[0])

means that this should be fixed by changing the line to:

    msg = message_from_string(safe_nativestring(mails.messages[0]))

right?
But probably there are some other places where we should apply this safe_nativestring.

@mauritsvanrees
Copy link
Sponsor Member Author

On Python 3 we can call email.message_from_bytes. I have a branch for CMFPlone ready just now that does this. But other types of fixes are needed too.

@mauritsvanrees
Copy link
Sponsor Member Author

CMFPlone should be fixed now. Let's check the progress:

@jenkins-plone-org please run jobs

@jensens jensens mentioned this pull request Sep 23, 2020
@mauritsvanrees mauritsvanrees marked this pull request as ready for review September 24, 2020 10:32
@mauritsvanrees
Copy link
Sponsor Member Author

@jenkins-plone-org please run jobs

@mauritsvanrees
Copy link
Sponsor Member Author

All green! :-)

Copy link
Member

@ale-rt ale-rt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@mauritsvanrees
Copy link
Sponsor Member Author

Note that the plone.api PR is currently being tested on Plone 5.1.

And plone/plone.app.testing#70 is failing on Travis because it is being tested there with the current coredev versions, so still the older Products.MailHost; that should be fixed automatically when we merge this. And Travis also fails because the lint jobs fail, but this has nothing to do with the PR itself. That could be fixed in a separate PR.

@mauritsvanrees
Copy link
Sponsor Member Author

mauritsvanrees commented Sep 25, 2020

The points from my last comment have been addressed: plone.api passes on 5.1, and plone.app.testing Travis lint tests pass.
For me, this is ready to merge.
Steps to take:

Do we agree that this is ready to merge?

If so, either I or someone else could do these steps.

@ale-rt
Copy link
Member

ale-rt commented Sep 25, 2020

Do we agree that this is ready to merge?

It seems the way to go for me. I would leave this to you because you have pretty clear in mind the steps to do.
Thanks for the huge effort!

@jensens
Copy link
Sponsor Member

jensens commented Sep 25, 2020

I would leave this to you @mauritsvanrees too.

@mauritsvanrees
Copy link
Sponsor Member Author

All done and merged. Thanks for the reviews!

@mauritsvanrees mauritsvanrees deleted the maurits/mailhost-410 branch September 25, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants