Why we have to satisfy dependency on modules we don't use?
See original GitHub issueI didn’t look into the code to see why the engine import module has to happen, but If I don’t have taskw enabled I shouldn’t have to get taskw python from random AUR repository, it’s not in official arch repos.
./bumblebee-status
Traceback (most recent call last):
File "./bumblebee-status", line 74, in <module>
main()
File "./bumblebee-status", line 46, in main
inp=inp,
File "/home/frdm/.config/bumblebee-status/bumblebee/engine.py", line 142, in __ini
self._aliases = self._read_aliases()
File "/home/frdm/.config/bumblebee-status/bumblebee/engine.py", line 219, in _read
mod = importlib.import_module("bumblebee.modules.{}".format(module["name"]))
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/frdm/.config/bumblebee-status/bumblebee/modules/taskwarrior.py", line
from taskw import TaskWarrior
ModuleNotFoundError: No module named 'taskw'
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Should you specify Node.js built-in modules as “dependencies?”
1 Answer 1 ... No you do not need to add them to your dependencies, and you should not add them to your...
Read more >Dependency Managers Don't Manage Your Dependencies
Analyze dependencies. First, we need to get an understanding of what kind of packages are in our node_modules folders. We'll analyze our ...
Read more >version do not work together with puppet module install
I am using puppet version 3.7.5. I tried to run the following command: [root@dvcm puppetmaster]# puppet module install --ignore-dependencies ...
Read more >cmd/go: satisfy import by adding require of available ... - GitHub
I feel that the require with a real version requirement is still neccessary if both modules may be required by a third. Otherwise,...
Read more >How To Use Node.js Modules with npm and package.json
Packages that are used for the development of a project but not for building or running it in production are called development dependencies....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good question, frankly speaking: I’m not aware that anything the tool is doing depends on a specific Font Awesome version, so if you system supports Font Awesome 5, you should be able to use it in your themes.
oh, that is a pretty bad bug. will fix that in the engine, sorry for that!
Sent from TypeApp
On Feb 1, 2018, 11:05, at 11:05, “Antonín Dach” notifications@github.com wrote: