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 7.0. |
|
Deprecations for features removed in RBTools 8.0. |
- exception rbtools.deprecation.BaseRemovedInRBToolsVersionWarning[source]¶
Bases:
BaseRemovedInWarningBase 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.
- __firstlineno__ = 24¶
- __static_attributes__ = ()¶
- exception rbtools.deprecation.PendingRemovalInRBToolsWarning[source]¶
Bases:
BasePendingRemovalWarningPending deprecation for code in RBTools.
Added in version 5.0.
- __firstlineno__ = 14¶
- __static_attributes__ = ()¶
- rbtools.deprecation.RemovedInNextRBToolsVersionWarning[source]¶
alias of
RemovedInRBTools70Warning
- exception rbtools.deprecation.RemovedInRBTools70Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarningDeprecations 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.- __annotations_cache__ = {}¶
- __firstlineno__ = 35¶
- __static_attributes__ = ()¶
- exception rbtools.deprecation.RemovedInRBTools80Warning[source]¶
Bases:
BaseRemovedInRBToolsVersionWarningDeprecations for features removed in RBTools 8.0.
Note that this class will itself be removed in RBTools 8.0. If you need to check against RBTools deprecation warnings, please see
BaseRemovedInRBToolsVersionWarning.- __annotations_cache__ = {}¶
- __firstlineno__ = 46¶
- __static_attributes__ = ()¶