A library to handle automated deprecations
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.
See http://deprecation.readthedocs.io/ for the full documentation.
- RPM
- python3-deprecation-2.1.0-18.lbn42.noarch.rpm
- Summary
- A library to handle automated deprecations
- URL
- https://deprecation.readthedocs.io/
- Group
- Unspecified
- License
- Apache-2.0
- Source
-
python-deprecation-2.1.0-18.lbn42.src.rpm
- Checksum
- 43185b02b725d32aa85ddf98b3429ee6f950644abe67d1f158abdd56481fb92b
- Build Date
- 2025/09/18 00:49:50
- Requires
- Provides
-
python-deprecation = 2.1.0-18.lbn42
python3-deprecation = 2.1.0-18.lbn42
python3.13-deprecation = 2.1.0-18.lbn42
python3.13dist(deprecation) = 2.1
python3dist(deprecation) = 2.1