Commit b5e6997
authored
Fix error on inline comments in Python dependencies (#708)
It appears that the distlib parsing function we're using here can't
handle inline comments and raises a syntax error. After digging into the
setuptools sources, it appears that these comments are dropped between
parsing the file and parsing the individual dependencies, so we can do
the same.1 parent 7230e18 commit b5e6997
File tree
2 files changed
+7
-0
lines changed- colcon_core/package_augmentation
- test
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
0 commit comments