Commit 472ed02
authored
fix(config): clear markers overridden by unconditional set_env values (tox-dev#4077)
Clear a previous marker when a later unconditional `set_env` assignment
or environment-file value overrides the variable. Otherwise, a false
marker still suppresses the replacement value.
Adds regression coverage for inline INI assignments and environment-file
overrides in INI and TOML.
Fixes tox-dev#4076.
Validation: Python 3.14 full suite (8,153 passed, 12 skipped), Python
3.10 config suite (6,749 passed, 2 skipped), ty/mypy/pyrefly,
pre-commit, package checks, and strict Sphinx build with visual
changelog inspection. The full suite used a process-local PATH excluding
the host's legacy Python 2 installation to avoid interpreter-discovery
warnings in JSON output. Checks ran directly with the project's
dependency groups to reuse local environments.
- [x] ran the linter to address style issues (`pre-commit run
--all-files --show-diff-on-failure`)
- [x] wrote descriptive pull request text
- [x] ensured there are test(s) validating the fix
- [x] added news fragment in `docs/changelog` folder
- [x] updated/extended the documentation (changelog)1 parent 2f96e32 commit 472ed02
3 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
516 | 543 | | |
517 | 544 | | |
518 | 545 | | |
| |||
0 commit comments