Local Zope Component Support
NOTE: this package is deprecated. Its functionality has been moved to more reusable packages, namely: zope.component, zope.security, zope.site and zope.componentvocabulary. Please import from there instead.
This package provides various ZCML directives (view, resource) and a user interface related to local component management.
Add support for Python 3.8, 3.9, 3.10, 3.11.
Drop support for Python 2.7, 3.4, 3.5, 3.6.
zope.app.component.getNextUtility (import from zope.site)
zope.app.component.queryNextUtility (import from zope.site)
zope.app.component.getNextSiteManager (no replacement)
zope.app.component.queryNextSiteManager (no replacement)
Add support for Python 3.7.
Remove test dependencies on zope.app.testing, zope.app.zcmlfiles, and others.
Remove install dependency on zope.app.form, replaced with direct imports of zope.formlib.
Simplify zope.app.component.testing to remove the deprecated or broken functionality in testingNextUtility and SiteManagerStub. PlacefulSetup is retained (and incorporates much of what was previously inherited from zope.app.testing), although use of zope.component.testing.PlacelessSetup is suggested when possible.
Add support for PyPy and Python 3.4, 3.5 and 3.6.
Replaced an undeclared test dependency on zope.app.authentication with zope.password.
Removed unneeded dependencies.
Replaced a testing dependency on zope.app.securitypolicy with one on zope.securitypolicy.
No longer using deprecated zope.testing.doctest. Use python’s build-in doctest instead.
Replaced the dependency on zope.deferredimport with BBB imports.
Added missing BBB import in zope.app.component.metaconfigure.
Requiring at least zope.component 3.8 where some modules have moved which are BBB imported here.
Import hooks functionality from zope.component after it was moved there from zope.site.
Import ISite and IPossibleSite from zope.component after they were moved there from zope.location. This lifts the direct dependency on zope.location.
Fix tests using a newer zope.publisher that requires zope.login.
Removed unnecessary dependency on zope.app.interface.
Fix missing import in zope.app.component.metadirectives.
Add deprecation note.
IMPORTANT: this package is now empty except for some ZMI definitions in zope.app.component.browser. Functionality from this package has been moved to zope.site, zope.componentvocabulary and zope.component, so preferably import from those locations.
zope.componentvocabulary has the vocabulary implementations that were in zope.app.componentvocabulary now, import them from there for backwards compatibility.
moved zope:resource and zope:view directive implementation and tests over into zope.component [zcml].
Removed deprecated zope:defaultView directive and its implementation. New directive to set default view is browser:defaultView.
Make class directive schemas importable from old location, raising a deprecation warning. It was moved in the previous release, but some custom directives could possibly use its schemas.
Deprecate import of ClassDirective to announce about new location.
Change package’s mailing list address to zope-dev at zope.org, because zope3-dev at zope.org is now retired.
Adapt to the move of IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.
Moved the implementation of the <class> directive from this package to zope.security. In particular, the module zope.app.component.contentdirective has moved to zope.security.metaconfigure, and a compatibility import has been left in its place.
Extracted zope.site from zope.app.component with backwards compatibility imports in place. Local site related functionality is now in zope.site and packages should import from there.
Remove more deprecated on 3.5 code:
zope.app.component.fields module that was pointing to the removed back35’s LayerField.
zope.app.component.interface module that was moved to zope.component.interface ages ago.
zope:content and zope:localUtility directives.
deprecated imports in zope.component.metaconfigure
browser:tool directive and all zope.component.browser meta.zcml stuff.
Remove “back35” extras_require as it doesn’t make any sense now.
Remove zope.modulealias test dependency as it is not used anywhere.
Deprecate ISite and IPossibleSite imports from zope.app.component.interfaces. They were moved to zope.location.interfaces ages ago. Fix imports in zope.app.component itself.
Remove deprecated code slated for removal on 3.5.
Resolve ZopeSecurityPolicy deprecation warning.
Initial release independent of the main Zope tree.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for zope.app.component-5.0-py3-none-any.whl