Description: Fix build failure with new setuptools by passing version as str
 setup.py passes a late_version() object as the version argument to
 setup(). New setuptools (>= 78) normalizes the version and requires a
 string, so convert it with str() before calling setup() to fix the
 "expected string or bytes-like object, got 'late_version'" TypeError
 that aborts the build in the clean stage.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: no
Last-Update: 2026-09-05

--- unittest2-1.1.0.orig/setup.py
+++ unittest2-1.1.0/setup.py
@@ -60,7 +60,7 @@ REQUIRES = [],
 
 params = dict(
     name=NAME,
-    version=VERSION,
+    version=str(VERSION),
     description=DESCRIPTION,
     long_description=LONG_DESCRIPTION,
     packages=PACKAGES,

