Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic cleanup and setup of Python environment on Jenkins machines #18892

Closed
kennknowles opened this issue Jun 3, 2022 · 0 comments
Closed

Comments

@kennknowles
Copy link
Member

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.

 

Imported from Jira BEAM-4113. Original Jira may contain additional context.
Reported by: udim.

@damccorm damccorm added tests and removed testing labels Jun 16, 2022
@Abacn Abacn closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants