Commit 63841ec
committed
fix: work around version parsing by only parsing if site-packages is enabled (#3031)
There's a bug in the version string parser that doesn't handle local
identifiers correctly.
Thankfully, it's only activated in the experimental code path when site
packages for
libraries is eanbled. Moving the logic within that block works around
it.
Work around for
#3030
(cherry picked from commit aab2650)1 parent a1ca1da commit 63841ec
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
244 | | - | |
| 243 | + | |
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments