Removed pathlib dependency in bundle module
What does this MR do?
This MR removes the dependency to pathlib
for the bundle module.
pathlib was used to check if a directory was a parent of another directory or file.
An alternative which doesn't use pathlib
is now used.
Author's checklist
-
Follow the Contribution Guidelines. -
Apply the appropriate labels.
Reviewer's checklist
All reviewers can help ensure accuracy, clarity, completeness, and adherence to the Contribution Guidelines.
Reviewer
-
Review by a code reviewer or other selected colleague to confirm accuracy, clarity, and completeness. This can be skipped for minor fixes without substantive content changes.
Maintainer
-
Review by assigned maintainer, who can always request/require the above reviews. -
Ensure a release milestone is set.