From 198c4d151ecac74fe1dd15c548ecfeb64a84b62d Mon Sep 17 00:00:00 2001 From: Qubitium Date: Sat, 22 Aug 2026 00:26:08 +0000 Subject: [PATCH 1/3] fix: setuptools packaging metadata for Python 3.10+ and setuptools 81-84 compatibility - Align pyproject.toml build-system requires with setuptools>=77.0.1,<85 - Set requires-python to >=3.10 - Add fallback setup.cfg metadata for legacy pip/setuptools - Keep PEP 621 static license expression consistent --- pyproject.toml | 4 ++-- setup.cfg | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index d2635f0..7fa2952 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=77.0.1,<83", + "setuptools>=77.0.1,<85", ] build-backend = "setuptools.build_meta" @@ -9,7 +9,7 @@ name = "Device-SMI" version = "0.5.6" description = "Retrieve gpu, cpu, and npu device info and properties from Linux/MacOS with zero package dependency." readme = { file = "README.md", content-type = "text/markdown" } -requires-python = ">=3" +requires-python = ">=3.10" license = "Apache-2.0" authors = [ { name = "ModelCloud", email = "qubitium@modelcloud.ai" }, diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..dc5fbf8 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,13 @@ +[metadata] +name = Device-SMI +version = 0.5.6 +description = Retrieve gpu, cpu, and npu device info and properties from Linux/MacOS with zero package dependency. +long_description = file: README.md +long_description_content_type = text/markdown +author = ModelCloud +author_email = qubitium@modelcloud.ai +url = https://github.com/ModelCloud/Device-SMI/ + +[options] +packages = device_smi +python_requires = >=3.10 From f97e8ad96ccc56938ab822092568028872527165 Mon Sep 17 00:00:00 2001 From: Qubitium Date: Sat, 22 Aug 2026 00:42:58 +0000 Subject: [PATCH 2/3] bump: Device-SMI version to 0.5.7 --- pyproject.toml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7fa2952..2a28e50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "Device-SMI" -version = "0.5.6" +version = "0.5.7" description = "Retrieve gpu, cpu, and npu device info and properties from Linux/MacOS with zero package dependency." readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.10" diff --git a/setup.cfg b/setup.cfg index dc5fbf8..0f7ef11 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = Device-SMI -version = 0.5.6 +version = 0.5.7 description = Retrieve gpu, cpu, and npu device info and properties from Linux/MacOS with zero package dependency. long_description = file: README.md long_description_content_type = text/markdown From 8a793bf73bb274db7f40825fdf895129a57f016d Mon Sep 17 00:00:00 2001 From: Qubitium Date: Sat, 22 Aug 2026 00:47:46 +0000 Subject: [PATCH 3/3] chore: require setuptools>=79.0.0,<85 Raise the minimum supported setuptools to the 79 major release for warning-free installs. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2a28e50..5d8c05b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=77.0.1,<85", + "setuptools>=79.0.0,<85", ] build-backend = "setuptools.build_meta"