Skip to content

Commit

Permalink
Add gnocchiclient constraints to global pins
Browse files Browse the repository at this point in the history
In order to ensure that the correct version of
gnocchiclient is built on the repo server, the
global pin is set. This does away with the need
for a deployer to set the upper constraint
override themselves.

Closes-Bug: #1670632
Change-Id: Id7751934aaab36558115748819e2aadeb483a75e
  • Loading branch information
Jesse Pretorius committed May 22, 2017
1 parent 3c78cd2 commit 3c47742
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions global-requirement-pins.txt
Expand Up @@ -5,6 +5,13 @@
#
# Use this file with caution!
#

# Due to https://bugs.launchpad.net/ceilometer/+bug/1660800, gnocchiclient
# must be pinned to < 3.0.0. This constraint matches what is defined in
# the optional dependencies specified here:
# https://github.com/openstack/ceilometer/blob/stable/newton/setup.cfg#L36
gnocchiclient>=2.2.0,<3.0.0

###
### These are pinned to ensure exactly the same behaviour forever! ###
### These pins are updated through the sources-branch-updater script ###
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/gnocchiclient-fix-793d71eb9d8eb738.yaml
@@ -0,0 +1,6 @@
---
fixes:
- The workaround of requiring the addition of gnocchiclient
to the ``repo_build_upper_constraints_overrides`` variable
is no longer required. The appropriate constraints have
been implemented as a global pin.

0 comments on commit 3c47742

Please sign in to comment.