-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Deprecated depedency imp and pathtools #15555
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingcommunity-requestneeds-follow-upIssue needs follow-upIssue needs follow-up
Description
Describe the bug
uv add nemo-toolkit[all]
× Failed to build `pathtools==0.1.2`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
ModuleNotFoundError: No module named 'imp'
hint: This error likely indicates that `pathtools@0.1.2` depends on `imp`, but doesn't declare it as a build dependency. If `pathtools` is a first-party package, consider adding `imp` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
[tool.uv.extra-build-dependencies]
pathtools = ["imp"]
Steps/Code to reproduce bug
Try to install nemo with python 3.14 (prob also 3.12). This error appears because imp is deprecated and was removed from python 3.12
Expected behavior
it should install, get rid of dep. imports.
Environment overview (please complete the following information)
- ubuntu 24.04
- latest nemo
- python 3.14
Environment details
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
Additional context
Add any other context about the problem here.
Example: GPU model
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcommunity-requestneeds-follow-upIssue needs follow-upIssue needs follow-up