Merge "Remove Python 3.8 support"

This commit is contained in:
Zuul 2024-10-24 14:33:00 +00:00 committed by Gerrit Code Review
commit 0a97f20d87
5 changed files with 9 additions and 18 deletions

@ -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>=6.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