7.0.0 - 2026-04-29

Summary

In this major release, support for the version.pyfile has been removed. Users should:

  • delete the version.py file

  • add in their project’s __init__.py module

    from importlib.metadata import version
    __version__ = version("<package_name>")
    

This is required for the nox session docs:multiversion to successfully complete, and it is a Python standard for users to check in the terminal which version they are using.

The underlying code for the nox sessions vulnerabilities:resolved and release:prepare have been modified so that all dependencies (main, in groups, and in optional groups) are considered for the vulnerability report. Additionally, we only consider a vulnerability resolved if pip-audit includes fix_versions for the dependency. Previously, these nox sessions only reported the dependencies of main and the transitive dependencies of main.

Feature

  • #803: Included other dependencies for local pip-audit check

Refactoring

  • #800: Removed tbx security pretty-print, tbx lint pretty-print, and creation of .lint.txt, as superseded by Sonar and .lint.json usage

  • #791: Resolved Sonar concerns: accepted specific subprocess import usage, subprocess commands, & improved minor maintainability items

  • #629: Replace version.py with version from the __init__.py

Bug Fix

  • #808: Resolved release:prepare to update pyproject.toml