Commit 9e9ae2b
authored
early warn TCL support deprecate and Tcl 9.x warning (parflow#716)
## Summary
Marks TCL support as deprecated and adds early version-gating for the
Tcl 9.x incompatibility for generating PFIDB, replacing silent runtime
failures with configure-time warnings.
## Changes
- Issue a deprecation `WARNING` when TCL is found, directing users to
Python-based
pftools and tracking issue parflow#707
- Raise a `WARNING` when Tcl ≥ 9.0 is detected as generating PFIDB is
unsupported on that version
## Motivation
Tcl 9.x silently breaks at runtime and does not generate PFIDB, with no
configure-time indication, leading to hard-to-diagnose failures. This
change surfaces the incompatibility immediately at configure time and
consistently nudges remaining TCL users toward the Python migration path
ahead of eventual removal.
## Testing
- [x] **Configured with Tcl 8.6:** deprecation warning issued, build
proceeds normally
- [x] **Configured with Tcl 9.0:** both warnings issued, build proceeds
with known limitations noted
## Related issues
- parflow#641
- parflow#7071 parent 41a1357 commit 9e9ae2b
1 file changed
Lines changed: 34 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
289 | 316 | | |
290 | | - | |
291 | | - | |
| 317 | + | |
| 318 | + | |
292 | 319 | | |
293 | 320 | | |
294 | 321 | | |
| |||
0 commit comments