From 2fec2ea88f8b21609c851564de134b5e5665c285 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 23 Jul 2026 12:35:58 +0100 Subject: [PATCH] chore: remove 2 dead env_vars overrides copied in from autofit_workspace Both of this repo's env_vars.yaml override patterns matched zero files. `plot/emcee_plotter` and `plot/zeus_plotter` were copied in from autofit_workspace/config/build/env_vars.yaml lines 26/28, where the identical patterns still live and still match. Those scripts exist only as autofit_workspace/scripts/plot/*.py and have never existed in HowToFit, which contains only chapter_*/tutorial_*.py. `overrides: []` is written explicitly rather than left as a bare key, because env_config.py reads `.get("overrides", [])` and an empty key loads as None, which would raise on iteration. Behaviour-neutral: for all 21 scripts here the resolved build_env_for_script dict is identical before and after, since both removed patterns matched zero files. This repo has no no_run.yaml entries, so that file is untouched. Closes part of PyAutoLabs/HowToLens#46 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_011ZVaiShnRkv1xbQBegGK1N --- config/build/env_vars.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/config/build/env_vars.yaml b/config/build/env_vars.yaml index ce8127f..3850772 100644 --- a/config/build/env_vars.yaml +++ b/config/build/env_vars.yaml @@ -20,10 +20,15 @@ defaults: NUMBA_CACHE_DIR: "/tmp/numba_cache" # Writable cache dir for numba MPLCONFIGDIR: "/tmp/matplotlib" # Writable config dir for matplotlib -overrides: - # Plotter scripts need the real search to run so `result.search_internal` is - # populated — bypass mode skips the sampler and returns None. - - pattern: "plot/emcee_plotter" - unset: [PYAUTO_TEST_MODE, PYAUTO_SKIP_FIT_OUTPUT] - - pattern: "plot/zeus_plotter" - unset: [PYAUTO_TEST_MODE, PYAUTO_SKIP_FIT_OUTPUT] +# (Removed on 2026-07-23: the two overrides here, `plot/emcee_plotter` and +# `plot/zeus_plotter`, were copied in from autofit_workspace's env_vars.yaml, +# where the identical patterns still live and still match. Those scripts exist +# only as autofit_workspace/scripts/plot/*.py and have never existed in +# HowToFit, which contains only chapter_*/tutorial_*.py — so neither pattern +# ever matched a file here. +# +# Do not copy override patterns between repos; a pattern that matches nothing +# is silently inert, not an override. `overrides: []` is written explicitly +# because env_config.py reads `.get("overrides", [])` — a bare `overrides:` +# key would load as None and raise on iteration.) +overrides: []