From a76620a95e22e66f67db2fd3507a8f44f447e112 Mon Sep 17 00:00:00 2001 From: Kobi Hikri Date: Wed, 15 Jul 2026 13:47:25 +0300 Subject: [PATCH] Add missing trailing commas to Python version classifiers Without the commas, adjacent string literals concatenate into a single invalid classifier (e.g. 'Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11...'). Fixes the generated lines and the cog template so it doesn't regress on the next cog run. --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 62eca36c1..a4dbb9657 100644 --- a/setup.py +++ b/setup.py @@ -120,13 +120,13 @@ "Programming Language :: Python :: 3", # [[[cog # for minor in range(int(min_python_minor), int(max_python_minor) + 1): - # cog.outl(f"\"Programming Language :: Python :: 3.{minor}\"") + # cog.outl(f"\"Programming Language :: Python :: 3.{minor}\",") # ]]] - "Programming Language :: Python :: 3.10" - "Programming Language :: Python :: 3.11" - "Programming Language :: Python :: 3.12" - "Programming Language :: Python :: 3.13" - "Programming Language :: Python :: 3.14" + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", # [[[end]]] "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",