Merge "Declare Python 3.10 support"
This commit is contained in:
commit
041fc11a9a
@ -13,11 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
try:
|
||||
# For Python 3.8 and later
|
||||
import importlib.metadata as importlib_metadata
|
||||
except ImportError:
|
||||
# For everyone else
|
||||
import importlib_metadata
|
||||
import importlib.metadata
|
||||
|
||||
__version__ = importlib_metadata.version("osprofiler")
|
||||
__version__ = importlib.metadata.version("osprofiler")
|
||||
|
@ -6,4 +6,3 @@ oslo.utils>=3.33.0 # Apache-2.0
|
||||
PrettyTable>=0.7.2 # BSD
|
||||
requests>=2.14.2 # Apache-2.0
|
||||
WebOb>=1.7.1 # MIT
|
||||
importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
|
||||
|
@ -17,6 +17,7 @@ classifier =
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: Implementation :: CPython
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user