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
Running ara-manage is complaining about 'future feature annotations is not defined' #527
Comments
This does not appear to be an ARA issue. You have installed a version of ruamel.yaml that is not compatible with Python 3.6.
|
@Thulium-Drake I have not come across this issue before. Are you still able to reproduce it ? Could you also share an output of a It would also be interesting to know if you can reproduce the issue on the latest version (1.7.0) -- note that it bumped the python requirement to >=3.8. Thanks. |
I will get back to you in the new year as I don't have access to the environment due to the holidays :) |
Thanks for the tip. I checked https://pypi.org/project/ruamel.yaml/ and python3.6 is indeed not compatible with the latest ruamel version. This has to be not newer then 0.17.21 .The downgrade worked for now, but for sure we need upgrading. |
Sorry for the late reply... This was still on my todo, as promised! This is the output for the same user that runs the service.
And as my colleague mentioned above, this is most likely caused by ruamel.yaml being too new for RHEL 8.8's Python 3.6.8. Though I have to say, I never tried switching to an AppStream for that... I'll give that a shot :) EDIT: Ah, I found why that doesn't work, the role uses the default |
What is the issue ?
Running ara-manage (anything, but the stack trace if from the SQL migrations task in the collection) results in the following stack trace:
Note, the reported version in the ARA UI is 1.6.1, so the application itself seems to run just fine, but the CLI tool has borked out.
What should be happening ?
Not barf out errors and run migrations if they are needed :-)
The text was updated successfully, but these errors were encountered: