You are not logged in.

#1 2023-03-30 14:53:32

whitehorsesoft
Member
Registered: 2017-09-20
Posts: 22

[SOLVED] Using breezy package

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

#2 2023-03-30 14:55:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Using breezy package

Check the optional dependencies.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-03-30 16:55:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Using breezy package

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

#4 2023-03-30 21:14:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Using breezy package

Stefan Husmann wrote:

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

#5 2023-04-01 06:30:11

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Using breezy package

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

#6 2023-04-01 13:17:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Using breezy package

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

#7 2023-04-01 17:22:00

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Using breezy package

The bug report was closed as fixed. in pkgrel -3 python-dulwich is a hard dependency.

Offline

Board footer

Powered by FluxBB