Commit eb03c34
committed
Fix version detection for pre-release versions
Pre-release versions like 0.3.0rc2 were incorrectly identified as <
0.3.0 due to PEP 440 semantics, causing the server to use a module path
without a __main__ entry point. This resulted in containers exiting
immediately with code 0.
Use base_version for comparison to ignore pre-release suffixes
Signed-off-by: Derek Higgins <[email protected]>1 parent 6806c3f commit eb03c34
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | | - | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
0 commit comments