Majic Projects
Majic Ansible Roles
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Majic Ansible Roles / Closed Bug report MAR-193 Python requirements update checks produce unnecessary warning e-mails about --strip-extras
Go to the next issue (open or closed)
Go to the next open issue
There are no more issues in that direction.
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    8.0.0
  • Status
    Closed
  • Progress
  • Priority
    Needs to be fixed
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    1 hour
  • Time spent
    1 hour
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Not determined
  • Severity
    Low
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

When using the mechanism for checking for available package updates for Python requirements files, the relevant script will send out notifications to system administrator that contain no package update notifications, and instead contain a number of warnings about deprecations in the pip-tools package (namely the --strip-extras option).

This produces excess mail that will also have tendency to reduce ability to catch actionable items.

The following should be done:

  • Update the common role.
    • Use the --strip-extras option when invoking the pip-compile for Python requirements update checks (if available).
  • Update role reference documentation.
  • Update release notes.
Steps to reproduce this issue

Reproduction steps:

  1. Set-up a server using the common role.

  2. Wait for server to perform package updates checks (usually one day).

  3. Verify that mail notification has been sent with available package updates for requirements-checking virtual environment itself.

  4. Update the pip_check_requirements and pip_check_requirements_py3 common role parameters with reported updates and deploy changes to server.

  5. Wait for server to perform package updates checks (usually one day).

  6. Verify that no mail notification has been sent with available package updates for requirements-checking virtual environment itself.

Expected results:

  1. Mail with package update notifications is sent in step (3).

  2. Mail with package update notifications is not sent in step (6).

Actual results:

  1. Mail with package update notifications is sent in step (3).

  2. Mail with package update notifications is sent in step (6). The mail contains only warnings about deprecation happening in the pip-tools package.

Todos (0 / 0)
There are no comments