From 91ef279bc4e4bc05c4c1d08e6411a0b3734f29ea Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Mon, 30 Oct 2023 22:28:23 -0500 Subject: [PATCH] Fix python setup.cfg on rhel8 Change-Id: If06fd0e6f3a5574a9f318de23b9eaa712e1c03bb Signed-off-by: Galantsev, Dmitrii [ROCm/amdsmi commit: 6d7376a7931865542d0a4923660342961451257f] --- projects/amdsmi/py-interface/pyproject.toml.in | 4 ++-- projects/amdsmi/py-interface/setup.cfg.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/amdsmi/py-interface/pyproject.toml.in b/projects/amdsmi/py-interface/pyproject.toml.in index f659dc4202..34368333c8 100644 --- a/projects/amdsmi/py-interface/pyproject.toml.in +++ b/projects/amdsmi/py-interface/pyproject.toml.in @@ -2,7 +2,7 @@ # https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools>=59.0"] build-backend = "setuptools.build_meta" [project] @@ -14,7 +14,7 @@ version = "@amd_smi_libraries_VERSION_STRING@" license = {file = "amdsmi/LICENSE"} readme = {file = "amdsmi/README.md", content-type = "text/markdown"} description = "AMDSMI Python LIB - AMD GPU Monitoring Library" -requires-python = ">=3.7" +requires-python = ">=3.6" dependencies = [ "PyYAML >= 5.0", "clang >= 14.0" diff --git a/projects/amdsmi/py-interface/setup.cfg.in b/projects/amdsmi/py-interface/setup.cfg.in index c073f89a12..d266f8c231 100644 --- a/projects/amdsmi/py-interface/setup.cfg.in +++ b/projects/amdsmi/py-interface/setup.cfg.in @@ -2,5 +2,5 @@ # mostly a rhel8 limitation... [metadata] -name = "amdsmi" -version = "@amd_smi_libraries_VERSION_STRING@" +name = amdsmi +version = @amd_smi_libraries_VERSION_STRING@