Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1111462

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

From Laura Arjona Reina <larjona@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.www
Subject Bug#924139: www.debian.org: migrate from python to python3
Date 2022-07-30 15:10 +0200
Message-ID <EOUo9-ePBV-7@gated-at.bofh.it> (permalink)
References <xzRex-1nL-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello

thanks everybody for the work and sorry to get to this so late.

I think that currently our Python2 code is in these files:

Webwml repo:

./english/mirror/timestamps/archive_mirror_check.py
./english/mirror/timestamps/mirror_check.py

Cron repo:

/urlcheck/test.py
/urlcheck/urlcheck.py

I'll try to apply the patch 
[0002-Python-scripts-modify-to-use-Python3-syntax.patch] that Carsten 
provided and do some tests, and that would cover the webwml repo.

For the cron repo, I tried to pass the 2to3 tool and follow the 
instructions but had some issues and couldn't complete the migration. 
I'll do another try during this weekend and post here my results, but if 
anybody is familiarised with Python coding, any help is appreciated.

Kind regards

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#924139: www.debian.org: migrate from python to python3 Laura Arjona Reina <larjona@debian.org> - 2022-07-30 15:10 +0200

csiph-web