You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Udi Meiri (JIRA)" <ji...@apache.org> on 2018/04/18 01:51:00 UTC

[jira] [Commented] (BEAM-4113) Periodic cleanup and setup of Python environment on Jenkins machines

    [ https://issues.apache.org/jira/browse/BEAM-4113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441756#comment-16441756 ] 

Udi Meiri commented on BEAM-4113:
---------------------------------

Note that I'm adding automatic upgrades of pip and virtualenv in [https://github.com/apache/beam/pull/5162,] and that code should be removed in favor of the script described here.

> Periodic cleanup and setup of Python environment on Jenkins machines
> --------------------------------------------------------------------
>
>                 Key: BEAM-4113
>                 URL: https://issues.apache.org/jira/browse/BEAM-4113
>             Project: Beam
>          Issue Type: Improvement
>          Components: testing
>            Reporter: Udi Meiri
>            Assignee: Jason Kuster
>            Priority: Major
>
> Instead of having Python testing scripts tidy up the environment every time they run, let's have a single script that runs once per day and does:
>  # Check if pip is installed under ~/.local and is the expected version. If not, install the correct version.
>  # Same as above, but for virtualenv.
>  # Print a list of packages installed under ~/.local.
>  # Optional: Uninstall any unexpected packages under ~/.local. For example, apache-beam shouldn't be installed under ~/.local, since 2 concurrent tests on the same machine will attempt to install to the same location.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)