Remove unused "deprecated" method

The method is not actually used. Also we currently have a common
implementation in debtcollector and that can be used instead.

Change-Id: If9eb1f8b035a55163573f54ad8fd4c85b876e3fe
This commit is contained in:
Takashi Kajinami 2024-02-21 10:52:29 +09:00
parent c54cf94c76
commit bf1d2b6a26
5 changed files with 0 additions and 33 deletions

View File

@ -1,6 +1,5 @@
coverage==5.3.1
decorator===4.4.2
deprecation==2.1.0
docker==4.4.1
fixtures==3.0.0
Jinja2==2.11.2

View File

@ -1,7 +1,6 @@
# Tobiko framework requirements
decorator>=4.4.2 # BSD
deprecation>=2.1.0 # Apache-2.0
docker>=4.4.1 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
Jinja2>=2.11.2 # BSD

View File

@ -19,7 +19,6 @@ import sys
from tobiko.common import _cached
from tobiko.common import _case
from tobiko.common import _config
from tobiko.common import _deprecation
from tobiko.common import _detail
from tobiko.common import _exception
from tobiko.common import _fixture
@ -67,8 +66,6 @@ retry_test_case = _case.retry_test_case
run_test = _case.run_test
sub_test = _case.sub_test
deprecated = _deprecation.deprecated
details_content = _detail.details_content
tobiko_config = _config.tobiko_config

View File

@ -1,27 +0,0 @@
# Copyright 2021 Red Hat
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import
import deprecation
from tobiko import version
def deprecated(deprecated_in: str = None,
removed_in: str = None,
details=""):
return deprecation.deprecated(deprecated_in=deprecated_in,
removed_in=removed_in,
current_version=version.version,
details=details)

View File

@ -61,7 +61,6 @@ debtcollector===2.5.0
decorator===5.1.1;python_version=='3.8'
defusedxml===0.7.1
Deprecated===1.2.13
deprecation===2.1.0
dfs-sdk===1.2.27
dib-utils===0.0.11
directord===0.12.0