Bug 13670 - python3: missing standard library module 'pathlib'
Summary: python3: missing standard library module 'pathlib'
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1.1
Assignee: Tim Orling
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-12-04 06:01 UTC by Tim Orling
Modified: 2020-06-03 17:20 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Orling 2019-12-04 06:01:13 UTC
from pathlib import Path
ModuleNotFoundError: No module named 'pathlib'

https://docs.python.org/dev/library/pathlib.html
Comment 1 Tim Orling 2019-12-04 06:21:04 UTC
pathlib is provided by python3-misc, but this seems like it should be available as a subpackage...
Comment 2 Ross Burton 2019-12-04 13:42:22 UTC
I'd put that into the same package as os.
Comment 3 Ross Burton 2020-01-29 16:33:36 UTC
Tim, you can have this back. :) Easy fix to the manifest, theoretically.
Comment 4 Tim Orling 2020-04-10 18:28:01 UTC
Patch submitted:
https://patchwork.openembedded.org/patch/171870/
Comment 5 Tim Orling 2020-04-15 09:06:37 UTC
The patch was submitted too late for 3.1 release. Bumping to 3.2M1, although it is a fairly safe change to add to 3.1.1