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

fix interface of settings according to CMFPlone #394

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Conversation

jensens
Copy link
Member

@jensens jensens commented Jan 9, 2022

In CMFPlone this was moved to plone.i18n and is referenced as such there, here the change was missing.

@mister-roboto
Copy link

@jensens thanks for creating this Pull Request and help improve Plone!

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.

Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:

@jenkins-plone-org please run jobs

With this simple comment all the jobs will be started automatically.

Happy hacking!

@jensens jensens force-pushed the fix-registry-record branch from 59e9e42 to 00b025f Compare January 9, 2022 13:43
@jensens jensens marked this pull request as ready for review January 9, 2022 13:43
@jensens
Copy link
Member Author

jensens commented Jan 9, 2022

@jenkins-plone-org please run jobs

1 similar comment
@jensens
Copy link
Member Author

jensens commented Jan 9, 2022

@jenkins-plone-org please run jobs

@jensens
Copy link
Member Author

jensens commented Jan 9, 2022

There is a failure in repoze.xmliter which is probably complete unrelated.
cc @mauritsvanrees have you seen this already?

@mauritsvanrees
Copy link
Member

No, have not seen it.
Jenkins is broken since your commit to a plip file today, which should also be unrelated.

Looks like only a few extra newlines.

@jensens
Copy link
Member Author

jensens commented Jan 9, 2022

repoze.xmliter is unmaintained and something we should either takeover or just copy over the two parts of its code we use.

@mauritsvanrees
Copy link
Member

mauritsvanrees commented Jan 10, 2022

On my coredev 6 checkout, I was on commit 4d5637fe9c86bcfedd6ca41382425539407bfca4 and ran bin/test -s repoze.xmliter and the tests passed.
I did a bin/develop up, ran the tests, and they passed again.
I did a bin/buildout, and then the repoze.xmliter tests failed.
I tried going back some commits on a few repositories (plone.app.layout, Products.CMFPlone, Zope), but that did not help.

mauritsvanrees added a commit to plone/buildout.coredev that referenced this pull request Jan 10, 2022
This should fix the broken build, as the `repoze.xmliter` tests were failing due to some extra newline characters.
See discussion at plone/plone.app.multilingual#394

We extend the versions.cfg from Zope master, which has upgraded lxml to 4.7.1.
(4.7.0 was yanked, probably some failed/broken release.)
It could be one of its bugfixes, or this new feature:

Chunked Unicode string parsing via parser.feed() now encodes the input data to the native UTF-8 encoding directly, instead of going through Py_UNICODE / wchar_t encoding first, which previously required duplicate recoding in most cases.
@mauritsvanrees
Copy link
Member

Found it. Fixed by pinning older lxml. See remarks in plone/buildout.coredev@449d4e5

@jenkins-plone-org please run jobs

@jensens jensens merged commit 2d75faa into master Jan 10, 2022
@jensens jensens deleted the fix-registry-record branch January 10, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants