[ol10_u0_developer_EPEL] python3-deprecation-2.1.0-16.el10_0.noarch

Name:python3-deprecation
Version:2.1.0
Release:16.el10_0
Architecture:noarch
Group:Unspecified
Size:42995
License:Apache-2.0
RPM: python3-deprecation-2.1.0-16.el10_0.noarch.rpm
Source RPM: python-deprecation-2.1.0-16.el10_0.src.rpm
Build Date:Fri Dec 20 2024
Build Host:build-ol10-x86_64.oracle.com
Vendor:Oracle America
URL:https://deprecation.readthedocs.io/
Summary:A library to handle automated deprecations
Description:
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.

Related Packages (Show Changelog) (Show Filelist)