Commit 36bdab6
fix: pandas 3.0.0 migration for first_package_finder.py (#4721)
Fixed regressions in
`vulnfeeds/tools/debian/debian_converter/first_package_finder.py` caused
by the upgrade to pandas 3.0.0.
The changes address:
1. `ChainedAssignmentError`: Triggered by `fillna(..., inplace=True)`.
2. `TypeError: len() of unsized object`: Triggered when assigning
complex objects (lists/dicts) to a column inferred as string.
3. Added a TODO as requested by the user.
---
*PR created automatically by Jules for task
[6091018439503875167](https://jules.google.com/task/6091018439503875167)
started by @another-rex*
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent dbce03c commit 36bdab6
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
0 commit comments