control: -1 tags +pending On Sun, Jun 10, 2018 at 07:30:32AM +0200, Carsten Schoenert wrote: > Package: git-buildpackage > Version: 0.9.9 > Severity: normal > > Hello Guido, > > I was trying to use 'gbp create-remote-repo' again after a long time but > this was failing with a import error due the line 'import urllib' in > create_remote_repo.py. > > $ gbp create-remote-repo > --remote-url-pattern="[email protected]:my-team/%(pkg)s" --remote-name=myrepo > Traceback (most recent call last): > File "/usr/bin/gbp", line 149, in <module> > sys.exit(supercommand()) > File "/usr/bin/gbp", line 145, in supercommand > return module.main(args) > File "/usr/lib/python3/dist-packages/gbp/scripts/create_remote_repo.py", > line 395, in main > retval = do_create(options) > File "/usr/lib/python3/dist-packages/gbp/scripts/create_remote_repo.py", > line 317, in do_create > options.bare) > File "/usr/lib/python3/dist-packages/gbp/scripts/create_remote_repo.py", > line 77, in parse_url > frags = urllib.parse.urlparse(remote_url) > AttributeError: module 'urllib' has no attribute 'parse'
Note that this only triggers on packages without a changelog (otherwise the tests would have catched this) so it's one of the subtle breackages that happen when switching to Python3. -- Guido

