Your message dated Mon, 11 Aug 2025 13:34:56 +0000
with message-id <[email protected]>
and subject line Bug#1110560: fixed in cmake-format 0.6.13-7
has caused the Debian Bug report #1110560,
regarding cmake-format: please remove usage of python3-six using provided patch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1110560: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110560
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cmake-format
Version: 0.6.13-6
Severity: normal
Dear Maintainer,
It seems Merge Requests are disabled for the Salsa project.
I cannot guess if it's intentional.
So here's an old fashioned patch.
https://salsa.debian.org/detiste-guest/cmake_format/-/compare/master...master?from_project_id=47175
Usage of the old "six" shim is slowly removed from Debian.
https://wiki.debian.org/Python3-six-removal
Upstream does not seems active, that's the reason I submit a patch here first.
I would submit a MR if asked.
Greetings
Alexandre Detiste
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cmake-format depends on:
ii python3 3.13.5-1
ii python3-six 1.17.0-1
ii python3-yaml 6.0.2-1+b2
Versions of packages cmake-format recommends:
ii python3-argcomplete 3.6.2-1
ii python3-jinja2 3.1.6-1
cmake-format suggests no packages.
-- no debconf information
diff --git a/debian/control b/debian/control
index 06d8b94..c26de06 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Build-Depends: debhelper-compat (= 12),
cmake,
python3,
python3-setuptools,
- python3-six,
python3-argparse-manpage
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/cmake_format
diff --git a/debian/patches/0007-patch-out-usage-of-six.patch
b/debian/patches/0007-patch-out-usage-of-six.patch
new file mode 100644
index 0000000..50d06da
--- /dev/null
+++ b/debian/patches/0007-patch-out-usage-of-six.patch
@@ -0,0 +1,52 @@
+From: Alexandre Detiste <[email protected]>
+Subject: remove usage of Python2+3 "six" shim
+
+--- a/cmakelang/command_tests/__init__.py
++++ b/cmakelang/command_tests/__init__.py
+@@ -12,7 +12,6 @@
+ import sys
+ import unittest
+
+-import six
+
+ from cmakelang.format import __main__
+ from cmakelang import configuration
+@@ -339,7 +338,7 @@
+ return test_fun
+
+
+-class TestBase(six.with_metaclass(SidecarMeta, unittest.TestCase)):
++class TestBase(unittest.TestCase, metaclass=SidecarMeta):
+ """
+ Given a bunch of example usages of a particular command, ensure that they
+ lex, parse, layout, and format the same as expected.
+--- a/cmakelang/config_util.py
++++ b/cmakelang/config_util.py
+@@ -8,7 +8,6 @@
+ import sys
+ import textwrap
+
+-import six
+
+ logger = logging.getLogger(__name__)
+
+@@ -309,7 +308,7 @@
+ "\n ".join(unused))
+
+
+-class ConfigObject(six.with_metaclass(ConfigMeta)):
++class ConfigObject(metaclass=ConfigMeta):
+ """
+ Base class for encapsulationg options/parameters
+ """
+--- a/cmakelang/pypi/setup.py
++++ b/cmakelang/pypi/setup.py
+@@ -61,7 +61,7 @@
+ "YAML": ["pyyaml>=5.3"],
+ "html-gen": ["jinja2==2.10.3"]
+ },
+- install_requires=["six>=1.13.0"]
++ install_requires=[]
+ )
+
+ setup(
diff --git a/debian/patches/series b/debian/patches/series
index fd01e5d..75a8c6a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
0004-Compatibility-with-argparse-manpage.patch
0005-Correct-misspellings-in-command-line-option-descript.patch
0006-Update-TestConfigInclude._test_passed-to-support-Pyt.patch
+0007-patch-out-usage-of-six.patch
--- End Message ---
--- Begin Message ---
Source: cmake-format
Source-Version: 0.6.13-7
Done: Ian Campbell <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cmake-format, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ian Campbell <[email protected]> (supplier of updated cmake-format package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 11 Aug 2025 14:09:23 +0100
Source: cmake-format
Architecture: source
Version: 0.6.13-7
Distribution: unstable
Urgency: medium
Maintainer: Ian Campbell <[email protected]>
Changed-By: Ian Campbell <[email protected]>
Closes: 1110560
Changes:
cmake-format (0.6.13-7) unstable; urgency=medium
.
* Backport upstream PR #353 which drops the requirement for python3-six.
Thanks to Alexandre Detiste (Closes: #1110560)
* Update to debhelper 13. No changes required.
* Update to standards-version 4.7.2. No changes required.
Checksums-Sha1:
3a3b4ebbea92c09fa9ce3a931424732fe311e7e5 2131 cmake-format_0.6.13-7.dsc
1cc6dd3392cd15a88abb4e7861e9246febfce611 10288
cmake-format_0.6.13-7.debian.tar.xz
Checksums-Sha256:
8b741a666bf2038b73b3e07291c4238b42857598b87797beb040f9af249bbd6a 2131
cmake-format_0.6.13-7.dsc
1087950e36577fb2f5fcd6422cf1a4f5620315612b4e6a609108be649dc20b79 10288
cmake-format_0.6.13-7.debian.tar.xz
Files:
fdcc018e909f117825aa5865252b5051 2131 devel optional cmake-format_0.6.13-7.dsc
af49e19a62b4ebcc367b33aec8c2e92b 10288 devel optional
cmake-format_0.6.13-7.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEE7fn8DiT6MgcCyDswKi4ln2laRsYFAmiZ6+QPHGlqY0BkZWJp
YW4ub3JnAAoJECouJZ9pWkbGUocP/irMU0suPvImgG6ZRyuFKQTJQV539VzmgCZ9
t3M0WLCvcrrEpeMORsA7J1VPNJ0LZYtZXZlMRXnHOdJXhKG+8PddIfMSEg9ud6D9
ngpPk4Eii+G1ZFmMFnRkzYdCMi357cPrF6v1BzkbYcCVwQZipI9jyXy12eSfpUPA
rArnSs29MQk2RCtNwIZQIVfrhGiwrMg34bFhkVJ8oG58WbcVB0UBOirt6vCLQC3Z
hl56E/u70jvyTVwCKyADR/zKnn4pZTnTwAFicjOsVFFjz+amWwV9Zyrq+wjDLuTg
1FYDMn3E9s8RxmCsmAN6NGXhGBnSNbJaCsql8c/7v+VRbHOXJY3so63iuK0ZmpnC
nzEOdNUnA1CeY9ZcxBLGilW3fFKPl/chPGerLs49D4KpjXWTi+/eHZHXv9cw0823
vJkERP6fqqoyOvbrc0F1HnSQ0fUgshH5Qwl9LtLPp+OGo8h8HKWcckplrveIstJg
wnWWYg2oSbGC9CpkdpkxtY57P8rKFwfXPiy31zyBzfmTZHaane6DAFKOggCaukf9
S862wz6MT0PqBue4QDSyKEq3gDTuyWz5XNiUumWemSxgrlvHpHPjQae6L159KMoz
tf8WTdnhU3oEqQvLvYnq7CKgmUaOsfG1uc6QWwi+DitRpoMp47T59DZd+94zJesI
2MRJFFbb
=6ytu
-----END PGP SIGNATURE-----
pgpEtZv26eBOz.pgp
Description: PGP signature
--- End Message ---