Skip to main content

Local Zope Component Support

Project description

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.

CHANGES

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.0 (2023-02-21)

  • Add support for Python 3.8, 3.9, 3.10, 3.11.

  • Drop support for Python 2.7, 3.4, 3.5, 3.6.

  • Remove deprecated:

    • 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)

4.1.0 (2018-10-22)

  • Add support for Python 3.7.

4.0.0 (2017-05-02)

  • 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.

3.9.3 (2011-07-27)

  • Replaced an undeclared test dependency on zope.app.authentication with zope.password.

  • Removed unneeded dependencies.

3.9.2 (2010-09-17)

  • Replaced a testing dependency on zope.app.securitypolicy with one on zope.securitypolicy.

3.9.1 (2010-09-01)

  • No longer using deprecated zope.testing.doctest. Use python’s build-in doctest instead.

  • Replaced the dependency on zope.deferredimport with BBB imports.

3.9.0 (2010-07-19)

  • 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.

3.8.4 (2010-01-08)

  • 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.

3.8.3 (2009-07-11)

  • Removed unnecessary dependency on zope.app.interface.

3.8.2 (2009-05-22)

  • Fix missing import in zope.app.component.metadirectives.

3.8.1 (2009-05-21)

  • Add deprecation note.

3.8.0 (2009-05-21)

  • 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].

3.7.0 (2009-04-01)

  • Removed deprecated zope:defaultView directive and its implementation. New directive to set default view is browser:defaultView.

3.6.1 (2009-03-12)

  • 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.

3.6.0 (2009-01-31)

  • 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.

    • zope:factory directive.

    • 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.

3.5.0 (2008-10-13)

  • Remove deprecated code slated for removal on 3.5.

3.4.1 (2007-10-31)

  • Resolve ZopeSecurityPolicy deprecation warning.

3.4.0 (2007-10-11)

  • Initial release independent of the main Zope tree.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope_app_component-6.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope_app_component-6.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file zope_app_component-6.0.tar.gz.

File metadata

  • Download URL: zope_app_component-6.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_app_component-6.0.tar.gz
Algorithm Hash digest
SHA256 789c7478670ccc7ce1a7591f9c519c2ddbbce0f85d0137a652a739611bb0c313
MD5 82c66ca6f1aa294b3fc6bc2320d8dcfd
BLAKE2b-256 0398ad60e99d8f7c6beb2816729ff7fb4c789a730a469ba086737e149e6efb6e

See more details on using hashes here.

File details

Details for the file zope_app_component-6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zope_app_component-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79b2240233ad807d24a9e53069f0e0b37f4272512aa9f6697f23799722ffd0c0
MD5 ac94d654e3d7e8d1dc7e1ee193bd8dcd
BLAKE2b-256 b71c42de50422943af9f13e40804f3b1284ed92e9ad00a4678853f9e1132ae5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page