refactor: use pathlib internally
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
- [X] Have you followed the guidelines for contributing?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Change all calls to os.path that are warned PTH lints to use pathlib.Path instead.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
25
Complexity:
35
Confidence:
85
|
needs review | Replaces internal os.path usage with pathlib.Path. Following extensive review and minor API adjustments, the reviewer applied final fixes and merged the changes. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #264 utils: refactor os utils to use pathlib | craft-parts | merged | 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. |