tox runs are not using upper-constraints

Bug #1828698 reported by Matt Riedemann
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Matt Riedemann

Bug Description

As seen here:

the py27 job fails because it's installing a too-high version of sphinx which doesn't support py27:

Collecting sphinx!=1.6.6,!=1.6.7,>=1.6.5 (from -r /home/zuul/src/ (line 12))
  Downloading (3.2MB)
ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.15

Matt Riedemann (mriedem)
Changed in python-watcherclient:
status: New → Confirmed
Revision history for this message
Matt Riedemann (mriedem) wrote :
Changed in python-watcherclient:
status: Confirmed → In Progress
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-watcherclient (master)

Submitter: Zuul
Branch: master

commit 2cab116e305b798dc5c5e3b97528c78e9cfb77f4
Author: Matt Riedemann <email address hidden>
Date: Sat May 11 18:45:44 2019 -0400

    Use upper-constraints in tox runs

    The upper-constraints file wasn't being enforced
    when installing dependencies in tox runs which can
    lead to failures like installing Sphinx>2.0 in py27
    where it's not supported.

    This is loosely based on novaclient change
    I8be883215f27abb58d15b85e8542cbdf32000bac for the
    same kind of issue.

    Note there are other things that should be done
    in here regarding requirements cleanup, like the
    sphinx dependnecies should move to a
    doc/requirements.txt file to separate them from
    unit test runs, but that can be dealt with in a
    follow up change.

    Change-Id: I359a35af5b653299110a8d0faddb255da0b10118
    Closes-Bug: #1828698

Changed in python-watcherclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-watcherclient 2.3.0

This issue was fixed in the openstack/python-watcherclient 2.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.