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-103 False positives reported by pip_check_requirements_upgrades.sh script (backport to 1.5)
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    1.5.1
  • 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 (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    1 hour
  • Time spent
    No time spent
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Often
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description

Depending on the packages that are part of pip requirements and input files, pip_check_requirements_upgrades.sh may end-up reporting false positives. This happens due to the fact that script does not perform sorting on both input files (current and newly generated requirements files).

Steps to reproduce this issue

Reproduction steps:

  1. Set-up and activate virtual environment with pip-tools installed

  2. Create requirements.in with the following content:

    django~=1.8.0
    django-auth-ldap
    django-apptemplates
    MySQL-python
    wiki
    pygments
  3. Generate requirements.txt:

    pip-compile requirements.in
  4. Run pip_check_requirements_upgrades.sh against the generated files.

Expected results:

  1. Script reports that no upgrades are available.

Actual results:

  1. Script reports that upgrades are available, showing a diff where position of the django entry has changed.
Todos (0 / 0)
There are no comments