Open Bug 2007154 Opened 4 hours ago Updated 4 hours ago

Restrict the intermixed variable usage in the argparser to only a subset of python 3.12/3.13 versions

Categories

(Testing :: mozperftest, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: sparky, Unassigned)

References

Details

(Whiteboard: [fxp])

In bug 1968159, we restricted the usage of the intermixed variable to 3.12.8+ but it seems to be causing some issues on other versions. At least python 3.13.6 is broken with the same failure:

    def parse_args(self, args=None, namespace=None, intermixed=False):
        self.parse_helper(args)
        if sys.version_info.minor >= 13 or (
            sys.version_info.minor == 12 and sys.version_info.micro > 7
        ):
>           return super().parse_args(args, namespace, intermixed=intermixed)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           TypeError: ArgumentParser.parse_args() got an unexpected keyword argument 'intermixed'
You need to log in before you can comment on or make changes to this bug.