Skip to main content

Zope Deprecation Infrastructure

Project description

zope.deprecation

Latest release Supported Python versions https://github.com/zopefoundation/zope.deprecation/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.deprecation/badge.svg?branch=master 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

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

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)

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)

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.

Project details


Download files

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

Source Distribution

zope_deprecation-6.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

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

zope_deprecation-6.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zope_deprecation-6.0.tar.gz
Algorithm Hash digest
SHA256 18727ebda8e63a6d4bd28a290e8b46852e9f14473debb5cc40a0a2dccfadf15f
MD5 7ce4481213c4250afef2d11eb7c1364f
BLAKE2b-256 56058eaa04876e1fde656f1bfd8f62a4140d7ac23bcf16db67dd4036698dae1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope_deprecation-6.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_deprecation-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff72d51c88b516b9ddf2cfb826381cc49f99a6a89b7d35c97faca7bee3b46da6
MD5 b905348e6425a06ddb5748600ee15d58
BLAKE2b-256 e9edda7f8b1c73caf989a0ff7096cc73c59e6c36f35a8f967c51104098602e2d

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