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

Require Python 3.8+, configure with plone/meta #86

Merged
merged 13 commits into from
Feb 10, 2024

Conversation

mauritsvanrees
Copy link
Member

This pours the plone/meta sauce over this package.

Some notes:

  • I went looking into Diazo because it has a test failure when using lxml 5. If I or someone else wants to fix this, it helps if we are not trying to test Python 2.7 still.
  • I moved the source code from lib to src.
  • I mostly disabled zpretty, because causes various test failures, and mostly touches test files. Could be picked up later.
  • tox -e dependencies complains about missing requirements repoze.xmliter and webob, but these are in the wsgi extras_require. I disabled the GitHub action for this.

…higher.

Remove all buildout configs.  They all seem really old and unmaintained, though there could still be value in them.
lib is in the updated .gitignore file, and in Plone we expect the code to be in src, not in lib.
No other changes in this commit.
Only handle zcml (which is one file).
When handling html and/or xml, we get various test failures like these:

* `TypeError: a bytes-like object is required, not 'str'`
* `lxml.etree.XMLSyntaxError: Entity 'nbsp' not defined, line 4, column 59`
* `lxml.etree.XMLSyntaxError: Entity 'Acirc' not defined, line 11, column 20`
* `AssertionError: False is not true`
It does not take the 'wsgi' extra into account.
@mister-roboto
Copy link

@mauritsvanrees thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@mauritsvanrees
Copy link
Member Author

The Jenkins 5.2 jobs are mentioned above. I have now switched coredev 5.2 to use newly created branch 1.x.

@jenkins-plone-org please run jobs

@mauritsvanrees mauritsvanrees merged commit 24cf313 into master Feb 10, 2024
11 of 13 checks passed
@mauritsvanrees mauritsvanrees deleted the config-with-default-template-5d3e918e branch February 10, 2024 00:11
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