Repository navigation
Commit 34889fc
fix(build): keep editable version fallback out of wheels
The existing release stamper matches every line containing `__version__ =`.
A comparison with the version variable on the left is also matched, causing
it to replace the placeholder in the new editable-import guard. That would
incorrectly enable the source-tree `VERSION` lookup in a built wheel, which
does not ship that file.
Put the literal on the left of the guard so stamping changes only the public
assignment. Extend the existing isolated installation test to verify public
version parity with the running source checkout.
The isolated installation and version checks pass with both CLI and Gix;
Ruff lint/format and `git diff --check` pass. The full CLI suite also passes:
1,827 passed,162 skipped,1 xfailed and59 passed subtests.1 parent cb7923c commit 34889fc
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments