Skip to content

chore(deps): bump actions/setup-python from 6 to 7 - #325

Merged
steven-murray merged 2 commits into
mainfrom
dependabot/github_actions/actions/setup-python-7
Aug 2, 2026
Merged

chore(deps): bump actions/setup-python from 6 to 7#325
steven-murray merged 2 commits into
mainfrom
dependabot/github_actions/actions/setup-python-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/setup-python from 6 to 7.

Release notes

Sourced from actions/setup-python's releases.

v7.0.0

What's Changed

Enhancements

Bug Fix

Dependency Upgrade

New Contributors

Full Changelog: actions/setup-python@v6...v7.0.0

v6.3.0

What's Changed

Enhancement

Dependency update

Documentation

New Contributors

Full Changelog: actions/setup-python@v6.2.0...v6.3.0

v6.2.0

What's Changed

Dependency Upgrades

... (truncated)

Commits

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.89%. Comparing base (c4fffca) to head (ed5df01).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/hmf/cosmology/cosmo.py 0.00% 1 Missing ⚠️
src/hmf/cosmology/growth_factor.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   97.89%   97.89%           
=======================================
  Files          26       26           
  Lines        2709     2709           
=======================================
  Hits         2652     2652           
  Misses         57       57           

☔ 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.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-python-7 branch from 63e61b0 to a5fe627 Compare August 1, 2026 06:18
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/actions/setup-python-7 branch from a5fe627 to 456c121 Compare August 1, 2026 06:22
Fixes the repo-wide ruff findings (TRY004, TRY002, BLE001, RUF036) that
pre-commit.ci was surfacing against the full files touched, unrelated to
this PR's own diff, so that pre-commit.ci can go green.

- cosmo.py: raise TypeError (not ValueError) for a genuine isinstance
  type-check with no test depending on ValueError.
- growth_factor.py: raise RuntimeError instead of bare Exception for a
  failed ODE integration.
- transfer_models.py / mass_definitions.py: narrow bare `except Exception`
  to the specific exceptions actually expected (pickle failures;
  scipy.optimize.brentq bracketing/convergence failures).
- fitting_functions.py / hmf.py: reorder `None | X` union type hints to
  `X | None` to match the rest of the codebase's style.

Left 3 ValueError-vs-TypeError sites (and 1 test file) unchanged with
`# noqa: TRY004` plus a comment, since tests assert ValueError verbatim
there as part of the public API contract:
- growth_factor.py GenMFGrowth._validate_assumptions
- transfer_models.py CAMB.__init__
- fitting_functions.py Tinker08.__init__ (shared by Tinker10)
- tests/test_cache.py test_obj_eq_dictlike_keys (exercises obj_eq's
  `except ValueError` branch specifically)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@steven-murray
steven-murray merged commit 5fbddbc into main Aug 2, 2026
21 of 22 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/actions/setup-python-7 branch August 2, 2026 13:39
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.

1 participant