Skip to content

Publish to test PyPI fails for 1.8.4 #1272

@ericwb

Description

@ericwb

Describe the bug

Under Build man page if not present

Run if [ ! -f doc/build/man/bandit.1 ]; then
  if [ ! -f doc/build/man/bandit.1 ]; then
    tox run -e manpage
  fi
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.9.22/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.22/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.22/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.22/x64/lib
/home/runner/work/_temp/c025067e-c839-4bc4-abff-ee2c5a9af49e.sh: line 2: tox: command not found
Error: Process completed with exit code 127.

Reproduction steps

  1. Go to Actions tab
  2. Click on the Publish to Test PyPI action
  3. Click on Run workflow
  4. Select Use workflow from, then Tags tab, and select 1.8.4
  5. Click on Run workflow

Expected behavior

Build should run error free

Bandit version

1.8.4

Python version

3.13 (Default)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions