Bug#924139: www.debian.org: migrate from python to python3

Cyril Brulebois <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <155216453371.22437.17962599159592959158.reportbug__3310.7789977052$1552164682$gmane$org@armor.home>
Package: www.debian.org
Severity: normal
User: [email protected]
Usertags: scripts

Hi,

While working on rebuilding the website within stretch and buster, I've
noticed the following.

There are a couple of scripts that rely on Python at the moment:

    $ find -name '*.py'|sort
    ./cvsup.py
    ./english/mirror/timestamps/archive_mirror_check.py
    ./english/mirror/timestamps/mirror_check.py
    ./english/security/oval/generate.py
    ./english/security/oval/oval/__init__.py
    ./english/security/oval/oval/definition/__init__.py
    ./english/security/oval/oval/definition/differ.py
    ./english/security/oval/oval/definition/generator.py
    ./english/security/oval/oval/parser/__init__.py
    ./english/security/oval/oval/parser/dsa.py
    ./english/security/oval/oval/parser/wml.py

It might be possible to get rid of the first one after the CVS→Git
migration, but others might need to get ported to Python 3 at some
point, as Python 2 is on the way out.

The debian.org metapackage for the website will need to get updated
accordingly during/after the migration.


Cheers,
-- 
Cyril Brulebois ([email protected])            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.