Commit be16846
committed
Fix local file sub-dependencies not being recorded in lockfile
When a package (A) installed from a local path depends on another
package (B) also installed from a local path, the sub-dependency (B)
was not being properly recorded in Pipfile.lock. The lockfile entry
for B would be empty ({}) instead of containing the file/path info.
This fix:
- Differentiates between local directories (use 'path') and archive
files (use 'file') for file:// URLs
- Converts file:// URLs to relative paths for local directories
- Removes version and index entries for file/path dependencies
- Preserves the editable flag if set
Fixes #61191 parent 9411b68 commit be16846
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
90 | 107 | | |
91 | 108 | | |
92 | 109 | | |
| |||
0 commit comments