Update requirements

Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I57ebccde4c04b1b6b312f152ea778f8ad820b196
This commit is contained in:
Ryan Beisner 2018-10-04 10:47:21 -05:00 committed by David Ames
parent 4c77d1e082
commit 8f83824e2b
5 changed files with 28 additions and 16 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ interfaces
__pycache__ __pycache__
*.pyc *.pyc
.idea .idea
.stestr

View File

@ -1,4 +1,7 @@
# Requirements to build the charm # This file is managed centrally. If you find the need to modify this as a
charm-tools # one-off, please don't. Intead, consult #openstack-charms and ask about
# requirements management in charms via bot-control. Thank you.
#
# Build requirements
charm-tools>=2.4.4
simplejson simplejson
flake8

View File

@ -1,5 +1,7 @@
includes: ['layer:basic', 'layer:apt', 'interface:ceph-mds'] includes: ['layer:basic', 'layer:apt', 'interface:ceph-mds']
options: options:
status:
patch-hookenv: False
apt: apt:
packages: packages:
- python3-pyxattr - python3-pyxattr

View File

@ -1,19 +1,18 @@
# The order of packages is significant, because pip processes them in the order # This file is managed centrally. If you find the need to modify this as a
# of appearance. Changing the order has an impact on the overall integration # one-off, please don't. Intead, consult #openstack-charms and ask about
# process, which may cause wedges in the gate later. # requirements management in charms via bot-control. Thank you.
charm-tools>=2.4.4
coverage>=3.6 coverage>=3.6
mock>=1.2 mock>=1.2
flake8>=2.2.4,<=2.4.1 flake8>=2.2.4,<=2.4.1
os-testr>=0.4.1 os-testr>=0.4.1
charm-tools>=2.0.0 requests>=2.18.4
requests==2.6.0
# amulet deployment helpers
git+https://github.com/juju/charm-helpers#egg=charmhelpers
# BEGIN: Amulet OpenStack Charm Helper Requirements # BEGIN: Amulet OpenStack Charm Helper Requirements
# Liberty client lower constraints # Liberty client lower constraints
amulet>=1.14.3,<2.0 amulet>=1.14.3,<2.0;python_version=='2.7'
bundletester>=0.6.1,<1.0 bundletester>=0.6.1,<1.0;python_version=='2.7'
aodhclient>=0.1.0 aodhclient>=0.1.0
gnocchiclient>=3.1.0,<3.2.0
python-barbicanclient>=4.0.1 python-barbicanclient>=4.0.1
python-ceilometerclient>=1.5.0 python-ceilometerclient>=1.5.0
python-cinderclient>=1.4.0 python-cinderclient>=1.4.0
@ -28,6 +27,7 @@ python-openstackclient>=1.7.0
python-swiftclient>=2.6.0 python-swiftclient>=2.6.0
pika>=0.10.0,<1.0 pika>=0.10.0,<1.0
distro-info distro-info
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
# END: Amulet OpenStack Charm Helper Requirements # END: Amulet OpenStack Charm Helper Requirements
# NOTE: workaround for 14.04 pip/tox pytz # workaround for 14.04 pip/tox
pytz pyudev # for ceph-* charm unit tests (not mocked?)

View File

@ -1,7 +1,13 @@
# Unit test requirements # This file is managed centrally. If you find the need to modify this as a
# one-off, please don't. Intead, consult #openstack-charms and ask about
# requirements management in charms via bot-control. Thank you.
#
# Lint and unit test requirements
flake8>=2.2.4,<=2.4.1 flake8>=2.2.4,<=2.4.1
os-testr>=0.4.1 os-testr>=0.4.1
requests>=2.18.4
charms.reactive charms.reactive
mock>=1.2 mock>=1.2
nose>=1.3.7
coverage>=3.6 coverage>=3.6
git+https://github.com/openstack/charms.openstack#egg=charms.openstack git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack