Wed, 18 Nov 2026 23:46:12 UTC Log in
A library to handle automated deprecations 23.54 KB built 2026-10-17 08:45:20 GMT

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.

Dependencies

12 total
Requires7
  • python(abi) = 3.15
  • python3.15dist(packaging)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PartialHardlinkSets) <= 4.0.4-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
  • python-deprecation = 2.1.0-24.fc45
  • python3-deprecation = 2.1.0-24.fc45
  • python3.15-deprecation = 2.1.0-24.fc45
  • python3.15dist(deprecation) = 2.1
  • python3dist(deprecation) = 2.1
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

12
Files 1–12 of 12

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-33714-671 2026-10-17 14:53:09 expired
f45-build-31296-651 2026-10-17 10:32:30 expired
f45-build-30545-646 2026-10-17 08:59:20 expired
Buildroots 1–3 of 3