You are not logged in.
After installing the breezy package and running the command
brz init-shared-repo src
I get the following error:
brz: ERROR: No module named 'dulwich'
You may need to install this Python library separately.
...I'm not used to Python, but I'm also not used to packages which require more dependencies after installation for standard functionality.
The command comes from the official Breezy tutorial.
Last edited by whitehorsesoft (2024-05-15 13:52:44)
Offline
Check the optional dependencies.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Does "src " include a git repo? I cannot guess why git should be involved when initiating a brz repo (and I cannot reproduce).
Last edited by Stefan Husmann (2023-03-30 17:20:25)
Offline
I cannot reproduce
I can. As could anyone who didn't already install the optional dependency/ies for other reasons. I gather you already had it installed which is why it worked.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby, you got me. But then I agrre with the OP that at least python-dulwich should be a hard dependency for breezy.
Edit: there is alsready a bug report about this: https://bugs.archlinux.org/task/76977?s … &closedto=
Last edited by Stefan Husmann (2023-04-01 17:20:52)
Offline
This should then be taken upstream as they clearly specify that python-dulwich is not required for basic functionality but is an optional dependency:
https://github.com/breezy-team/breezy/b … er/INSTALL
If basic brz commands are expected to run in the absence of python-dulwich, then it's an upstream bug to fix the tool to meet that expectation.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The bug report was closed as fixed. in pkgrel -3 python-dulwich is a hard dependency.
Offline