Skip to content

Commit

Permalink
Sync release-tools
Browse files Browse the repository at this point in the history
In order to fix ResolutionImpossible on tox invocation.

openstack-charmers/release-tools#151
openstack-charmers/release-tools#152

Change-Id: I92c4ec300eae68bfaecb3e12df2fca076981f6bd
  • Loading branch information
lourot committed Jul 22, 2021
1 parent c78ae6f commit 58ca3bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb
# Build requirements
charm-tools==2.8.3

# Workaround until https://github.com/juju/charm-tools/pull/589 gets
# published
keyring<21

simplejson

# Newer versions use keywords that didn't exist in python 3.5 yet (e.g.
Expand Down
6 changes: 0 additions & 6 deletions src/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
# choices of *requirements.txt files for OpenStack Charms:
# https://github.com/openstack-charmers/release-tools
#
# pep8 requirements
charm-tools>=2.4.4

# Workaround until https://github.com/juju/charm-tools/pull/589 gets
# published
keyring<21

# Functional Test Requirements (let Zaza's dependencies solve all dependencies here!)
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
Expand Down
12 changes: 8 additions & 4 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# https://github.com/openstack-charmers/release-tools
#
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
# Lint and unit test requirements
flake8>=2.2.4

stestr>=2.2.0

Expand Down Expand Up @@ -38,10 +36,16 @@ coverage>=3.6
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
#
# Revisit for removal / mock improvement:
#
# NOTE(lourot): newer versions of cryptography require a Rust compiler to build,
# see
# * https://github.com/openstack-charmers/zaza/issues/421
# * https://mail.python.org/pipermail/cryptography-dev/2021-January/001003.html
#
netifaces # vault
psycopg2-binary # vault
tenacity # vault
pbr # vault
cryptography # vault, keystone-saml-mellon
pbr==5.6.0 # vault
cryptography<3.4 # vault, keystone-saml-mellon
lxml # keystone-saml-mellon
hvac # vault, barbican-vault
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ commands = stestr run --slowest {posargs}

[testenv:pep8]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
deps = flake8==3.9.2
charm-tools==2.8.3
commands = flake8 {posargs} src unit_tests

[testenv:cover]
Expand Down

0 comments on commit 58ca3bd

Please sign in to comment.