On 09/12/25 22:28, Jeroen Ploemen wrote:
hi Aryan,I took a look at the python-pytooling package, up for sponsorship in the Python team: * repo: d/salsa-ci.yml exists but the CI wasn't enabled. Fixed already. * copyright: missing a copyright holder for a bunch of files: pyTooling/CLIAbstraction/Command.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/ValuedFlag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/Argument.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/ValuedFlagList.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/Flag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/KeyValueFlag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/ValuedTupleFlag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/BooleanFlag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/OptionalValuedFlag.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # pyTooling/CLIAbstraction/__init__.py:15:# Copyright 2014-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture # tests/unit/CLIAbstraction/Executable.py:15:# Copyright 2007-2016 Technische Universität Dresden - Germany, Chair of VLSI-Design, Diagnostics and Architecture #
Done, added these to d/copyright
* control: why is there a dependency on python3-all on the binary pkg?
Fixed
I'd like to disable the tests as they were causing a lot of errors + some build deps arent in debian and have had DFSG issues. Removed the build deps related to testing* rules: tests are disabled wholesale, despite numerous test-specific build-deps and what looks like a pytest-based testsuite. I created a branch and enabled the unit tests [1], and that seems to work alright (on amd64 at least, see [2]). Benchmark and performance tests also worked locally, but progressed rather slowly so I left these off for now. The testsuite fails on i386 because of the extremely limited linux platform detection/support in pyTooling/Platform/__init__.py, lines 247-257. That code looks like it can only ever work on amd64 and arm64. So unless it's possible to somehow add support for other archs, tests on build (as well as the autopkgtest) need to be limited to those two - for example by adding an override for dh_auto_test depending on the architecture, see [3]. I'll leave the decision whether or not to enable tests to you. Please do comment out the testing-related build-deps if you decide to leave them off.
* autopkgtest: 'Testsuite: autopkgtest-pkg-pybuild' when no tests are run on build only creates the illusion of an autopkgtest. Please don't do that, it's basically the equivalent of running /bin/true.
When I removed that testsuite, i got the following error: https://salsa.debian.org/python-team/packages/python-pytooling/-/jobs/8775486
Once the above comments have been addressed, simply re-add the package to the IRC channel topic and/or ping me by e-mail. [1]https://salsa.debian.org/python-team/packages/python-pytooling/-/commit/ff8082ce38bff8da14ad113f3c3c3f0d5720a7ec [2]https://salsa.debian.org/python-team/packages/python-pytooling/-/pipelines/987532 [3]https://codesearch.debian.net/search?q=path%3Adebian%2Frules%20filter.*DEB_HOST_ARCH&literal=0&perpkg=1
Please check my recent commits to find my changes [1] [2][1] https://salsa.debian.org/python-team/packages/python-pytooling/-/commit/b056052f7464f25883919e6e2fe2872337c5ba34
[2] https://salsa.debian.org/python-team/packages/python-pytooling/-/commit/facaf58938a6c524117510491495dc0391435221
-- Regards, Aryan Karamtoth, Sponsored Maintainer @Debian Homepage: https://arklixs.in Matrix: @SpaciousCoder78:matrix.org XMPP: [email protected] GPG Fingerprint: 7A7D 9308 2BD1 9BAF A83B 7E34 FE90 07B8 ED64 0421
OpenPGP_0xFE9007B8ED640421.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature

