utils: refactor os utils to use pathlib
Metadata
Current evaluation
Merged refactoring that updates get_bin_paths, get_include_paths, and get_library_paths to use pathlib. Approved by one reviewer, passed CI checks, and modified two files.
Suggested action: —
No scores available.
Issue body
Update `get_bin_paths()`, `get_include_paths()`, `get_library_paths()`
to use pathlib.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged refactoring that updates get_bin_paths, get_include_paths, and get_library_paths to use pathlib. Approved by one reviewer, passed CI checks, and modified two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged refactoring of get_bin_paths, get_include_paths, and get_library_paths to use pathlib. Maintainer Claudio Matsuoka authored the change, which was applied directly without comments or revisions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1424 refactor: use pathlib internally | craft-parts | merged | Merged. Replaced deprecated os.path calls with pathlib.Path across 95 files. Maintainer applied a final patch to resolve a Snapcraft test failure, avoiding an API break. All CI checks passed prior to merge. |