Commit c8bf5fe
committed
Fix Windows path separator issue in constraints reference
On Windows, os.path.relpath() returns paths with backslashes,
but pip expects forward slashes in constraint file references.
This commit normalizes all constraint paths to use forward slashes
by adding .replace("\\", "/") after path calculation.
This fixes CI test failures on Windows and macOS platforms.
Related to #22 and #251 parent c5071cd commit c8bf5fe
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | | - | |
282 | | - | |
| 284 | + | |
| 285 | + | |
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
| |||
0 commit comments