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. Also replace the deprecated md5 function from oslo.utils . [1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html Change-Id: Ic052d5c599b7db055d9d875f18627c6056072eef
This commit is contained in:
parent
b38a7da377
commit
2d817033de
@ -24,13 +24,13 @@ from collections import namedtuple
|
||||
from collections import OrderedDict
|
||||
import copy
|
||||
import datetime
|
||||
import hashlib
|
||||
import inspect
|
||||
import logging
|
||||
from reprlib import recursive_repr
|
||||
from unittest import mock
|
||||
|
||||
import fixtures
|
||||
from oslo_utils.secretutils import md5
|
||||
from oslo_utils import versionutils as vutils
|
||||
|
||||
from oslo_versionedobjects import base
|
||||
@ -288,7 +288,7 @@ class ObjectVersionChecker(object):
|
||||
if extra_data_func:
|
||||
relevant_data += extra_data_func(obj_class)
|
||||
|
||||
fingerprint = '%s-%s' % (obj_class.VERSION, md5(
|
||||
fingerprint = '%s-%s' % (obj_class.VERSION, hashlib.md5(
|
||||
bytes(repr(relevant_data).encode()),
|
||||
usedforsecurity=False).hexdigest())
|
||||
return fingerprint
|
||||
|
5
releasenotes/notes/remove-py38-f4e8c7ce18a5914b.yaml
Normal file
5
releasenotes/notes/remove-py38-f4e8c7ce18a5914b.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/oslo.versionedobjects/latest/
|
||||
python_requires = >=3.8
|
||||
python_requires = >=3.9
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -15,7 +15,6 @@ classifier =
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
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