Products.TemporaryFolder


NameProducts.TemporaryFolder JSON
Version 7.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/Products.TemporaryFolder
SummaryZope temporary folder support.
upload_time2023-02-01 08:58:26
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords zope zodb temporary storage folder
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/zopefoundation/Products.TemporaryFolder/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/Products.TemporaryFolder/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/Products.TemporaryFolder/badge.svg?branch=master
   :target: https://coveralls.io/github/zopefoundation/Products.TemporaryFolder?branch=master

.. image:: https://img.shields.io/pypi/v/Products.TemporaryFolder.svg
   :target: https://pypi.org/project/Products.TemporaryFolder/
   :alt: Current version on PyPI

.. image:: https://img.shields.io/pypi/pyversions/Products.TemporaryFolder.svg
   :target: https://pypi.org/project/Products.TemporaryFolder/
   :alt: Supported Python versions

Overview
========

Zope temporary storage / folder support.


Please note
-----------
Before release 5.2 of the ``tempstorage`` package sessioning configurations
using this temporary folder implementation were discouraged because the
temporary storage backend could lose data. This is no longer the case.

Don't forget to add or uncomment the temporary storage database definition
as shown below in your Zope configuration if you want to instantiate a
temporary folder. After a Zope restart, visit the Zope Management Interface
and select ZODB Mount Point from the list of addable items to activate the
temporary folder mount point::

  <zodb_db temporary>
      <temporarystorage>
        name Temporary database (for sessions)
      </temporarystorage>
      mount-point /temp_folder
      container-class Products.TemporaryFolder.TemporaryContainer
  </zodb_db>

When upgrading from version 5.3 to 6.0 and removing the ZODB Mount Point
configuration shown above from your Zope configuration you need to manually
delete the ``/temp_folder`` object in the ZMI before restarting your Zope
instance with version 6.0. If you see tracebacks
``ZConfig.ConfigurationError: No database configured for mount point at
/temp_folder`` after the upgrade, please reinstate the ``zodb_db temporary``
Zope configuration as shown above, restart Zope and manually delete
``/temp_folder``. Then remove the ``zodb_db temporary`` configuration and
restart Zope.

Changelog
=========

7.0 (2023-02-01)
----------------

- Drop support for Python 2.7, 3.5, 3.6.


6.3 (2022-12-16)
----------------

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

- Add support for Python 3.10 and 3.11.


6.2 (2021-07-06)
----------------

- "Undeprecate" sessioning configurations using this package
  because ``tempstorage`` version 5.2 fixed the data loss issue.
  (`#16
  <https://github.com/zopefoundation/Products.TemporaryFolder/issues/16>`_)

- Update package configuration.


6.1 (2021-03-16)
----------------

- Add support for Python 3.9.


6.0 (2020-09-01)
----------------

- split ``Products.ZODBMountPoint`` into separate package
  and removed all code that automatically instatiates a temporary
  folder and sessioning artifacts on Zope startup.
  (`#12
  <https://github.com/zopefoundation/Products.TemporaryFolder/issues/12>`_)


5.3 (2019-04-15)
----------------

- improve the README

- Specify supported Python versions using ``python_requires`` in setup.py
  (`Zope#481 <https://github.com/zopefoundation/Zope/issues/481>`_)

- Added support for Python 3.8


5.2 (2018-11-06)
----------------

- Add support for Python 3.7.

- Update forms to Bootstrap ZMI.
  (`#6 <https://github.com/zopefoundation/Products.TemporaryFolder/pull/6>`_)

- Fix logging traceback in Python 2.
  [pbauer]

- Fix creating a temp_folder in Python 2.
  (`#7 <https://github.com/zopefoundation/Products.TemporaryFolder/pull/7>`_)


5.1 (2018-06-06)
----------------

- Bring back Application initialization (creation of BrowserIdManager and
  SessionDataManager in the ZODB on first startup).
  This release requires Zope >= 4.0b5.

- Drop support for Python 3.4.


5.0 (2018-04-13)
----------------

- Remove dysfunctional LowConflictConnection.

- Add support for Python 3.4, 3.5 and 3.6.

4.0 (2016-08-02)
----------------

- Add in code of `Products.TemporaryFolder` and `Products.ZODBMountPoint`.

- Require `Zope >= 4`.

3.0 (2016-08-02)
----------------

- Create a separate distribution called `Products.TemporaryFolder` without
  any code inside it. This allows projects to depend on this project
  inside the Zope 2.13 release line.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/Products.TemporaryFolder",
    "name": "Products.TemporaryFolder",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Zope ZODB temporary storage folder",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/64/99/9e78171b3eb60b4ed574986b5c92146ea2865ab9199823edeb9023a97ed5/Products.TemporaryFolder-7.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/zopefoundation/Products.TemporaryFolder/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/Products.TemporaryFolder/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/Products.TemporaryFolder/badge.svg?branch=master\n   :target: https://coveralls.io/github/zopefoundation/Products.TemporaryFolder?branch=master\n\n.. image:: https://img.shields.io/pypi/v/Products.TemporaryFolder.svg\n   :target: https://pypi.org/project/Products.TemporaryFolder/\n   :alt: Current version on PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/Products.TemporaryFolder.svg\n   :target: https://pypi.org/project/Products.TemporaryFolder/\n   :alt: Supported Python versions\n\nOverview\n========\n\nZope temporary storage / folder support.\n\n\nPlease note\n-----------\nBefore release 5.2 of the ``tempstorage`` package sessioning configurations\nusing this temporary folder implementation were discouraged because the\ntemporary storage backend could lose data. This is no longer the case.\n\nDon't forget to add or uncomment the temporary storage database definition\nas shown below in your Zope configuration if you want to instantiate a\ntemporary folder. After a Zope restart, visit the Zope Management Interface\nand select ZODB Mount Point from the list of addable items to activate the\ntemporary folder mount point::\n\n  <zodb_db temporary>\n      <temporarystorage>\n        name Temporary database (for sessions)\n      </temporarystorage>\n      mount-point /temp_folder\n      container-class Products.TemporaryFolder.TemporaryContainer\n  </zodb_db>\n\nWhen upgrading from version 5.3 to 6.0 and removing the ZODB Mount Point\nconfiguration shown above from your Zope configuration you need to manually\ndelete the ``/temp_folder`` object in the ZMI before restarting your Zope\ninstance with version 6.0. If you see tracebacks\n``ZConfig.ConfigurationError: No database configured for mount point at\n/temp_folder`` after the upgrade, please reinstate the ``zodb_db temporary``\nZope configuration as shown above, restart Zope and manually delete\n``/temp_folder``. Then remove the ``zodb_db temporary`` configuration and\nrestart Zope.\n\nChangelog\n=========\n\n7.0 (2023-02-01)\n----------------\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n6.3 (2022-12-16)\n----------------\n\n- Fix insidious buildout configuration bug for tests against Zope 4.\n\n- Add support for Python 3.10 and 3.11.\n\n\n6.2 (2021-07-06)\n----------------\n\n- \"Undeprecate\" sessioning configurations using this package\n  because ``tempstorage`` version 5.2 fixed the data loss issue.\n  (`#16\n  <https://github.com/zopefoundation/Products.TemporaryFolder/issues/16>`_)\n\n- Update package configuration.\n\n\n6.1 (2021-03-16)\n----------------\n\n- Add support for Python 3.9.\n\n\n6.0 (2020-09-01)\n----------------\n\n- split ``Products.ZODBMountPoint`` into separate package\n  and removed all code that automatically instatiates a temporary\n  folder and sessioning artifacts on Zope startup.\n  (`#12\n  <https://github.com/zopefoundation/Products.TemporaryFolder/issues/12>`_)\n\n\n5.3 (2019-04-15)\n----------------\n\n- improve the README\n\n- Specify supported Python versions using ``python_requires`` in setup.py\n  (`Zope#481 <https://github.com/zopefoundation/Zope/issues/481>`_)\n\n- Added support for Python 3.8\n\n\n5.2 (2018-11-06)\n----------------\n\n- Add support for Python 3.7.\n\n- Update forms to Bootstrap ZMI.\n  (`#6 <https://github.com/zopefoundation/Products.TemporaryFolder/pull/6>`_)\n\n- Fix logging traceback in Python 2.\n  [pbauer]\n\n- Fix creating a temp_folder in Python 2.\n  (`#7 <https://github.com/zopefoundation/Products.TemporaryFolder/pull/7>`_)\n\n\n5.1 (2018-06-06)\n----------------\n\n- Bring back Application initialization (creation of BrowserIdManager and\n  SessionDataManager in the ZODB on first startup).\n  This release requires Zope >= 4.0b5.\n\n- Drop support for Python 3.4.\n\n\n5.0 (2018-04-13)\n----------------\n\n- Remove dysfunctional LowConflictConnection.\n\n- Add support for Python 3.4, 3.5 and 3.6.\n\n4.0 (2016-08-02)\n----------------\n\n- Add in code of `Products.TemporaryFolder` and `Products.ZODBMountPoint`.\n\n- Require `Zope >= 4`.\n\n3.0 (2016-08-02)\n----------------\n\n- Create a separate distribution called `Products.TemporaryFolder` without\n  any code inside it. This allows projects to depend on this project\n  inside the Zope 2.13 release line.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Zope temporary folder support.",
    "version": "7.0",
    "split_keywords": [
        "zope",
        "zodb",
        "temporary",
        "storage",
        "folder"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a8f5f1443493aaae698d5d6219cebe29e78e24774569b809524bfae2d04e816",
                "md5": "910a9c2fa6f0f1bbf6802fcb4369aeaf",
                "sha256": "eb9f5566d4d336250f3232fc979538dc835bfea00440ad2209076d7843c6f5d4"
            },
            "downloads": -1,
            "filename": "Products.TemporaryFolder-7.0-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "910a9c2fa6f0f1bbf6802fcb4369aeaf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14225,
            "upload_time": "2023-02-01T08:58:24",
            "upload_time_iso_8601": "2023-02-01T08:58:24.606646Z",
            "url": "https://files.pythonhosted.org/packages/0a/8f/5f1443493aaae698d5d6219cebe29e78e24774569b809524bfae2d04e816/Products.TemporaryFolder-7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64999e78171b3eb60b4ed574986b5c92146ea2865ab9199823edeb9023a97ed5",
                "md5": "5de4d463a36ad57d4a03a5deaeb5e432",
                "sha256": "a813960ac64984084476bc7157f113a6ac96397f48588ed875773a21d5f40623"
            },
            "downloads": -1,
            "filename": "Products.TemporaryFolder-7.0.tar.gz",
            "has_sig": true,
            "md5_digest": "5de4d463a36ad57d4a03a5deaeb5e432",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 13540,
            "upload_time": "2023-02-01T08:58:26",
            "upload_time_iso_8601": "2023-02-01T08:58:26.736418Z",
            "url": "https://files.pythonhosted.org/packages/64/99/9e78171b3eb60b4ed574986b5c92146ea2865ab9199823edeb9023a97ed5/Products.TemporaryFolder-7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-01 08:58:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "Products.TemporaryFolder",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "products.temporaryfolder"
}
        
Elapsed time: 0.05074s