[Python-apps-team] Bug#948831: ImportError: No module named cachecontrol

Anthony Fok foka at debian.org
Sun Feb 23 15:13:32 GMT 2020


Control: tags -1 + pending

Hi Ian and all,

On Sun, 23 Feb 2020 14:09:20 +0000 Ian Jackson
<ijackson at chiark.greenend.org.uk> wrote:
> Apparently pydoctor, which is used to format some API documentation
> for git-buildpackage, wants cachecontrol.  Which was removed from the
> archive.
>
> I am getting autoremoval warnings because my package depends on
> git-buildpackage (which it runs, as a command line program).

I'm in the same boat here.  I was perplexed to find out that my
beloved dh-make-golang was pending removal from testing due to its
dependency on git-buildpackage.

> At least the pydoctor python3 port is in progress:
>   https://github.com/twisted/pydoctor/issues/96

And, according to upstream, it should mostly work under Python 3.

> Is anyone going to be trying to fix pydoctor in sid soon ?

So yes, I went ahead and did just that:

pydoctor (19.11.0+git20200114.c74016b-1) unstable; urgency=medium

  * Team upload.
  * New upstream version 19.11.0+git20200114.c74016b
  * debian/watch: Track HEAD on GitHub for now for python3 compatibility.
  * Apply "cme fix dpkg" fixes:
    - Bump Standards-Version to 4.5.0 (no change)
    - Reformat debian/control for easier human reading
    - Change license shortname "MIT" to "Expat" in debian/copyright
  * Remove dependency on python-nevow which upstream has stopped using
    since 2013.
  * Switch to Python 3, and rename binary package to pydoctor
    because it is a Python application and not used as a module.
    Also add explicit dependency on python3-lockfile as recommended
    by Andrej Shadura. (Closes: #937421, #948831, #949232)
  * debian/rules: Change "dh $*" to "dh $@" (Lintian I: no-dh-sequencer)

 -- Anthony Fok <foka at debian.org>  Sun, 23 Feb 2020 07:34:00 -0700

https://salsa.debian.org/python-team/applications/pydoctor

Due to the binary package rename, it will have to go through the NEW
queue again.  Hope I didn't introduce any new bugs.  ;-)

Guido, when you update git-buildpackage next time, could you please
change "Build-Depends: python-pydoctor" to just "pydoctor"?  Many
thanks!

Cheers,
Anthony



More information about the Python-apps-team mailing list