Migrate setup configuration to pyproject.toml

Change-Id: I0f33a5d83ea5f9a9dc9b5d5032dea510b09986ec
Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2025-09-15 22:38:50 +00:00
parent 900580c953
commit a434b82caa
3 changed files with 46 additions and 26 deletions

41
pyproject.toml Normal file
View File

@@ -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"

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
Support for Python 3.9 has been removed. Now the minimum python version
supported is 3.10.

View File

@@ -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