Skip to content

Various CI fixes - #39

Merged
crungehottman merged 1 commit into
release-engineering:masterfrom
crungehottman:fix-bandit-pbr
Nov 11, 2026
Merged

crungehottman merged 1 commit into
release-engineering:masterfrom
crungehottman:fix-bandit-pbr

Conversation

@crungehottman

@crungehottman crungehottman commented Nov 11, 2026 •

Copy link
Copy Markdown
Member
  • Add pbr to test-requirements.txt. bandit 1.7.5 imports pbr at runtime but
    does not declare it as a runtime dependency, so a clean resolve omits it and
    the py3-bandit tox env fails with "ModuleNotFoundError: No module named 'pbr'".
  • Drop the Python 3.9 CI job and remove py39 from the tox envlist. Python 3.9
    is EOL and unavailable on the current ubuntu-latest runner (26.04), so the
    setup-python step failed before any tests ran.
  • Add a Python 3.12 CI job (and py312 to the tox envlist). exodus-gw, the only
    consumer, runs Python >=3.12, which CI was not exercising.

@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1a8f394) to head (da569aa).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          152       152           
=========================================
  Hits           152       152           
Flag Coverage Δ
unit-tests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add pbr to test-requirements.txt. bandit 1.7.5 imports pbr at runtime but
  does not declare it as a runtime dependency, so a clean resolve omits it and
  the py3-bandit tox env fails with "ModuleNotFoundError: No module named 'pbr'".
- Drop the Python 3.9 CI job and remove py39 from the tox envlist. Python 3.9
  is EOL and unavailable on the current ubuntu-latest runner (26.04), so the
  setup-python step failed before any tests ran.
- Add a Python 3.12 CI job (and py312 to the tox envlist). exodus-gw, the only
  consumer, runs Python >=3.12, which CI was not exercising.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crungehottman crungehottman changed the title Add pbr to test-requirements so bandit can run Various CI fixes Nov 11, 2026
@crungehottman
crungehottman merged commit 5abf963 into release-engineering:master Nov 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants