Upgrade setup.cfg and hacking requirements

1. Upgrade setup.cfg: ensure the repo is for >= Python 3.9.
2. Running the linter tools (pylint/hacking/flake8) with a pinned version
   is too old for recent Zuul with Python 3.12.
   Set the same version as nova: I7a1937b107ff3af8d1e5fe23fc32b120ef4697f7

Change-Id: Ib4fedf0c8c752605ce79bb0006998fa2945840c5
This commit is contained in:
Ian Y. Choi 2025-02-15 08:06:52 +09:00
parent 7e844aca90
commit ac442f225c
2 changed files with 6 additions and 4 deletions

View File

@ -5,7 +5,7 @@ description_file = README.rst
author = OpenStack
author_email = openstack-i18n@lists.openstack.org
home_page = https://docs.openstack.org/i18n/latest/
python_requires = >=3.6
python_requires = >=3.9
classifier =
Environment :: OpenStack
Intended Audience :: I18n Contributors
@ -15,8 +15,10 @@ classifier =
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Topic :: I18n

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<2.1,>=2.0 # Apache-2.0
hacking==6.1.0 # Apache-2.0
Babel!=2.4.0,>=2.5.3 # BSD
sphinx>=2.0.0,!=2.1.0 # BSD