Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c7n-azure version conflict on adal package #2695

Closed
thisisshi opened this issue Aug 2, 2018 · 4 comments
Closed

c7n-azure version conflict on adal package #2695

thisisshi opened this issue Aug 2, 2018 · 4 comments

Comments

@thisisshi
Copy link
Member

thisisshi commented Aug 2, 2018

getting the following error when running off of master:

Traceback (most recent call last):
  File "/cloud-custodian/bin/custodian", line 11, in <module>
    load_entry_point('c7n', 'console_scripts', 'custodian')()
  File "/cloud-custodian/c7n/cli.py", line 357, in main
    command(config)
  File "/cloud-custodian/c7n/commands.py", line 55, in _load_policies
    load_resources()
  File "/cloud-custodian/c7n/resources/__init__.py", line 96, in load_resources
    resources.load_plugins()
  File "/cloud-custodian/c7n/registry.py", line 109, in load_plugins
    f = ep.load()
  File "/cloud-custodian/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2320, in load
    self.require(*args, **kwargs)
  File '/cloud-custodian/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2343, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/cloud-custodian/lib/python3.6/site-packages/pkg_resources/__init__.py", line 782, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (adal 0.5.1 (/cloud-custodian/lib/python3.6/site-packages), Requirement.parse('adal<2.0.0,>=0.6.0'), {'msrestazure'})

@stefangordon @aluong

@ewbankkit
Copy link
Collaborator

ewbankkit commented Aug 2, 2018

It looks like version 0.5.0 of msrestazure was released today. This may well be the cause of the conflict.

@thisisshi
Copy link
Member Author

Yup, @erwelch's PR here: #2696 should fix, there are some test failures on the gcp side as well, looks like the newest gcp python client is causing the failures

@kapilt
Copy link
Collaborator

kapilt commented Aug 3, 2018

merged the azure fix branch, I'll look at the gcp stuff if someone doesn't beat me to it.

@thisisshi
Copy link
Member Author

Resolved via #2696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants