Skip to content

Update scope-profiler requirement from >=0.7.5 to >=0.8.0 in the python group - #58

Merged
max-models merged 1 commit into
develfrom
dependabot/pip/python-e1c59a85c4
Nov 23, 2026
Merged

max-models merged 1 commit into
develfrom
dependabot/pip/python-e1c59a85c4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on scope-profiler to permit the latest version.
Updates scope-profiler to 0.8.0

Changelog

Sourced from scope-profiler's changelog.

0.8.0 - 2026-11-16

Added

  • Profiling jobs for any program (scope_profiler.jobs, scope-profiler jobs). A ProfilingCase (in Python or a TOML file) runs a command at several rank counts, as SLURM batch jobs where sbatch exists and as local bash scripts otherwise, then packages every run as soon as its job finishes: the profiles, files a post-processing command wrote, and case_metadata.json/run_metadata.json with the git state, environment, job script and final SLURM state. Cluster presets (#SBATCH pragmas, module setup, node hardware, detection) come from TOML files in $SCOPE_PROFILER_CLUSTERS; --upload pushes each package to a git results repository; scope-profiler jobs sweep runs many cases from one process. No new dependency: sbatch, squeue and sacct are called directly. See the "Profiling jobs" guide and examples/jobs.
  • sp.library("mylib") registers a library's opt-in tag and returns its profiler, whose profile decorator and region name the regions mylib.<name> and tag them mylib (@prof.profile("solve"), with prof.region("assemble"):).
  • scope_profiler.testing: assert_opt_in_tag(tag, run, expected) checks in one test that a library's regions are off by default, recorded once the tag is enabled, and that the package declares the entry point; recorded_region_names(run, **setup_kwargs) and fresh_profiler() help with the other tests, and the pytest plugin provides fresh_profiler as a fixture.
  • NVTX ranges (use_nvtx) fall back to CuPy's bundled cupy.cuda.nvtx when the nvtx package is not installed.
  • scope-profiler tags lists the opt-in tags of the installed packages and the regions behind each (--json for a JSON document). It imports the modules a library declares in the scope_profiler.opt_in_tags entry-point group, and any named with --import MODULE. sp.opt_in_tags() returns the same map in Python.
  • --top N for scope-profiler inspect, diff and check: print only the first N regions of the table (in --sort order; for check the largest changes, while every region is still checked), so a run with many regions gives a short answer.
  • scope-profiler diff and check print the whole-run comparison above the table, e.g. Overall: b is 1.25x faster than a (-20%, -2 s). scope_profiler.diff.overall_change computes it; the MCP compare_profiles tool now uses it for its overall field.
  • suppress_notes for session() and finalize(), and --suppress-notes for scope-profiler run, leave the "Info" box out of the printed summary.
  • --json for scope-profiler inspect, diff and check: the same payloads as the MCP inspect_profile and compare_profiles tools (check adds its verdict and keeps the exit code), for scripts and coding agents without the MCP server.
  • Repeated runs in scope-profiler diff and check: either side can be a glob of runs of the same case ('base_*.h5' 'cand_*.h5'). Regions and the total time are compared by their means, with a noise band of two standard errors of the difference; changes within it are marked ~, are not check violations and are not listed as MCP compare_profiles regressions or improvements (which now takes lists of paths too). benchmark compare also keeps a candidate only when its speedup exceeds the noise of the repeated runs (noise_seconds, significant).

Fixed

  • scope-profiler run records the scope_profiler.session root region like session() does, so

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [scope-profiler](https://github.com/max-models/scope-profiler) to permit the latest version.

Updates `scope-profiler` to 0.8.0
- [Changelog](https://github.com/max-models/scope-profiler/blob/devel/CHANGELOG.md)
- [Commits](https://github.com/max-models/scope-profiler/commits)

---
updated-dependencies:
- dependency-name: scope-profiler
  dependency-version: 0.8.0
  dependency-type: direct:production
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 23, 2026
@max-models
max-models merged commit e6c60c4 into devel Nov 23, 2026
15 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/python-e1c59a85c4 branch November 23, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant