Skip to content

Upgrading bandit 0.17 to 1

Breaking0.17.3 → 1.9.4Breaking1Security1Platform3New13Changed61Fixed18Other64

Fetching 32 releases from GitHub…15 / 32
BreakingUpgrade verdict

1 breaking change and 3 platform requirement changes and a security fix.

  • Bandit no longer runs on Python 3.8, so users on that version must upgrade Python.
  • Bandit now officially supports running on Python 3.13.
  • Removes support for Python 3.7 due to end-of-life.
  • Bandit now officially supports running on Python 3.12.
5 items need code or config changes

Requires Python >=3.10 from 1.9.1 (none stated before).

Adds rich.

Drops appdirs, gitpython, six.

Installs 6 packages in all (was 7).

Also installs markdown-it-py, mdurl, pygments.

No longer installs gitdb, smmap.

Breaking1
Removes Python 3.8 support.
Security1
Avoids gitpython CVE-2022-24439.
Platform3
Marks Python 3.13 as officially supported.
Removes support for Python 3.7 due to end-of-life.
Adds official support for Python 3.12.