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

Plone 5 deprecation warning #975

Closed
tisto opened this issue Jun 29, 2020 · 3 comments
Closed

Plone 5 deprecation warning #975

tisto opened this issue Jun 29, 2020 · 3 comments

Comments

@tisto
Copy link
Member

tisto commented Jun 29, 2020

Follow up on plone/Products.CMFPlone#3130:

/home/vincentfretin/workspace/buildout.coredev-5.2/src/plone.restapi/src/plone/restapi/controlpanels/__init__.py:6: DeprecationWarning: ILanguageSchema is deprecated. It has been moved to plone.i18n.interfaces, import from there instead.
  from Products.CMFPlone.interfaces.controlpanel import ILanguageSchema
@tisto
Copy link
Member Author

tisto commented Jun 29, 2020

https://pypi.org/project/plone.i18n/4.0.4/ introduced ILanguageSchema.

mauritsvanrees added a commit that referenced this issue Sep 2, 2020
Note: zope.component.hooks already works in Plone 4.3.
Part of #975
@mauritsvanrees
Copy link
Member

Partially fixed by @tisto in cec8f44 and/or e4a2ad0 (released in 6.13.6).

ILanguageSchema from CMFPlone is still there in the tests though.

And we use deprecated zope.site.hooks.

I am preparing a small PR: #988

mister-roboto pushed a commit to plone/buildout.coredev that referenced this issue Sep 2, 2020
Branch: refs/heads/master
Date: 2020-09-02T14:46:11+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.restapi@727be21

Fixed deprecation warnings for zope.site.hooks and ILanguageSchema.

Note: zope.component.hooks already works in Plone 4.3.
Part of plone/plone.restapi#975

Files changed:
A news/975.bugfix
M src/plone/restapi/testing.py
M src/plone/restapi/tests/test_documentation.py
M src/plone/restapi/tests/test_serializer_summary.py
Repository: plone.restapi

Branch: refs/heads/master
Date: 2020-09-02T15:00:21+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.restapi@6117f4d

Fixed DeprecationWarning: splitSchemaName: moved to plone.dexterity.schema

Files changed:
M news/975.bugfix
M src/plone/restapi/types/utils.py
Repository: plone.restapi

Branch: refs/heads/master
Date: 2020-09-02T17:36:45+02:00
Author: Jens W. Klein (jensens) <[email protected]>
Commit: plone/plone.restapi@1fb8709

Merge pull request #988 from plone/maurits/fix-warnings

Fixed deprecation warnings for zope.site.hooks and ILanguageSchema.

Files changed:
A news/975.bugfix
M src/plone/restapi/testing.py
M src/plone/restapi/tests/test_documentation.py
M src/plone/restapi/tests/test_serializer_summary.py
M src/plone/restapi/types/utils.py
@mauritsvanrees
Copy link
Member

My PR was merged.

tisto pushed a commit that referenced this issue Sep 29, 2020
Note: zope.component.hooks already works in Plone 4.3.
Part of #975
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

No branches or pull requests

2 participants