python-deprecation - A library to handle automated deprecations

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name python-deprecation
Package version 1.0.1
Package release 0ubuntu1
Package architecture all
Package type deb
Installed size 31 B
Download size 6.86 KB
Official Mirror
The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests. Together, the two
enable the automation of several things:
1. The docstring of a deprecated method gets the deprecation details
appended to the end of it. If you generate your API docs direct
from your source, you don't need to worry about writing your own
notification. You also don't need to worry about forgetting to
write it. It's done for you.
2. Rather than having code live on forever because you only deprecated
it but never actually moved on from it, you can have your tests
tell you when it's time to remove the code. The '@deprecated'
decorator can be told when it's time to entirely remove the code,
which causes '@fail_if_not_removed' to raise an 'AssertionError',
causing either your unittest or py.test tests to fail.
This package provides the Python 2 module.


Package Version Architecture Repository
python-deprecation_1.0.1-0ubuntu1_all.deb 1.0.1 all Ubuntu Main
python-deprecation - - -


Name Value
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-deprecation_1.0.1-0ubuntu1_all.deb
Source Package python-deprecation

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-deprecation deb package:
    # sudo apt-get install python-deprecation




2017-05-16 - James Page <>
python-deprecation (1.0.1-0ubuntu1) artful; urgency=low
* Initial version.

See Also

Package Description
python-designate_6.0.0-0ubuntu1_all.deb OpenStack DNS as a Service - Python libs
python-designateclient-doc_2.9.0-0ubuntu1_all.deb client library for the OpenStack Designate API - doc
python-designateclient_2.9.0-0ubuntu1_all.deb client library for the OpenStack Designate API - Python 2.7
python-dev_2.7.15~rc1-1_amd64.deb header files and a static library for Python (default)
python-django-appconf-doc_1.0.2-3_all.deb helper class handling configuration defaults of apps - doc
python-django-appconf_1.0.2-3_all.deb helper class handling configuration defaults of apps - Python 2.7
python-django-common_1.11.11-1ubuntu1_all.deb High-level Python web development framework (common)
python-django-compressor_2.2-4_all.deb Compresses linked, inline JS or CSS into single cached files - Python 2.7
python-django-doc_1.11.11-1ubuntu1_all.deb High-level Python web development framework (documentation)
python-django-horizon_13.0.0-0ubuntu1_all.deb Django module providing web based interaction with OpenStack
python-django-openstack-auth_13.0.0-0ubuntu1_all.deb Django authentication backend for Openstack - Python 2.7
python-django-pyscss_2.0.2-8_all.deb makes it easier to use PySCSS in Django - Python 2.7
python-django_1.11.11-1ubuntu1_all.deb High-level Python web development framework (Python 2 version)
python-dnspython_1.15.0-1_all.deb DNS toolkit for Python
python-doc_2.7.15~rc1-1_all.deb documentation for the high-level object-oriented language Python