Debian Patches
Status for cpuset/1.6.2-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 01_SyntaxWarning.patch | Use raw strings for regular expressions with backslashes Prefix the CPU and memory specification regular expressions with r so Python no longer emits SyntaxWarning for invalid string escape sequences. |
Alexandre Detiste <tchet@debian.org> | not-needed | debian | 2025-03-15 | |
| 02_pep517_build_and_manifest.patch | Migrate to PEP 517 build system and keep Python 3.6 compatibility Introduce pyproject.toml with [build-system] using setuptools.build_meta to drive builds through the PEP 517 interface. This eliminates the "setup.py install is deprecated" warnings triggered by frontend tools like pip and pybuild. To retain Python 3.6 support, the build requirement is lowered to setuptools>=40.8, as setuptools 59.7.0 officially dropped Python 3.6. Because these older setuptools versions cannot parse PEP 621 [project] tables, all package metadata must remain in setup.py. . The module-level version import in setup.py is replaced with a hardcoded string to prevent a ModuleNotFoundError during PEP 517 isolated builds. The set_version.sh script is updated to keep this version synchronized alongside cpuset/version.py on every release. Finally, the non-existent ChangeLog entry is removed from MANIFEST.in to clear build warnings, and the License classifier is omitted from setup.py to avoid deprecation warnings on modern setuptools. |
Fukui Daichi <a.dog.will.talk@akane.waseda.jp> | yes | 2026-06-30 |
