pip install breezy does not install dulwich
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
$ pip install breezy
Collecting breezy
Downloading https:/
100% |██████
Collecting configobj (from breezy)
Downloading https:/
Collecting six>=1.9.0 (from breezy)
Using cached https:/
Building wheels for collected packages: breezy, configobj
Running setup.py bdist_wheel for breezy ... done
Stored in directory: /home/abentley/
Running setup.py bdist_wheel for configobj ... done
Stored in directory: /home/abentley/
Successfully built breezy configobj
Installing collected packages: six, configobj, breezy
Successfully installed breezy-3.0a1 configobj-5.0.6 six-1.11.0
$ cd ssimwave/big
abentley@
brz: ERROR: Unable to import library "dulwich": bzr-git: Please install dulwich, https:/
$ pip install dulwich
Collecting dulwich
Downloading https:/
100% |██████
Collecting urllib3>=1.21 (from dulwich)
Using cached https:/
Collecting certifi (from dulwich)
Using cached https:/
Building wheels for collected packages: dulwich
Running setup.py bdist_wheel for dulwich ... done
Stored in directory: /home/abentley/
Successfully built dulwich
Installing collected packages: urllib3, certifi, dulwich
Successfully installed certifi-2018.8.24 dulwich-0.19.6 urllib3-1.23
$ brz info
brz: ERROR: KeyError: 'cc908f20046b3d
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
verbose=
File "/home/
recommend_
File "/home/
return GitWorkingTree(
File "/home/
self.
File "/home/
self.
File "/home/
type_num, uncomp = self.get_raw(sha)
File "/home/
raise KeyError(hexsha)
KeyError: 'cc908f20046b3d
Related branches
- Martin Packman: Approve
-
Diff: 20 lines (+6/-2)1 file modifiedsetup.py (+6/-2)
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 3.0.0 |
Changed in brz: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Triaged → Fix Committed |
Changed in brz: | |
status: | Fix Committed → Fix Released |
So "pip install breezy[git]" will install Dulwich as well. Perhaps it makes sense to just always install Dulwich so things work out of the box. mgz, do you have thoughts?
It looks like there is a good way to set a default set of extras that users can opt out of: https:/ /github. com/pypa/ setuptools/ issues/ 1139