Skip to content

4-refresh-tools: drop unnecessary pip install #172

In review

Description

@larsvilhuber

The 4-refresh-tools pipeline in bitbucket-pipelines.yml runs pip install -r requirements.txt before tools/update_tools.sh. Neither the refresh nor the final comment step needs it:

  • tools/update_tools.sh is pure shell (wget, unzip, tar, git).
  • automations/70_publish_comment.sh calls tools/jira_add_comment.py, which uses the jira package only if importable and otherwise falls back to the Jira REST API over urllib (standard library only).

Removing the pip install line (and the pip cache) makes the step faster and drops a failure point: a broken or slow PyPI install currently stops the refresh before it starts.

Acceptance criteria

  • 4-refresh-tools no longer installs requirements.
  • The Jira comment still resolves for tickets 10571 and 10400 without the jira package installed (tested with jira_add_comment.py --dry-run in an environment lacking jira).
  • Docs for the pipeline are regenerated (tools/automation_doc_links.py) since line numbers shift.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions