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

Add support for Python 3, Plone 5.2 and Plone 6 #900

Merged
merged 68 commits into from
Feb 1, 2022
Merged

Add support for Python 3, Plone 5.2 and Plone 6 #900

merged 68 commits into from
Feb 1, 2022

Conversation

pbauer
Copy link
Member

@pbauer pbauer commented Nov 9, 2021

No description provided.

Copy link
Member

@hvelarde hvelarde left a comment

Choose a reason for hiding this comment

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

sorry, guys, but it's not possible for me to review a PR with 48 commits and 106 files changed

@pbauer
Copy link
Member Author

pbauer commented Jan 24, 2022

This is ready for merging.

Copy link
Member

@wesleybl wesleybl left a comment

Choose a reason for hiding this comment

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

I reviewed and left some comments.

src/collective/cover/setuphandlers.py Show resolved Hide resolved
src/collective/cover/testing.py Outdated Show resolved Hide resolved
src/collective/cover/tests/test_setup.py Outdated Show resolved Hide resolved
src/collective/cover/tests/test_setup.py Outdated Show resolved Hide resolved
src/collective/cover/tiles/edit.py Outdated Show resolved Hide resolved
src/collective/cover/tiles/file.py Outdated Show resolved Hide resolved
src/collective/cover/tiles/list.py Outdated Show resolved Hide resolved
src/collective/cover/tiles/richtext.py Outdated Show resolved Hide resolved
webpack/app/galleria/theme.js Show resolved Hide resolved
wesleybl and others added 17 commits January 31, 2022 18:22
The default Python 3 isort rules are different from the Python 2 isort
rules. So we need to ignore I004 in Python 2.
Use Products.CMFPlone.utils.safe_text instead of
Products.CMFPlone.utils.safe_unicode.

safe_unicode is deprecated.
We already have part rebuild_i18n-sh in buildout.
Tests in Plone 5.2 doesn't install the product into
portal_quickinstaller. So, to make reinstall in portal_quickinstaller,
we need to install the product in portal_quickinstaller.
Since we don't use RequireJS, compile must be false.

Also renames the configuration file to bootstrapjs.xml.
So, when we go to fix the robot tests, this will already be working
Avoid error:

Module build failed: BrowserslistError: Unknown browser query `dead`

Ref: browserslist/browserslist#266 (comment)
Copy link
Member

@wesleybl wesleybl left a comment

Choose a reason for hiding this comment

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

LGTM.

Some adjustments still need to be made but can be done in other PRs so this one doesn't get even bigger.

@wesleybl wesleybl merged commit e91b381 into master Feb 1, 2022
@wesleybl wesleybl deleted the plone52 branch February 1, 2022 19:17
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.

6 participants