zope.deprecation


Namezope.deprecation JSON
Version 5.0 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.deprecation
SummaryZope Deprecation Infrastructure
upload_time2023-03-29 05:43:03
maintainer
docs_urlNone
authorZope Corporation and Contributors
requires_python>= 3.7
licenseZPL 2.1
keywords deprecation deprecated warning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ======================
 ``zope.deprecation``
======================

.. image:: https://img.shields.io/pypi/v/zope.deprecation.svg
        :target: https://pypi.python.org/pypi/zope.deprecation/
        :alt: Latest release

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

.. image:: https://github.com/zopefoundation/zope.deprecation/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/zope.deprecation/actions/workflows/tests.yml

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

.. image:: https://readthedocs.org/projects/zopedeprecation/badge/?version=latest
        :target: https://zopedeprecation.readthedocs.io/en/latest/
        :alt: Documentation Status


This package provides a simple function called ``deprecated(names, reason)``
to mark deprecated modules, classes, functions, methods and properties.

Please see https://zopedeprecation.readthedocs.io for the documentation.


================================
 ``zope.deprecation`` Changelog
================================

5.0 (2023-03-29)
================

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

- Drop support for deprecated ``python setup.py test``.

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


4.4.0 (2018-12-03)
==================

- Add support for Python 3.7.


4.3.0 (2017-08-07)
==================

- Allow custom warning classes to be specified to override the default
  ``DeprecationWarning``.
  See https://github.com/zopefoundation/zope.deprecation/pull/7

- Add support for Python 3.6.

- Drop support for Python 3.3.

4.2.0 (2016-11-07)
==================

- Drop support for Python 2.6 and 3.2.

- Add support for Python 3.5.

4.1.2 (2015-01-13)
==================

- Do not require a ``self`` parameter for deprecated functions.  See:
  https://github.com/zopefoundation/zope.deprecation/pull/1

4.1.1 (2014-03-19)
==================

- Added explicit support for Python 3.4.

4.1.0 (2013-12-20)
==================

- Added a ``Suppressor`` context manager, allowing scoped suppression of
  deprecation warnings.

- Updated ``boostrap.py`` to version 2.2.

4.0.2 (2012-12-31)
==================

- Fleshed out PyPI Trove classifiers.

4.0.1 (2012-11-21)
==================

- Added support for Python 3.3.

4.0.0 (2012-05-16)
==================

- Automated build of Sphinx HTML docs and running doctest snippets via tox.

- Added Sphinx documentation:

  - API docs moved from package-data README into ``docs/api.rst``.

  - Snippets can be tested by running 'make doctest'.

- Updated support for continuous integration using ``tox`` and ``jenkins``.

- 100% unit test coverage.

- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
  ``nose`` and ``coverage``).

- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).

- Removed spurious dependency on ``zope.testing``.

- Dropped explicit support for Python 2.4 / 2.5 / 3.1.


3.5.1 (2012-03-15)
==================

- Revert a move of `README.txt` to unbreak ``zope.app.apidoc``.


3.5.0 (2011-09-05)
==================

- Replaced doctesting with unit testing.

- Python 3 compatibility.


3.4.1 (2011-06-07)
==================

- Removed import cycle for ``__show__`` by defining it in the
  ``zope.deprecation.deprecation`` module.

- Added support to bootstrap on Jython.

- Fix ``zope.deprecation.warn()`` to make the signature identical to
  ``warnings.warn()`` and to check for .pyc and .pyo files.


3.4.0 (2007-07-19)
==================

- Release 3.4 final, corresponding to Zope 3.4.


3.3.0 (2007-02-18)
==================

- Corresponds to the version of the ``zope.deprecation`` package shipped as
  part of the Zope 3.3.0 release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/zope.deprecation",
    "name": "zope.deprecation",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">= 3.7",
    "maintainer_email": "",
    "keywords": "deprecation,deprecated,warning",
    "author": "Zope Corporation and Contributors",
    "author_email": "zope-dev@zope.org",
    "download_url": "https://files.pythonhosted.org/packages/ba/de/a47e434ed1804d82f3fd7561aee5c55914c72d87f54cac6b99c15cbe7f89/zope.deprecation-5.0.tar.gz",
    "platform": null,
    "description": "======================\n ``zope.deprecation``\n======================\n\n.. image:: https://img.shields.io/pypi/v/zope.deprecation.svg\n        :target: https://pypi.python.org/pypi/zope.deprecation/\n        :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.deprecation.svg\n        :target: https://pypi.org/project/zope.deprecation/\n        :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.deprecation/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/zope.deprecation/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.deprecation/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/zope.deprecation?branch=master\n\n.. image:: https://readthedocs.org/projects/zopedeprecation/badge/?version=latest\n        :target: https://zopedeprecation.readthedocs.io/en/latest/\n        :alt: Documentation Status\n\n\nThis package provides a simple function called ``deprecated(names, reason)``\nto mark deprecated modules, classes, functions, methods and properties.\n\nPlease see https://zopedeprecation.readthedocs.io for the documentation.\n\n\n================================\n ``zope.deprecation`` Changelog\n================================\n\n5.0 (2023-03-29)\n================\n\n- Drop support for Python 2.7, 3.4, 3.5, 3.6.\n\n- Drop support for deprecated ``python setup.py test``.\n\n- Add support for Python 3.8, 3.9, 3.10, 3.11.\n\n\n4.4.0 (2018-12-03)\n==================\n\n- Add support for Python 3.7.\n\n\n4.3.0 (2017-08-07)\n==================\n\n- Allow custom warning classes to be specified to override the default\n  ``DeprecationWarning``.\n  See https://github.com/zopefoundation/zope.deprecation/pull/7\n\n- Add support for Python 3.6.\n\n- Drop support for Python 3.3.\n\n4.2.0 (2016-11-07)\n==================\n\n- Drop support for Python 2.6 and 3.2.\n\n- Add support for Python 3.5.\n\n4.1.2 (2015-01-13)\n==================\n\n- Do not require a ``self`` parameter for deprecated functions.  See:\n  https://github.com/zopefoundation/zope.deprecation/pull/1\n\n4.1.1 (2014-03-19)\n==================\n\n- Added explicit support for Python 3.4.\n\n4.1.0 (2013-12-20)\n==================\n\n- Added a ``Suppressor`` context manager, allowing scoped suppression of\n  deprecation warnings.\n\n- Updated ``boostrap.py`` to version 2.2.\n\n4.0.2 (2012-12-31)\n==================\n\n- Fleshed out PyPI Trove classifiers.\n\n4.0.1 (2012-11-21)\n==================\n\n- Added support for Python 3.3.\n\n4.0.0 (2012-05-16)\n==================\n\n- Automated build of Sphinx HTML docs and running doctest snippets via tox.\n\n- Added Sphinx documentation:\n\n  - API docs moved from package-data README into ``docs/api.rst``.\n\n  - Snippets can be tested by running 'make doctest'.\n\n- Updated support for continuous integration using ``tox`` and ``jenkins``.\n\n- 100% unit test coverage.\n\n- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs\n  ``nose`` and ``coverage``).\n\n- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).\n\n- Removed spurious dependency on ``zope.testing``.\n\n- Dropped explicit support for Python 2.4 / 2.5 / 3.1.\n\n\n3.5.1 (2012-03-15)\n==================\n\n- Revert a move of `README.txt` to unbreak ``zope.app.apidoc``.\n\n\n3.5.0 (2011-09-05)\n==================\n\n- Replaced doctesting with unit testing.\n\n- Python 3 compatibility.\n\n\n3.4.1 (2011-06-07)\n==================\n\n- Removed import cycle for ``__show__`` by defining it in the\n  ``zope.deprecation.deprecation`` module.\n\n- Added support to bootstrap on Jython.\n\n- Fix ``zope.deprecation.warn()`` to make the signature identical to\n  ``warnings.warn()`` and to check for .pyc and .pyo files.\n\n\n3.4.0 (2007-07-19)\n==================\n\n- Release 3.4 final, corresponding to Zope 3.4.\n\n\n3.3.0 (2007-02-18)\n==================\n\n- Corresponds to the version of the ``zope.deprecation`` package shipped as\n  part of the Zope 3.3.0 release.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Zope Deprecation Infrastructure",
    "version": "5.0",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/zope.deprecation"
    },
    "split_keywords": [
        "deprecation",
        "deprecated",
        "warning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c87d24a23d4d6d93744babfb99266eeb97a25ceae58c0f841a872b51c45ee214",
                "md5": "d2e1b189345822d9228959797851857e",
                "sha256": "28c2ee983812efb4676d33c7a8c6ade0df191c1c6d652bbbfe6e2eeee067b2d4"
            },
            "downloads": -1,
            "filename": "zope.deprecation-5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d2e1b189345822d9228959797851857e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">= 3.7",
            "size": 10030,
            "upload_time": "2023-03-29T05:43:01",
            "upload_time_iso_8601": "2023-03-29T05:43:01.885526Z",
            "url": "https://files.pythonhosted.org/packages/c8/7d/24a23d4d6d93744babfb99266eeb97a25ceae58c0f841a872b51c45ee214/zope.deprecation-5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "badea47e434ed1804d82f3fd7561aee5c55914c72d87f54cac6b99c15cbe7f89",
                "md5": "bf3722763156de3b716487a303e52967",
                "sha256": "b7c32d3392036b2145c40b3103e7322db68662ab09b7267afe1532a9d93f640f"
            },
            "downloads": -1,
            "filename": "zope.deprecation-5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bf3722763156de3b716487a303e52967",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">= 3.7",
            "size": 23353,
            "upload_time": "2023-03-29T05:43:03",
            "upload_time_iso_8601": "2023-03-29T05:43:03.791809Z",
            "url": "https://files.pythonhosted.org/packages/ba/de/a47e434ed1804d82f3fd7561aee5c55914c72d87f54cac6b99c15cbe7f89/zope.deprecation-5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-29 05:43:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "zope.deprecation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.deprecation"
}
        
Elapsed time: 0.25220s