From 5e1f39b5d05f07bb7b1082f66a6a745a20cf17ac Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 20 Feb 2025 22:20:38 +0800 Subject: [PATCH 1/4] Replace deprecated classifier with licence expression (PEP 639) --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c5a8436d..1ecc87d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,8 @@ name = "cpp-linter" description = "Run clang-format and clang-tidy on a batch of files." readme = "README.rst" keywords = ["clang", "clang-tools", "linter", "clang-tidy", "clang-format"] -license = {text = "MIT License"} +license = "MIT" +license-files = [ "LICENSE" ] authors = [ { name = "Brendan Doherty", email = "2bndy5@gmail.com" }, { name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" }, @@ -16,7 +17,6 @@ requires-python = ">=3.9" classifiers = [ # https://pypi.org/pypi?%3Aaction=list_classifiers "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: MIT License", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Intended Audience :: Information Technology", From 19616bbaefb5cb6f49f6927b0a94515eb00af4d4 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 26 Mar 2025 18:31:49 +0800 Subject: [PATCH 2/4] Update pyproject.toml Co-authored-by: Brendan <2bndy5@gmail.com> --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1ecc87d4..27059edd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,6 @@ description = "Run clang-format and clang-tidy on a batch of files." readme = "README.rst" keywords = ["clang", "clang-tools", "linter", "clang-tidy", "clang-format"] license = "MIT" -license-files = [ "LICENSE" ] authors = [ { name = "Brendan Doherty", email = "2bndy5@gmail.com" }, { name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" }, From c2577142a94a0e12b09d6934af17b4ce2c9b24b6 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 26 Mar 2025 12:29:58 +0000 Subject: [PATCH 3/4] update setuptools>=77 to support PEP639 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 27059edd..fe2a5d3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=62.6", "setuptools-scm"] +requires = ["setuptools>=77", "setuptools-scm"] build-backend = "setuptools.build_meta" [project] From ed9107afd300f065ec7739bb4cbe767a8f75c791 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 26 Mar 2025 12:31:25 +0000 Subject: [PATCH 4/4] let Python Version badge to display all version instead of just python 3 --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fe2a5d3e..c8b0ce39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,6 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: MacOS", - "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",