Remove Python 3.8 support
Python 3.8 is no longer part of the tested runtimes for 2024.2[1] because its EOL is coming soon. [1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html This allows us to replace md5 method from oslo.utils, which is being deprecated now[2]. [2] https://review.opendev.org/c/openstack/oslo.utils/+/930879 Change-Id: I09ba9e8762e3fdbf4af63f270cb1f96b989fdf1a
This commit is contained in:
parent
aebf40adda
commit
b561053779
@ -12,13 +12,13 @@
|
||||
|
||||
"""Ssh utilities."""
|
||||
|
||||
import hashlib
|
||||
import logging
|
||||
import os
|
||||
|
||||
from eventlet import pools
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
from oslo_utils.secretutils import md5
|
||||
|
||||
from manila import exception
|
||||
from manila.i18n import _
|
||||
@ -44,7 +44,7 @@ def get_fingerprint(self):
|
||||
TODO(carloss) Remove this when paramiko is patched.
|
||||
See https://github.com/paramiko/paramiko/pull/1928
|
||||
"""
|
||||
return md5(self.asbytes(), usedforsecurity=False).digest()
|
||||
return hashlib.md5(self.asbytes(), usedforsecurity=False).digest()
|
||||
|
||||
|
||||
if paramiko is None:
|
||||
|
5
releasenotes/notes/remove-py38-5c619aee267bc1f3.yaml
Normal file
5
releasenotes/notes/remove-py38-5c619aee267bc1f3.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Support for Python 3.8 has been removed. Now the minimum python version
|
||||
supported is 3.9 .
|
@ -6,7 +6,7 @@ description_file =
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/manila/latest/
|
||||
python_requires = >=3.8
|
||||
python_requires = >=3.9
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -16,7 +16,6 @@ classifier =
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3.11
|
||||
|
Loading…
Reference in New Issue
Block a user