-
Notifications
You must be signed in to change notification settings - Fork 334
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
Collection fails with python 3.8 #139
Comments
@UnwashedMeme This is because the time module in python3.8 does not have a clock attribute. I will report this problem to the development team due to incompatible versions. You can use python3.6 for the time being. Thank you! |
Using python 3.6 is problematic for Mac users using homebrew (or simply impossible? I haven't figured out it yet). homebrew has packages for ansible 2.9.9 and ansible 2.8.12. Both of them have explicit dependency on python@3.8 😞 |
Yes, I am sorry to cause you trouble, I will advance the problem resolution as soon as possible, thank you! |
Same problem :'( |
+1 We've hit this with the Azure DevOps Ubuntu 20.04 agent
|
How is this still a @Fred-sun, this has already been solved, the solution is upgrading azure API dependencies, not rewrite all ansible modules. |
@uda Because it is not caused by ansible-collection, but other reasons, so mark it as medium_priority. Which dependency package needs to be upgraded? Can you list them? Thank you!。 |
@Fred-sun from the original issuer's words:
And I mentioned it in ansible's issue: ansible/ansible#67473 (comment) |
@uda Yes, I ignored this, I will update the ansible_collection dependency package as soon as possible to close this issue! Thank you! |
SUMMARY
On Python 3.8 (the default on Ubuntu 20.04) this collection fails because is transitively using deprecated python functions.
This was fixed 6 months ago in Azure/azure-cli#11239 in
azure-cli-core = ">=2.0.77"
but this collection wantsazure-cli-core = "==2.0.35"
Looking through the requirements.txt listed here, it looks like we're kinda far behind.
ISSUE TYPE
COMPONENT NAME
Any
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: