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


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

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

Started byLaura Arjona Reina <larjona@debian.org>
First post2022-07-30 15:10 +0200
Last post2022-07-30 15:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromLaura Arjona Reina <larjona@debian.org>
Date2022-07-30 15:10 +0200
SubjectBug#924139: www.debian.org: migrate from python to python3
Message-ID<EOUo9-ePBV-7@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web