[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944345: Migration to buster + python3 of micronews: feedgenerator, feedparser

Package: press
Severity: normal
X-Debbugs-CC: debian-publicity@lists.debian.org

Dear all

dillon.debian.org, the Debian machine that provides bits.debian.org and
micronews.debian.org (among other services) has been migrated to Debian 10 buster.

Now, when trying to build micronews (make mpublish), I get an error:

  File "./create_extra_feeds.py", line 10, in <module>
    from feedgenerator import Atom1Feed
ImportError: No module named feedgenerator

I see that python3-feedgenerator is installed, but python-feedgenerator is not.

In my local machine with buster I have both packages installed and I can build
micronews; I have checked that if I remove python-feedgenerator I can reproduce
the issue.

So one temporary solution to this is to ask python-feedgenerator to be installed
in dillon.

OTOH, we should try to migrate our services to python3 (see mail about this in [1]).

[1] https://lists.debian.org/debian-services-admin/2019/10/msg00000.html

I think that python2 is only used in the create_extra_feeds.py file in
micronews, and that file uses both feedgenerator (only python3 version installed
in dillon, currently) and feedparse (only python2 version installed in dillon,
currently). So other solution could be to migrate the script to python3, and
then ask to install python3-feedparser in dillon. Once this is done, we would
not need python-feedgenerator anymore.

Do you think the migration is easy, or should I ask for the temporary solution
for now?

Note: I see that python-feedparser is installed because it's listed as
dependency for bits.debian.org service:

I didn't find a micronews entry in that file. We probably need to review also
bits.debian.org python2/python3 usage, and update the control file accordingly
(for both services).

Kind regards,
Laura Arjona

Reply to: