Skip to content

Commit

Permalink
Fix ResolutionImpossible on tox invocation
Browse files Browse the repository at this point in the history
Closes #151
  • Loading branch information
lourot committed Jul 22, 2021
1 parent 91b1b2b commit f3f650b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 24 deletions.
2 changes: 1 addition & 1 deletion global/classic-zaza/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# requirements. They are intertwined. Also, Zaza itself should specify
# all of its own requirements and if it doesn't, fix it there.
#
pbr>=1.8.0,<1.9.0
pbr==5.6.0
simplejson>=2.2.0
netifaces>=0.10.4

Expand Down
8 changes: 1 addition & 7 deletions global/classic-zaza/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
# all of its own requirements and if it doesn't, fix it there.
#
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
charm-tools>=2.4.4

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

requests>=2.18.4

Expand All @@ -21,7 +16,6 @@ requests>=2.18.4
mock>=1.2,<4.0.0; python_version < '3.6'
mock>=1.2; python_version >= '3.6'

flake8>=2.2.4
stestr>=2.2.0

# Dependency of stestr. Workaround for
Expand All @@ -42,7 +36,7 @@ oslo.utils<=3.41.0;python_version<'3.6'

coverage>=4.5.2
pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking)
git+https://github.com/openstack-charmers/zaza.git#egg=zaza;python_version>='3.0'
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack

# Needed for charm-glance:
Expand Down
4 changes: 2 additions & 2 deletions global/classic-zaza/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ deps = -r{toxinidir}/requirements.txt

[testenv:pep8]
basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
deps = flake8==3.9.2
charm-tools==2.8.3
commands = flake8 {posargs} hooks unit_tests tests actions lib files
charm-proof

Expand Down
4 changes: 0 additions & 4 deletions global/source-zaza/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 global/source-zaza/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
4 changes: 1 addition & 3 deletions global/source-zaza/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 @@ -47,7 +45,7 @@ git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
netifaces # vault
psycopg2-binary # vault
tenacity # vault
pbr # vault
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 global/source-zaza/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 f3f650b

Please sign in to comment.