Project

General

Profile

Support #24936

Add a tool to check python expressions in the frontend configuration for Python 3 compatibility

Added by Marco Mambelli 7 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Frontend
Target version:
Start date:
09/09/2020
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Python expressions like the match expressions are compiled in the frontend.
These will have to be python 3 compliant (e.g. no .has_key(), // as integer division, ...)

A tool proofing the Frontend configuration would help Frontend operators

History

#1 Updated by Marco Mambelli 7 months ago

  • Target version changed from 2122 to v3_9_1

#2 Updated by Bruno Coimbra about 2 months ago

  • Assignee set to Marco Mambelli
  • Status changed from New to Feedback

I implemented a tool to check match expressions and policy files for compatibility with Python 3.
Additionally, I made changes to the reconfig_frontend script so it calls the new tool during reconfiguration.

This link has a good configuration file to test 2to3 suggestions:
https://gitlab.cern.ch/CMSSI/cmsgwms-frontend-configurations/-/blob/fnal/global/frontend.xml

Changes at v36/24936

#3 Updated by Marco Mambelli about 2 months ago

  • Assignee changed from Marco Mambelli to Bruno Coimbra

#4 Updated by Bruno Coimbra about 2 months ago

  • Status changed from Feedback to Resolved

Changes merged on branch_v3_9

#5 Updated by Marco Mambelli about 1 month ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF