-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
SyntaxError: future feature annotations is not defined when attempting to make for awx #9357
Comments
Tried on Ubuntu 20.04 (this time on AWS) with Python 3.8.5 with different versions - 4.0.2, 2.2.0, and even 1.8.5 all yield the same error message:
|
For your first issue, This has been reported upstream already (sphinx-contrib/autoprogram#47) and fixed in sphinx-contrib/autoprogram#48, although a new release hasn't been made yet. As a workaround you could use Your second issue looks like either an |
Thanks domdfcoding. I'll close this issue. Cheers. |
Describe the bug
A clear and concise description of what the bug is.
I'm getting an exception occurred error when attempting to deploy an AWX server on a CentOS 8 VM.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
AWX Server 19.X should be running successfully
Your project
https://github.com/ansible/
Screenshots
If applicable, add screenshots to help explain your problem.
Environment info
Additional context
I was browsing for solution to the problem but it seems like sphinx is currently using something that is only available on python3.7+? For CentOS python3.7 has been skipped so it seems like the user either needs to update to 3.8 or if they don't want to upgrade python for different reasons, use a different OS like Ubuntu 20.0.X+ that uses 3.8.4 by default. Haven't tested it yet but will be giving a try later today.
https://stackoverflow.com/questions/52889746/cant-import-annotations-from-future/52890129
ansible/awx#4879
Here is the tracelog:
The text was updated successfully, but these errors were encountered: