Project

General

Profile

Actions

Bug #5950

closed

A few projects still expect python2 to be installed for running tests

Added by osmith about 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
-
Start date:
03/20/2023
Due date:
% Done:

100%

Spec Reference:

Description

For #5949 I'm upgrading master-* jobs to use debian 11 instead of debian 10. I've tried to run the builds without python2 first, but this doesn't work with all jobs yet:

checking for python2... no
configure: error: Please install python2 to run the VTY/CTRL tests.
Projects:
  • osmo-e1-recorder
  • osmo-smlc
  • openbsc (do we still care at this point?)

I've already spent more time than expected on the issues that lead up to this, so I'll just add python2 to the debian-bullseye-jenkins container and leave this as future reference.

Actions #1

Updated by fixeria 10 months ago

  • % Done changed from 0 to 60

https://gerrit.osmocom.org/c/osmo-smlc/+/33758 configure.ac: migrate from python2 to python3
https://gerrit.osmocom.org/c/osmo-e1-recorder/+/33759 configure.ac: migrate from python2 to python3

Actions #2

Updated by fixeria 10 months ago

openbsc can be easily migrated to python3, at least the CTRL/VTY tests part of it.
However, there are several python scripts in contrib/, which need to be ported to python3.

Actions #3

Updated by osmith 9 months ago

  • % Done changed from 60 to 90

fixeria wrote in #note-2:

openbsc can be easily migrated to python3, at least the CTRL/VTY tests part of it.
However, there are several python scripts in contrib/, which need to be ported to python3.

Thanks for submitting the patches!

openbsc: https://gerrit.osmocom.org/c/openbsc/+/33769 (temporarily removed the read-only flag in gerrit for this)

Actions #4

Updated by osmith 9 months ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)