public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* First results from running build without python2
@ 2021-08-03 11:31 Adolf Belka
  2021-08-03 15:11 ` Michael Tremer
  0 siblings, 1 reply; 23+ messages in thread
From: Adolf Belka @ 2021-08-03 11:31 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

Hi All,

So with crda and the remaining python2 modules removed the question was if removing python2 from the build ran without any problem or if something was flagged up.


ca-certificates was flagged up.

There is a python2 script, certdata2pem.py, which fails if python2 is not present. Running that script with python3 flags up some invalid syntax, unsurprisingly.

I found some patches in Debian from 2015 for certdata2pem.py to provide python3 compatibility. Unfortunately looking at the patch approx half could not be applied because the lines don't exist in the IPFire version of certdata2pem.py (sections to do with blacklisted certs)

I then ran the 2to3 converter on certdata2pem.py and tried that in the build but it came up with the following error.

TypeError: a bytes-like object is required, not 'str'


I don't know how to further move forward with this as I am totally unfamiliar with the python language.


Regards,

Adolf.



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2021-08-23 10:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 11:31 First results from running build without python2 Adolf Belka
2021-08-03 15:11 ` Michael Tremer
2021-08-03 21:38   ` Adolf Belka
2021-08-04 11:40     ` Adolf Belka
2021-08-04 14:45       ` Michael Tremer
2021-08-07 13:54         ` Adolf Belka
2021-08-08 12:47           ` Adolf Belka
2021-08-11 10:43             ` Michael Tremer
2021-08-11 14:03               ` Adolf Belka
2021-08-12  9:17                 ` Michael Tremer
2021-08-12 11:36                   ` Adolf Belka
2021-08-12 12:10                     ` Adolf Belka
2021-08-12 13:38                       ` Michael Tremer
2021-08-12 19:23                         ` Adolf Belka
2021-08-12 19:30                           ` Adolf Belka
2021-08-18 21:08                             ` Adolf Belka
2021-08-19 13:54                               ` Michael Tremer
2021-08-19 16:28                                 ` Adolf Belka
2021-08-19 20:54                                   ` Adolf Belka
2021-08-20 10:17                                     ` Adolf Belka
2021-08-20 16:38                                       ` Michael Tremer
2021-08-20 20:17                                         ` Adolf Belka
2021-08-23 10:36                                           ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox