GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
732 stars 209 forks source link

installation error using python 3.12 #1050

Open wolass opened 1 month ago

wolass commented 1 month ago

Installation of bugwarrior depends on readfp which is not available for pythin 3.12...

Therefore I am getting a following error:

AttributeError: 'BugwarriorConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

reference link: https://bugs.launchpad.net/lazr.restfulclient/+bug/2041407

Tested 2 installation options: source and apt package for ubuntu. Tested 2 versions of bugwarrior 1.7 and 1.8

all giving the same error.

What can be done here?

ryneeverett commented 1 month ago

A few options:

  1. Use python<3.12.
  2. Use a development version of bugwarrior from the last 6 months.
  3. Patch bugwarrior-1.8. This shouldn't be very involved. See #1019.