Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-3236

builder: tox '-n' flag is not available in RHEL9

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Wheel building
    • None

      When running bin/bootstrap, the following error is seen on RHEL9:

      + tox -e py3 -n
      usage: tox [--version] [-h] [--help-ini] [-v] [-q] [--showconfig] [-l] [-a] [-c CONFIGFILE] [-e envlist] [--devenv ENVDIR] [--notest] [--sdistonly] [--skip-pkg-install] [-p [VAL]] [-o]
      [--parallel--safe-build] [--installpkg PATH] [--develop] [-i URL] [--pre] [-r] [--result-json PATH] [--discover PATH [PATH ...]] [--hashseed SEED] [--force-dep REQ]
      [--sitepackages] [--alwayscopy] [--no-provision [REQUIRES_JSON]] [-s [val]] [--workdir PATH]
      [args ...]
      tox: error: unrecognized arguments: -n
      + catch

      The tox -n flag is not available in RHEL9.  Instead use the --no-test flag which is valid in both Fedora and RHEL.

              prarit@redhat.com Prarit Bhargava
              prarit@redhat.com Prarit Bhargava
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: