zope.deprecation


Namezope.deprecation JSON
Version 5.1 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/zope.deprecation
SummaryZope Deprecation Infrastructure
upload_time2025-01-15 15:54:01
maintainerNone
docs_urlNone
authorZope Corporation and Contributors
requires_python>=3.9
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.1 (2025-01-15)
================

- Add support for Python 3.12, 3.13.

- Drop support for Python 3.7, 3.8.


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": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "deprecation, deprecated, warning",
    "author": "Zope Corporation and Contributors",
    "author_email": "zope-dev@zope.org",
    "download_url": "https://files.pythonhosted.org/packages/48/22/0e621e31b5826b2ff121fea5b1ea91173c88f86e182181f012abcc84a51f/zope_deprecation-5.1.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.1 (2025-01-15)\n================\n\n- Add support for Python 3.12, 3.13.\n\n- Drop support for Python 3.7, 3.8.\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.1",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/zope.deprecation"
    },
    "split_keywords": [
        "deprecation",
        " deprecated",
        " warning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30885fc32633682a452260f50417da3d4be26137dd220ef617bbd8ed52f0cfa9",
                "md5": "cf4fab1295f1ff08e67358dd1a8b046e",
                "sha256": "60f957b964d8f947a4a592c647d51ce0f4f844d1f041657956ddde0d9fa9a76a"
            },
            "downloads": -1,
            "filename": "zope.deprecation-5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf4fab1295f1ff08e67358dd1a8b046e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10020,
            "upload_time": "2025-01-15T15:53:58",
            "upload_time_iso_8601": "2025-01-15T15:53:58.890210Z",
            "url": "https://files.pythonhosted.org/packages/30/88/5fc32633682a452260f50417da3d4be26137dd220ef617bbd8ed52f0cfa9/zope.deprecation-5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48220e621e31b5826b2ff121fea5b1ea91173c88f86e182181f012abcc84a51f",
                "md5": "a971b204cf636bf65ba8418a317b3245",
                "sha256": "46bed4611fb53edc731aadeb64b28308bcb848f4cc150c60c948d078f7108721"
            },
            "downloads": -1,
            "filename": "zope_deprecation-5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a971b204cf636bf65ba8418a317b3245",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 24453,
            "upload_time": "2025-01-15T15:54:01",
            "upload_time_iso_8601": "2025-01-15T15:54:01.171269Z",
            "url": "https://files.pythonhosted.org/packages/48/22/0e621e31b5826b2ff121fea5b1ea91173c88f86e182181f012abcc84a51f/zope_deprecation-5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-15 15:54:01",
    "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: 1.27786s