Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.12 support #537

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Add python 3.12 support #537

merged 1 commit into from
Jul 25, 2024

Commits on Jul 25, 2024

  1. Lots of version bumps

    * Add support for python 3.12;
    * This necessitated some library updates, so update basically everything
      to the extent that python versions 3.8-3.12 remain supported;
    * Add python 3.12 to GitHub workflows;
    * Adjust `shutil.rmtree()` calls; in python 3.12, the `onerror` argument
      becomes changes type and becomes deprecated -- luckily, we don't use
      it, so it's easy to paper over;
    * Minor formatting changes to placate the latest version of black;
    * Add some test annotations to `test_util.py` because pylint now is
      smart enough to think some code is unreachable (although it is because
      of the testing context);
    * "Fix" one test in `test_scan_local_repo.py` that fails only with
      python 3.12 because click's CliRunner directory context appears to
      come up with a bizarrely wrong path name that propagates into error
      messages - relax the test to ignore the reported pathname.
    
    This should be enough to silence all of the outstanding dependabot PRs.
    rscottbailey committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    b619b0b View commit details
    Browse the repository at this point in the history