Commit fee5860
[WIP] Fix cannot open plugin in Revit 2019 (#3357)
* Initial plan
* Guard new loader for Revit < 2021: fall back to legacy Python loader with deprecation warning
Agent-Logs-Url: https://github.com/pyrevitlabs/pyRevit/sessions/041bf213-bde3-458a-915d-b1e9dd218d3c
Co-authored-by: romangolev <67314258+romangolev@users.noreply.github.com>
* Use HOST_APP.is_older_than() for version comparison instead of int() cast
Agent-Logs-Url: https://github.com/pyrevitlabs/pyRevit/sessions/041bf213-bde3-458a-915d-b1e9dd218d3c
Co-authored-by: romangolev <67314258+romangolev@users.noreply.github.com>
* Change deprecation/fallback messages from warning to debug, fix 'future release' -> 'future releases'
Agent-Logs-Url: https://github.com/pyrevitlabs/pyRevit/sessions/11659bb4-5401-4c6d-9352-68b7ec99f902
Co-authored-by: romangolev <67314258+romangolev@users.noreply.github.com>
* Use warning level for forced legacy-loader fallback on old Revit versions
Agent-Logs-Url: https://github.com/pyrevitlabs/pyRevit/sessions/ed0545a9-44ee-41f5-9160-3421e880d4c8
Co-authored-by: romangolev <67314258+romangolev@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: romangolev <67314258+romangolev@users.noreply.github.com>1 parent 496e71b commit fee5860
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
389 | 395 | | |
390 | 396 | | |
391 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
392 | 415 | | |
393 | 416 | | |
394 | 417 | | |
| |||
0 commit comments