five.localsitemanager


Namefive.localsitemanager JSON
Version 4.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/five.localsitemanager
SummaryLocal site manager implementation for Zope.
upload_time2023-02-01 08:58:35
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords zope five sitemanager
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

Overview
--------

five.localsitemanager attempts to provide a local site manager implementation
that is as close to the zope.interface / zope.component implementation as
possible. Some reservations that do not conflict with the original API have
been made to ease the path with CMF.

Developer Resources
-------------------

- Source code:

  https://github.com/zopefoundation/five.localsitemanager

Changelog
=========

4.0 (2023-02-01)
----------------

* Drop support for Python 2.7, 3.5, 3.6.


3.4 (2022-12-16)
----------------

* Fix insidious buildout configuration bug for tests against Zope 4.

* Add support for Python 3.11.


3.3 (2022-04-11)
----------------

* Add support for Python 3.8, 3.9, 3.10.


3.2.2 (2018-11-09)
------------------

* Fix deprecation warnings.


3.2.1 (2018-10-11)
------------------

* Update the tests to a current `persistent` version.


3.2 (2018-10-05)
----------------

* Add support for Python 3.7


3.1 (2018-05-18)
----------------

* More PEP8 compliance.

* Avoid deprecation warnings in tests.

* Drop support for Python 3.4.


3.0.1 - 2017-05-27
------------------

* #4: Replace dependency on ZODB3 with persistent, add zope.site.


3.0.0 - 2017-05-23
------------------

* Target use with Zope 4: no longer support 2.13.x.

* Python 3 compatibility

* Added tox test scripts.


2.0.6 - 2017-05-02
------------------

* Don't complain if the site root has no Acquisition parent.
  [davisagli]

* Removed zope.site dependency. Using Zope 2.12 it is an indirect dependency
  and using Zope 2.13 or later it is no longer required.
  [yuppie]

* Ensure that the PersistentComponents has no aquisition wrapper before passing
  to the superclass, to allow the caching of component roots in zope.interface
  to make a weakref to this root.
  [MatthewWilkes]

2.0.5 - 2011-02-06
------------------

* Made the tests compatible with Zope 2.13.2.

2.0.4 - 2010-06-13
------------------

* Deal with deprecation warnings for Zope 2.13.

* Provide a more meaningful error message if the current site is not set
  correctly or the Acquisition chain of the site is messed up.
  [hannosch]

2.0.3 - 2010-01-02
------------------

* Made 'update_sitemanager_bases_handler' fail silently instead of raising an
  error. This allows to import broken sites, in particular old CMF sites.
  [yuppie]

2.0.2 - 2009-11-15
------------------

* Fix regression in five.localsitemanager 2.0.1 where unregistering a utility
  based on its provided interface broke if no utility was registered for that
  interface.
  [davisagli]

2.0.1 - 2009-10-19
------------------

* Adapt unregistering of components work to work with latest zope.component.
  [hannosch]

* Fix unregistering of components which have a physical path.
  [thefunny42]

2.0 - 2009-09-27
----------------

* Cleaned up package documentation and fixed spelling errors in the tests.
  [hannosch]

* Made sure that the __of__ method is only called on objects providing the
  IAcquirer interface.
  [hannosch]

* Updated forked registerUtility method to match the zope.component 3.7.1
  code base. This fixes the two bugs with the implicit unregistration of
  utilities for existing interface / name pairs.
  [hannosch]

* Simplified some code, aq_parent now respects __parent__ pointers.
  [hannosch]

2.0a1 - 2009-05-27
------------------

* Updated to use IObjectMovedEvent from zope.lifecycleevent instead of
  zope.container. We require zope.lifecycleevent >= 3.5.2 now.
  [hannosch]

* Removed package dependencies that did collide with the KGS of Zope 2.12.
  [yuppie]

* Adjusted code to use the new zope.site and zope.container packages and use
  the ISite interface from zope.location.
  [hannosch]

* Specify all package dependencies including Acquisition and Zope2. You need
  to use either the eggified Zope 2.12 or create fake-eggs for these.
  [hannosch]

* 'make_site' no longer stores the path of the site manager in its name. This
  way the name can't become out-dated. PersistentComponents' __repr__ method
  now returns the current path instead of the name of the site manager.
  [yuppie]

* Requiring zope.component >= 3.5.0.
  [icemac]

1.0 - 2008-11-18
----------------

* Utilities registered with an absolute path were returned with the
  RequestContainer in the aq_chain. As the result of the first utility
  look-up is stored in the adapter look-up cache, subsequent utility
  look-ups return the utlitiy with the RequestContainer of the first
  look-up.

  Solution: For utilities registered with an absolute path the
  RequestContainer is now also removed at look-up.
  [icemac]


1.0c1 - 2008-08-27
------------------

* Added buildout for project, so testing can be done using ``bin/test``.
  [icemac]

* Added ability to register utilities with an absolute path. These
  utilities are returned wrapped into their original context. This
  change is backward compatible to existing registries.

  But registering utilities having an acquisition context will behave
  different because these utilities will be returned in their original
  context. To restore the previous behavior, register utilities
  unwrapped (aq_base).

  For storing path information the component must implement
  getPhysicalPath and have an absolute path.

  When a component registered as utility is moved and registered again
  the path stored in registry gets updated.
  [icemac]


0.4 - 2008-07-23
----------------

* Rewrite PersistentComponents.registeredUtilities to not use
  internal methods. This makes it compatible with both zope.component <3.5.0dev
  and >3.5.0dev.
  [wichert]


0.3 - 2007-12-24
----------------

* Fixed potential aq problem when assigning various values to the utilities
  registry of the component registry.
  [hannosch]


0.2 - 2007-06-30
----------------

* Refactored and fixed aq wrapping: Nested site managers now return utilities
  wrapped in the right context. RequestContainers are removed and wrapped
  utilities are cached. This requires a special LookupClass called
  'FiveVerifyingAdapterLookup' in all 'utilities' registries used below a
  five.localsitemanager site.
  [yuppie, hannosch]


0.1.2 - 2007-06-23
------------------

* Corrected the zip-safe flag to be False.


0.1.1 - 2007-03-05
------------------

* Fixed aq wrapping when looking up a utility that is actually the component
  registry's parent (the ISite).


0.1 (2007-02-27)
----------------

* Initial version

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/five.localsitemanager",
    "name": "five.localsitemanager",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "zope five sitemanager",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/bc/c9/b43fc6beb19de76a4e665cdc480d9e35a2b75b0e36c339979b9290abbf76/five.localsitemanager-4.0.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\nOverview\n--------\n\nfive.localsitemanager attempts to provide a local site manager implementation\nthat is as close to the zope.interface / zope.component implementation as\npossible. Some reservations that do not conflict with the original API have\nbeen made to ease the path with CMF.\n\nDeveloper Resources\n-------------------\n\n- Source code:\n\n  https://github.com/zopefoundation/five.localsitemanager\n\nChangelog\n=========\n\n4.0 (2023-02-01)\n----------------\n\n* Drop support for Python 2.7, 3.5, 3.6.\n\n\n3.4 (2022-12-16)\n----------------\n\n* Fix insidious buildout configuration bug for tests against Zope 4.\n\n* Add support for Python 3.11.\n\n\n3.3 (2022-04-11)\n----------------\n\n* Add support for Python 3.8, 3.9, 3.10.\n\n\n3.2.2 (2018-11-09)\n------------------\n\n* Fix deprecation warnings.\n\n\n3.2.1 (2018-10-11)\n------------------\n\n* Update the tests to a current `persistent` version.\n\n\n3.2 (2018-10-05)\n----------------\n\n* Add support for Python 3.7\n\n\n3.1 (2018-05-18)\n----------------\n\n* More PEP8 compliance.\n\n* Avoid deprecation warnings in tests.\n\n* Drop support for Python 3.4.\n\n\n3.0.1 - 2017-05-27\n------------------\n\n* #4: Replace dependency on ZODB3 with persistent, add zope.site.\n\n\n3.0.0 - 2017-05-23\n------------------\n\n* Target use with Zope 4: no longer support 2.13.x.\n\n* Python 3 compatibility\n\n* Added tox test scripts.\n\n\n2.0.6 - 2017-05-02\n------------------\n\n* Don't complain if the site root has no Acquisition parent.\n  [davisagli]\n\n* Removed zope.site dependency. Using Zope 2.12 it is an indirect dependency\n  and using Zope 2.13 or later it is no longer required.\n  [yuppie]\n\n* Ensure that the PersistentComponents has no aquisition wrapper before passing\n  to the superclass, to allow the caching of component roots in zope.interface\n  to make a weakref to this root.\n  [MatthewWilkes]\n\n2.0.5 - 2011-02-06\n------------------\n\n* Made the tests compatible with Zope 2.13.2.\n\n2.0.4 - 2010-06-13\n------------------\n\n* Deal with deprecation warnings for Zope 2.13.\n\n* Provide a more meaningful error message if the current site is not set\n  correctly or the Acquisition chain of the site is messed up.\n  [hannosch]\n\n2.0.3 - 2010-01-02\n------------------\n\n* Made 'update_sitemanager_bases_handler' fail silently instead of raising an\n  error. This allows to import broken sites, in particular old CMF sites.\n  [yuppie]\n\n2.0.2 - 2009-11-15\n------------------\n\n* Fix regression in five.localsitemanager 2.0.1 where unregistering a utility\n  based on its provided interface broke if no utility was registered for that\n  interface.\n  [davisagli]\n\n2.0.1 - 2009-10-19\n------------------\n\n* Adapt unregistering of components work to work with latest zope.component.\n  [hannosch]\n\n* Fix unregistering of components which have a physical path.\n  [thefunny42]\n\n2.0 - 2009-09-27\n----------------\n\n* Cleaned up package documentation and fixed spelling errors in the tests.\n  [hannosch]\n\n* Made sure that the __of__ method is only called on objects providing the\n  IAcquirer interface.\n  [hannosch]\n\n* Updated forked registerUtility method to match the zope.component 3.7.1\n  code base. This fixes the two bugs with the implicit unregistration of\n  utilities for existing interface / name pairs.\n  [hannosch]\n\n* Simplified some code, aq_parent now respects __parent__ pointers.\n  [hannosch]\n\n2.0a1 - 2009-05-27\n------------------\n\n* Updated to use IObjectMovedEvent from zope.lifecycleevent instead of\n  zope.container. We require zope.lifecycleevent >= 3.5.2 now.\n  [hannosch]\n\n* Removed package dependencies that did collide with the KGS of Zope 2.12.\n  [yuppie]\n\n* Adjusted code to use the new zope.site and zope.container packages and use\n  the ISite interface from zope.location.\n  [hannosch]\n\n* Specify all package dependencies including Acquisition and Zope2. You need\n  to use either the eggified Zope 2.12 or create fake-eggs for these.\n  [hannosch]\n\n* 'make_site' no longer stores the path of the site manager in its name. This\n  way the name can't become out-dated. PersistentComponents' __repr__ method\n  now returns the current path instead of the name of the site manager.\n  [yuppie]\n\n* Requiring zope.component >= 3.5.0.\n  [icemac]\n\n1.0 - 2008-11-18\n----------------\n\n* Utilities registered with an absolute path were returned with the\n  RequestContainer in the aq_chain. As the result of the first utility\n  look-up is stored in the adapter look-up cache, subsequent utility\n  look-ups return the utlitiy with the RequestContainer of the first\n  look-up.\n\n  Solution: For utilities registered with an absolute path the\n  RequestContainer is now also removed at look-up.\n  [icemac]\n\n\n1.0c1 - 2008-08-27\n------------------\n\n* Added buildout for project, so testing can be done using ``bin/test``.\n  [icemac]\n\n* Added ability to register utilities with an absolute path. These\n  utilities are returned wrapped into their original context. This\n  change is backward compatible to existing registries.\n\n  But registering utilities having an acquisition context will behave\n  different because these utilities will be returned in their original\n  context. To restore the previous behavior, register utilities\n  unwrapped (aq_base).\n\n  For storing path information the component must implement\n  getPhysicalPath and have an absolute path.\n\n  When a component registered as utility is moved and registered again\n  the path stored in registry gets updated.\n  [icemac]\n\n\n0.4 - 2008-07-23\n----------------\n\n* Rewrite PersistentComponents.registeredUtilities to not use\n  internal methods. This makes it compatible with both zope.component <3.5.0dev\n  and >3.5.0dev.\n  [wichert]\n\n\n0.3 - 2007-12-24\n----------------\n\n* Fixed potential aq problem when assigning various values to the utilities\n  registry of the component registry.\n  [hannosch]\n\n\n0.2 - 2007-06-30\n----------------\n\n* Refactored and fixed aq wrapping: Nested site managers now return utilities\n  wrapped in the right context. RequestContainers are removed and wrapped\n  utilities are cached. This requires a special LookupClass called\n  'FiveVerifyingAdapterLookup' in all 'utilities' registries used below a\n  five.localsitemanager site.\n  [yuppie, hannosch]\n\n\n0.1.2 - 2007-06-23\n------------------\n\n* Corrected the zip-safe flag to be False.\n\n\n0.1.1 - 2007-03-05\n------------------\n\n* Fixed aq wrapping when looking up a utility that is actually the component\n  registry's parent (the ISite).\n\n\n0.1 (2007-02-27)\n----------------\n\n* Initial version\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Local site manager implementation for Zope.",
    "version": "4.0",
    "split_keywords": [
        "zope",
        "five",
        "sitemanager"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99e815f1ad1b722220a3e07440e6709d9a4280c920016bdb989b5050f6471bb3",
                "md5": "27c350cb702949645cb92520346a2c3a",
                "sha256": "74fab4e7ec39377f3f9f5803ce4dd6cededa4999a2e8715e8247411068c087aa"
            },
            "downloads": -1,
            "filename": "five.localsitemanager-4.0-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "27c350cb702949645cb92520346a2c3a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 19421,
            "upload_time": "2023-02-01T08:58:32",
            "upload_time_iso_8601": "2023-02-01T08:58:32.761589Z",
            "url": "https://files.pythonhosted.org/packages/99/e8/15f1ad1b722220a3e07440e6709d9a4280c920016bdb989b5050f6471bb3/five.localsitemanager-4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bcc9b43fc6beb19de76a4e665cdc480d9e35a2b75b0e36c339979b9290abbf76",
                "md5": "5d241ac5ce4e9a34ac52ea460dd56526",
                "sha256": "af2da5340c5dc011689b3236160f63faf765b53aa3f1f816b95b954e0a3f5c53"
            },
            "downloads": -1,
            "filename": "five.localsitemanager-4.0.tar.gz",
            "has_sig": true,
            "md5_digest": "5d241ac5ce4e9a34ac52ea460dd56526",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 20169,
            "upload_time": "2023-02-01T08:58:35",
            "upload_time_iso_8601": "2023-02-01T08:58:35.073771Z",
            "url": "https://files.pythonhosted.org/packages/bc/c9/b43fc6beb19de76a4e665cdc480d9e35a2b75b0e36c339979b9290abbf76/five.localsitemanager-4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-01 08:58:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "five.localsitemanager",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "five.localsitemanager"
}
        
Elapsed time: 0.04789s