Project

General

Profile

Support #23166

Feature #22470: Use of Python constructs when possible to help context managers to properly manage resources.

Apply the TODOs from #22470 related to "with statement" compatibility

Added by Lorena Lobato Pardavila 9 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
08/23/2019
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

We detected several problems with statement and some of the functions, mostly when managing tarballs and obsolete libraries.

For sl7 the changes done #22470 were reverted (obsolete libraries)but it seems for sl6 there is more work. The reason is that some of the with statement compatibilities were introduced in 2.7 and we have python 2.6 there in sl6.

Since we’re gonna get rid of tarballs (#20033: Should tarballs installations be supported?), changes done related to tarballs or gzip in #22470 will be reverted. Several TODO was added for the future ( when we finally get rid of SL6 and tarballs).

To do: Review all the TODO comments added in v35/22470 and update all the changes.

History

#1 Updated by Lorena Lobato Pardavila 8 months ago

  • Target version set to v3_6_2

#2 Updated by Lorena Lobato Pardavila 8 months ago

  • Assignee deleted (Lorena Lobato Pardavila)

#3 Updated by Marco Mambelli 5 months ago

  • Target version changed from v3_6_2 to v3_6_3

#4 Updated by Marco Mambelli about 2 months ago

  • Target version changed from v3_6_3 to v3_6_2
  • Status changed from New to Closed

This ticket has been replaced by [#24292] subjected to the dropping of python 2.6.
NOTE that the tarball installation dropping is not eliminating the use of the tar library. Tarballs are built for the support of worker nodes.

#5 Updated by Marco Mambelli about 2 months ago

  • Assignee set to Marco Mambelli


Also available in: Atom PDF