rbtools.deprecation¶
Internal support for handling deprecations in RBTools.
The version-specific objects in this module are not considered stable between releases, and may be removed at any point. The base objects are considered stable.
Exceptions
Base class for a RBTools deprecation warning. |
|
Pending deprecation for code in RBTools. |
|
alias of |
|
Deprecations for features removed in RBTools 4.0. |
|
Deprecations for features removed in RBTools 5.0. |
|
Deprecations for features removed in RBTools 6.0. |
|
Deprecations for features removed in RBTools 7.0. |
- exception rbtools.deprecation.PendingRemovalInRBToolsWarning[source]¶
Bases:
BasePendingRemovalWarning
Pending deprecation for code in RBTools.
New in version 5.0.
- exception rbtools.deprecation.BaseRemovedInRBToolsVersionWarning[source]¶
Bases:
BaseRemovedInWarning
Base class for a RBTools deprecation warning.
All version-specific deprecation warnings inherit from this, allowing callers to check for Review Board deprecations without being tied to a specific version.
- exception rbtools.deprecation.RemovedInRBTools40Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarning
Deprecations for features removed in RBTools 4.0.
Note that this class will itself be removed in RBTools 4.0. If you need to check against RBTools deprecation warnings, please see
BaseRemovedInRBToolsVersionWarning
.
- exception rbtools.deprecation.RemovedInRBTools50Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarning
Deprecations for features removed in RBTools 5.0.
Note that this class will itself be removed in RBTools 5.0. If you need to check against RBTools deprecation warnings, please see
BaseRemovedInRBToolsVersionWarning
.
- exception rbtools.deprecation.RemovedInRBTools60Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarning
Deprecations for features removed in RBTools 6.0.
Note that this class will itself be removed in RBTools 6.0. If you need to check against RBTools deprecation warnings, please see
BaseRemovedInRBToolsVersionWarning
.
- exception rbtools.deprecation.RemovedInRBTools70Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarning
Deprecations for features removed in RBTools 7.0.
Note that this class will itself be removed in RBTools 7.0. If you need to check against RBTools deprecation warnings, please see
BaseRemovedInRBToolsVersionWarning
.
- rbtools.deprecation.RemovedInNextRBToolsVersionWarning[source]¶
alias of
RemovedInRBTools60Warning