Commit fb4331b
Ensure built appose environments use newest appose
Normally, when building an environment in-line with uv -- i.e. with
include rather than a separate environment file -- the most recent
*release* version of appose will be used.
But in case there have been changes to the appose.python_worker here,
we'd like to be running our tests against this same *dev* version of
appose, rather than the older release version.
One way of encouraging that without making the appose builder logic
more complex is to inject the local appose source tree into the
built environment via a PYTHONPATH environment variable override.
Then this source tree will take precedence over the installed appose.
This commit adds a new source_override() helper function to test_base
so that tests needing it can do this with a single function call.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 736ecb5 commit fb4331b
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
126 | 146 | | |
127 | 147 | | |
128 | 148 | | |
| |||
0 commit comments