From a434b82caabc9bcbb27ba1c95c7dac1247bc0f7a Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Mon, 15 Sep 2025 22:38:50 +0000 Subject: [PATCH] Migrate setup configuration to pyproject.toml Change-Id: I0f33a5d83ea5f9a9dc9b5d5032dea510b09986ec Co-authored-by: Stephen Finucane Signed-off-by: Ivan Anfimov --- pyproject.toml | 41 +++++++++++++++++++++++++ releasenotes/notes/remove-python39.yaml | 5 +++ setup.cfg | 26 ---------------- 3 files changed, 46 insertions(+), 26 deletions(-) create mode 100644 pyproject.toml create mode 100644 releasenotes/notes/remove-python39.yaml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3d2aed2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,41 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build" + +[project] +name = "mistral_tempest_tests" +description = "Tempest plugin for Mistral project" +authors = [ + {name = "OpenStack", email = "openstack-discuss@lists.openstack.org"}, +] +readme = {file = "README.rst", content-type = "text/x-rst"} +license = {text = "Apache-2.0"} +dynamic = ["version", "dependencies"] +requires-python = ">=3.10" +classifiers = [ + "Environment :: OpenStack", + "Intended Audience :: Information Technology", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: Apache Software License", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: Implementation :: CPython", +] + +[project.urls] +Homepage = "https://opendev.org/openstack/mistral-tempest-plugin" +Repository = "https://opendev.org/openstack/mistral-tempest-plugin" + +[tool.setuptools] +packages = [ + "mistral_tempest_tests" +] + +[project.entry-points."tempest.test_plugins"] +mistral_test = "mistral_tempest_tests.plugin:MistralTempestPlugin" diff --git a/releasenotes/notes/remove-python39.yaml b/releasenotes/notes/remove-python39.yaml new file mode 100644 index 0000000..7f1c918 --- /dev/null +++ b/releasenotes/notes/remove-python39.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + Support for Python 3.9 has been removed. Now the minimum python version + supported is 3.10. diff --git a/setup.cfg b/setup.cfg index 3e4e4f0..96b0cab 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,28 +1,2 @@ [metadata] name = mistral_tempest_tests -summary = Tempest plugin for Mistral project -description_file = - README.rst -license = Apache-2.0 -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -home_page = https://opendev.org/openstack/mistral-tempest-plugin -classifier = - Environment :: OpenStack - Intended Audience :: Information Technology - Intended Audience :: System Administrators - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - -[files] -packages = - mistral_tempest_tests - -[entry_points] -tempest.test_plugins = - mistral_test = mistral_tempest_tests.plugin:MistralTempestPlugin