Closed jnsgruk closed 3 years ago
I don't know how this could have happened because the dependency isn't pinned and charmcraft on PyPI is 1.0.0. That said, I think we want to treat charmcraft the same way we do the Juju client and just use the snap. Thus, the dependency would be removed and shifted to charmed-kubernetes/actions-operator.
Yeh, I agree, pretty weird!
I confirmed that it tries to use 1.0.0 and below and for some reason will only accept 0.7.0. My best guess is a dependency version conflict between libjuju and charmcraft after 0.7.0, since libjuju has some more restrictive dependency specifications but I'm really not sure and couldn't find the actual conflict. Regardless, I think it's better to switch to the snap than keep trying to track this down.
Was doing some testing with
pytest-operator
andtox
earlier today and noticed that it pulls in version0.7.0
ofcharmcraft
rather than the latest1.0.0
.This is my tox env:
And contents of venv:
Thanks! :)