Remove Python 3.8 support
Python 3.8 is no longer be part of tested runtimes since 2024.2 and is reaching its EOL soon. Bump the minimum supported python version to clean up the logic for Python 3.8 compatibility. Also declare Python 3.12 support because now it's part of the tested runtimes. Change-Id: Iec518ada66b5891a50834b574a5ccbe0965e3933
This commit is contained in:
parent
8928f45402
commit
e887eca2ff
5
releasenotes/notes/remove-py38-6eebcd268c6f8e37.yaml
Normal file
5
releasenotes/notes/remove-py38-6eebcd268c6f8e37.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 .
|
@ -10,4 +10,3 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
requests>=2.14.2 # Apache-2.0
|
||||
python-dateutil>=2.7.0 # BSD
|
||||
stevedore>=1.29.0 # Apache-2.0
|
||||
importlib_resources>=1.3; python_version<'3.9' # Apache-2.0
|
||||
|
@ -6,7 +6,7 @@ description_file =
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/sushy/latest/
|
||||
python_requires = >=3.8
|
||||
python_requires = >=3.9
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -17,10 +17,10 @@ classifier =
|
||||
Programming Language :: Python :: Implementation :: CPython
|
||||
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
|
||||
Programming Language :: Python :: 3.12
|
||||
|
||||
[files]
|
||||
packages =
|
||||
|
@ -13,17 +13,10 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
import collections
|
||||
from importlib import resources
|
||||
import logging
|
||||
import os
|
||||
|
||||
try:
|
||||
from importlib import resources
|
||||
|
||||
if not hasattr(resources, "files"):
|
||||
import importlib_resources as resources
|
||||
except ImportError:
|
||||
import importlib_resources as resources
|
||||
|
||||
import requests
|
||||
|
||||
from sushy import auth as sushy_auth
|
||||
|
@ -17,18 +17,12 @@ import abc
|
||||
import collections
|
||||
import copy
|
||||
import enum
|
||||
from importlib import resources
|
||||
import io
|
||||
import json
|
||||
import logging
|
||||
import zipfile
|
||||
|
||||
try:
|
||||
from importlib import resources
|
||||
if not hasattr(resources, 'files'):
|
||||
import importlib_resources as resources
|
||||
except ImportError:
|
||||
import importlib_resources as resources
|
||||
|
||||
from sushy import exceptions
|
||||
from sushy.resources import constants
|
||||
from sushy.resources import oem
|
||||
|
Loading…
Reference in New Issue
Block a user