• Bug#1100297: ranger: FTBFS: ModuleNotFoundError: No module named 'distu

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:03 2025
    Package: src:ranger
    Version: 1.9.4-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean -Smakefile --with python3
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_clean
    make -j1 clean
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    /bin/sh: 1: python: not found
    find ranger -regex .\*\.py[co]\$ -delete
    find ranger -depth -name __pycache__ -type d -exec rm -r -- {} \;
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    rm -rf build_scripts
    rm -rf .pytest_cache
    rm -rf build

    [... snipped ...]

    ranger/ext/vcs/vcs.py:521:4: W0107: Unnecessary pass statement (unnecessary-pass)
    ranger/ext/vcs/vcs.py:526:4: W0107: Unnecessary pass statement (unnecessary-pass)
    ranger/ext/vcs/vcs.py:531:4: W0107: Unnecessary pass statement (unnecessary-pass)
    ************* Module ranger.ext.vcs.bzr
    ranger/ext/vcs/bzr.py:138:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/ext/vcs/bzr.py:141:31: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/ext/vcs/bzr.py:145:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.ext.vcs.svn
    ranger/ext/vcs/svn.py:144:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/ext/vcs/svn.py:147:31: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/ext/vcs/svn.py:151:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.ext.vcs.hg
    ranger/ext/vcs/hg.py:130:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/ext/vcs/hg.py:133:31: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/ext/vcs/hg.py:137:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.container.file
    ranger/container/file.py:71:15: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/file.py:77:11: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/file.py:78:28: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/file.py:80:11: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/file.py:81:16: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/file.py:89:11: R1714: Consider merging these comparisons with 'in' by using 'self.path in ('/dev/core', '/proc/kcore')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/container/file.py:96:15: E1101: Instance of 'MockFM' has no 'get_preview' member (no-member)
    ranger/container/file.py:100:19: E1101: Instance of 'MockFM' has no 'previews' member (no-member)
    ************* Module ranger.container.bookmarks ranger/container/bookmarks.py:261:0: R0022: Useless option value for 'disable', 'no-self-use' was moved to an optional extension, see https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/summary.html#removed-checkers. (useless-option-value)
    ranger/container/bookmarks.py:92:12: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/container/bookmarks.py:95:31: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:97:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:178:19: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/bookmarks.py:180:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:185:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:200:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:178:19: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/container/bookmarks.py:221:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/bookmarks.py:224:31: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:228:19: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/bookmarks.py:230:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/bookmarks.py:228:19: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ************* Module ranger.container.history
    ranger/container/history.py:13:0: R0205: Class 'History' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/container/history.py:93:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/container/history.py:102:12: W0707: Consider explicitly re-raising using 'except IndexError as exc' and 'raise HistoryEmptyException from exc' (raise-missing-from)
    ranger/container/history.py:108:12: W0707: Consider explicitly re-raising using 'except IndexError as exc' and 'raise HistoryEmptyException from exc' (raise-missing-from)
    ranger/container/history.py:112:8: R1731: Consider using 'self.index = max(self.index, 0)' instead of unnecessary if block (consider-using-max-builtin)
    ranger/container/history.py:118:8: R1730: Consider using 'self.index = min(self.index, len(self.history) - 1)' instead of unnecessary if block (consider-using-min-builtin)
    ranger/container/history.py:120:8: R1731: Consider using 'self.index = max(self.index, 0)' instead of unnecessary if block (consider-using-max-builtin)
    ranger/container/history.py:145:12: R1730: Consider using 'self.index = min(self.index, len(self.history) - 1)' instead of unnecessary if block (consider-using-min-builtin)
    ************* Module ranger.container.settings ranger/container/settings.py:17:0: R0022: Useless option value for 'disable', 'bad-whitespace' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
    ranger/container/settings.py:23:0: R0022: Useless option value for 'enable', 'bad-whitespace' was removed from pylint, see https://github.com/pylint-dev/pylint/pull/3577. (useless-option-value)
    ranger/container/settings.py:138:42: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:139:41: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:140:40: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:141:37: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:173:35: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/settings.py:182:41: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/settings.py:190:14: R1735: Consider using '{"setting": name, "value": value, "previous": previous, "path": path, ... }' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:209:41: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/settings.py:234:12: C2801: Unnecessarily calls dunder method __setattr__. Set attribute directly or use setattr built-in function. (unnecessary-dunder-call)
    ranger/container/settings.py:249:8: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from)
    ranger/container/settings.py:254:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/container/settings.py:287:44: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:299:45: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/settings.py:308:0: R0205: Class 'LocalSettings' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/container/settings.py:328:8: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from)
    ************* Module ranger.container.directory ranger/container/directory.py:77:18: R1719: The if expression can be replaced with 'test' (simplifiable-if-expression)
    ranger/container/directory.py:92:16: W3301: Do not use nested call of 'max'; it's possible to do 'max(mtime, *[-1] + [os.stat(d).st_mtime for d in dirlist])' instead (nested-min-max)
    ranger/container/directory.py:96:0: R0205: Class 'InodeFilterConstants' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/container/directory.py:200:4: W0221: Number of parameters was 0 in 'Accumulator.get_list' and is now 1 in overriding 'Directory.get_list' method (arguments-differ)
    ranger/container/directory.py:248:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ranger/container/directory.py:285:16: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ranger/container/directory.py:366:46: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/directory.py:369:42: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/directory.py:372:38: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/directory.py:465:12: E1101: Instance of 'MockFM' has no 'signal_emit' member (no-member)
    ranger/container/directory.py:467:16: E1101: Instance of 'MockFM' has no 'ui' member (no-member)
    ranger/container/directory.py:520:16: W0143: Comparing against a callable, did you omit the parenthesis? (comparison-with-callable)
    ranger/container/directory.py:524:16: W0143: Comparing against a callable, did you omit the parenthesis? (comparison-with-callable)
    ranger/container/directory.py:568:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
    ranger/container/directory.py:569:15: E1101: Instance of 'MockFM' has no 'settings' member (no-member)
    ranger/container/directory.py:582:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/directory.py:652:19: E1101: Instance of 'MockFM' has no 'thisdir' member (no-member)
    ranger/container/directory.py:709:19: E1101: Instance of 'MockFM' has no 'enter_dir' member (no-member)
    ************* Module ranger.container.tags
    ranger/container/tags.py:15:0: R0205: Class 'Tags' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/container/tags.py:23:12: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/container/tags.py:23:12: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/tags.py:31:8: R1715: Consider using dict.get for getting values from a dict if a key is present or a default if not (consider-using-get)
    ranger/container/tags.py:50:8: R1715: Consider using dict.get for getting values from a dict if a key is present or a default if not (consider-using-get)
    ranger/container/tags.py:76:23: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/tags.py:78:23: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/tags.py:78:23: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/container/tags.py:87:19: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/container/tags.py:87:19: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/container/tags.py:100:27: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/tags.py:103:17: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/container/tags.py:143:20: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ************* Module ranger.container.fsobject ranger/container/fsobject.py:114:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/fsobject.py:137:56: E1101: Instance of 'MockFM' has no 'tags' member (no-member)
    ranger/container/fsobject.py:138:24: E1101: Instance of 'MockFM' has no 'tags' member (no-member)
    ranger/container/fsobject.py:201:12: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/container/fsobject.py:219:25: E1101: Instance of 'MockFM' has no 'mimetypes' member (no-member)
    ranger/container/fsobject.py:258:20: E1101: Instance of 'MockFM' has no 'get_directory' member (no-member)
    ranger/container/fsobject.py:286:8: E1101: Instance of 'MockFM' has no 'update_preview' member (no-member)
    ranger/container/fsobject.py:299:26: R1719: The if expression can be replaced with 'bool(test)' (simplifiable-if-expression)
    ranger/container/fsobject.py:312:26: R1719: The if expression can be replaced with 'bool(test)' (simplifiable-if-expression)
    ranger/container/fsobject.py:316:11: R1714: Consider merging these comparisons with 'in' by using 'fmt in (8192, 24576)'. Use a set instead if elements are hashable. (consider-using-in)
    ************* Module ranger.colorschemes.snow
    ranger/colorschemes/snow.py:12:4: W0221: Number of parameters was 1 in 'ColorScheme.use' and is now 2 in overriding 'Snow.use' method (arguments-differ)
    ************* Module ranger.colorschemes.default ranger/colorschemes/default.py:17:4: W0221: Number of parameters was 1 in 'ColorScheme.use' and is now 2 in overriding 'Default.use' method (arguments-differ)
    ranger/colorschemes/default.py:20:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ************* Module ranger.colorschemes.solarized ranger/colorschemes/solarized.py:21:4: W0221: Number of parameters was 1 in 'ColorScheme.use' and is now 2 in overriding 'Solarized.use' method (arguments-differ)
    ranger/colorschemes/solarized.py:24:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ************* Module ranger.core.metadata
    ranger/core/metadata.py:25:0: R0205: Class 'MetadataManager' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/metadata.py:29:30: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/core/metadata.py:31:30: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/core/metadata.py:56:8: C0415: Import outside toplevel (json) (import-outside-toplevel)
    ranger/core/metadata.py:87:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/metadata.py:114:8: C0415: Import outside toplevel (json) (import-outside-toplevel)
    ranger/core/metadata.py:120:17: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/metadata.py:124:20: W0707: Consider explicitly re-raising using 'except ValueError as exc' and 'raise ValueError('Failed decoding JSON file %s' % metafile) from exc' (raise-missing-from)
    ranger/core/metadata.py:124:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.core.shared
    ranger/core/shared.py:9:0: R0205: Class 'FileManagerAware' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/shared.py:16:0: R0205: Class 'SettingsAware' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ************* Module ranger.core.tab
    ranger/core/tab.py:30:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
    ranger/core/tab.py:32:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
    ranger/core/tab.py:81:12: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ranger/core/tab.py:174:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.core.runner
    ranger/core/runner.py:209:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
    ranger/core/runner.py:54:0: R0205: Class 'Context' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/runner.py:71:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments)
    ranger/core/runner.py:93:8: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from)
    ranger/core/runner.py:104:0: R0205: Class 'Runner' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/runner.py:134:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments)
    ranger/core/runner.py:193:31: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/runner.py:194:31: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/runner.py:264:16: W0134: 'return' shadowed by the 'finally' clause. (return-in-finally)
    ranger/core/runner.py:266:12: W0134: 'return' shadowed by the 'finally' clause. (return-in-finally)
    ranger/core/runner.py:248:26: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/runner.py:258:76: E0601: Using variable 'error' before assignment (used-before-assignment)
    ranger/core/runner.py:193:31: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/runner.py:194:31: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/runner.py:245:30: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ************* Module ranger.core.main
    ranger/core/main.py:273:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
    ranger/core/main.py:20:4: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:21:4: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:22:4: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:31:4: C0415: Import outside toplevel (ranger.api) (import-outside-toplevel)
    ranger/core/main.py:32:4: C0415: Import outside toplevel (ranger.container.settings.Settings) (import-outside-toplevel)
    ranger/core/main.py:33:4: C0415: Import outside toplevel (ranger.core.shared.FileManagerAware, ranger.core.shared.SettingsAware) (import-outside-toplevel)
    ranger/core/main.py:34:4: C0415: Import outside toplevel (ranger.core.fm.FM) (import-outside-toplevel)
    ranger/core/main.py:35:4: C0415: Import outside toplevel (ranger.ext.logutils.setup_logging) (import-outside-toplevel)
    ranger/core/main.py:36:4: C0415: Import outside toplevel (ranger.ext.openstruct.OpenStruct) (import-outside-toplevel)
    ranger/core/main.py:76:23: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/main.py:78:23: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/main.py:80:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:108:14: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:240:8: W0134: 'return' shadowed by the 'finally' clause. (return-in-finally)
    ranger/core/main.py:122:12: C0415: Import outside toplevel (ranger.container.directory.InodeFilterConstants) (import-outside-toplevel)
    ranger/core/main.py:126:12: C0415: Import outside toplevel (ranger.ext.keybinding_parser.special_keys, ranger.ext.keybinding_parser.reversed_special_keys) (import-outside-toplevel)
    ranger/core/main.py:131:26: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:146:12: C0415: Import outside toplevel (ranger.ext.curses_interrupt_handler) (import-outside-toplevel)
    ranger/core/main.py:158:25: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/main.py:162:29: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/main.py:194:12: C0415: Import outside toplevel (cProfile) (import-outside-toplevel)
    ranger/core/main.py:195:12: C0415: Import outside toplevel (pstats) (import-outside-toplevel)
    ranger/core/main.py:204:8: C0415: Import outside toplevel (traceback) (import-outside-toplevel)
    ranger/core/main.py:208:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:211:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:26:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
    ranger/core/main.py:78:23: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/main.py:270:4: C0415: Import outside toplevel (optparse.OptionParser) (import-outside-toplevel)
    ranger/core/main.py:271:4: C0415: Import outside toplevel (ranger.CONFDIR, ranger.CACHEDIR, ranger.DATADIR, ranger.USAGE) (import-outside-toplevel)
    ranger/core/main.py:328:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:331:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:336:8: C0415: Import outside toplevel (tempfile.mkdtemp) (import-outside-toplevel)
    ranger/core/main.py:359:4: C0415: Import outside toplevel (ranger.core.actions.Actions) (import-outside-toplevel)
    ranger/core/main.py:360:4: C0415: Import outside toplevel (ranger.core.shared) (import-outside-toplevel)
    ranger/core/main.py:361:4: C0415: Import outside toplevel (ranger.api.commands) (import-outside-toplevel)
    ranger/core/main.py:362:4: C0415: Import outside toplevel (ranger.config.commands) (import-outside-toplevel)
    ranger/core/main.py:380:16: R0402: Use 'from importlib import util' instead (consider-using-from-import)
    ranger/core/main.py:380:16: C0415: Import outside toplevel (importlib.util) (import-outside-toplevel)
    ranger/core/main.py:385:16: C0415: Import outside toplevel (importlib.machinery.SourceFileLoader) (import-outside-toplevel)
    ranger/core/main.py:386:25: E1120: No value for argument 'fullname' in method call (no-value-for-parameter)
    ranger/core/main.py:388:16: C0415: Import outside toplevel (imp) (import-outside-toplevel)
    ranger/core/main.py:388:16: W4901: Deprecated module 'imp' (deprecated-module) ranger/core/main.py:433:23: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/main.py:443:24: C0415: Import outside toplevel (importlib) (import-outside-toplevel)
    ranger/core/main.py:451:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/main.py:433:23: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/main.py:478:4: C0415: Import outside toplevel (errno.EEXIST) (import-outside-toplevel)
    ranger/core/main.py:489:16: W0707: Consider explicitly re-raising using 'raise SystemExit from err' (raise-missing-from)
    ************* Module ranger.core.loader
    ranger/core/loader.py:27:0: R0205: Class 'Loadable' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/loader.py:55:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments)
    ranger/core/loader.py:69:8: C0415: Import outside toplevel (os.path.join) (import-outside-toplevel)
    ranger/core/loader.py:90:8: C0415: Import outside toplevel (ranger.ext.shutil_generatorized) (import-outside-toplevel)
    ranger/core/loader.py:160:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments)
    ranger/core/loader.py:177:53: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/loader.py:177:53: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/loader.py:182:16: C0415: Import outside toplevel (io) (import-outside-toplevel)
    ranger/core/loader.py:189:19: R1714: Consider merging these comparisons with 'in' by using 'ex.errno not in (errno.EPIPE, errno.EINVAL)'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/loader.py:178:33: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
    ranger/core/loader.py:429:20: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.core.filter_stack
    ranger/core/filter_stack.py:25:0: R0205: Class 'BaseFilter' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
    ranger/core/filter_stack.py:58:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:74:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:100:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:195:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:219:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:239:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/filter_stack.py:255:15: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ************* Module ranger.core.fm
    ranger/core/fm.py:52:27: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
    ranger/core/fm.py:148:12: C0415: Import outside toplevel (re) (import-outside-toplevel)
    ranger/core/fm.py:149:12: C0415: Import outside toplevel (ranger.ext.shell_escape.shell_quote) (import-outside-toplevel)
    ranger/core/fm.py:164:63: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:169:28: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:175:62: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:180:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:183:34: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:81:4: R0915: Too many statements (64/50) (too-many-statements)
    ranger/core/fm.py:223:12: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from)
    ranger/core/fm.py:254:8: C0415: Import outside toplevel (shutil) (import-outside-toplevel)
    ranger/core/fm.py:255:8: C0415: Import outside toplevel (errno.EEXIST) (import-outside-toplevel)
    ranger/core/fm.py:259:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:261:33: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:270:24: W0707: Consider explicitly re-raising using 'raise SystemExit from err' (raise-missing-from)
    ranger/core/fm.py:274:37: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:275:11: R1714: Consider merging these comparisons with 'in' by using 'which in ('rifle', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/fm.py:277:11: R1714: Consider merging these comparisons with 'in' by using 'which in ('commands', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/fm.py:279:11: R1714: Consider merging these comparisons with 'in' by using 'which in ('commands_full', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/fm.py:281:11: R1714: Consider merging these comparisons with 'in' by using 'which in ('rc', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/fm.py:283:11: R1714: Consider merging these comparisons with 'in' by using 'which in ('scope', 'all')'. Use a set instead if elements are hashable. (consider-using-in)
    ranger/core/fm.py:298:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/fm.py:398:12: W0707: Consider explicitly re-raising using 'except KeyboardInterrupt as exc' and 'raise SystemExit from exc' (raise-missing-from)
    ranger/core/fm.py:405:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/fm.py:412:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ************* Module ranger.core.actions
    ranger/core/actions.py:1236:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens)
    ranger/core/actions.py:107:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:118:12: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    ranger/core/actions.py:138:25: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:177:12: W0719: Raising too general exception: Exception (broad-exception-raised)
    ranger/core/actions.py:181:19: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:239:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:245:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:252:24: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:295:29: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:327:30: R1726: Boolean condition "fl.realpath in self.fm.tags or []" may be simplified to "fl.realpath in self.fm.tags" (simplifiable-condition)
    ranger/core/actions.py:402:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/actions.py:412:32: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
    ranger/core/actions.py:432:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/actions.py:443:21: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
    ranger/core/actions.py:739:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments)
    ranger/core/actions.py:823:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 20 04:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Thu, 20 Mar 2025 03:06:48 +0000
    with message-id <[email protected]>
    and subject line Bug#1100297: fixed in ranger 1.9.4-2
    has caused the Debian Bug report #1100297,
    regarding ranger: FTBFS: ModuleNotFoundError: No module named 'distutils'
    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.)


    --
    1100297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100297
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:33:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.0 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 494; hammy, 150; neutral, 651; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <[email protected]>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:2