Closed ehelms closed 1 year ago
this makes no sense whatsoever :exploding_head:
especially as I am using obal with that python version on my laptop just fine…
I think the real problem is the ansible version used.
Python 3.8 uses: ansible-6.7.0 ansible-core-2.13.10 Python 3.9+ uses: ansible-8.1.0 ansible-core-2.15.1
And something got broken inbetween.
My laptop has ansible-core-2.14.6-1.fc38.noarch ansible-7.6.0-1.fc38.noarch
Right, I can repro this locally with tox, which fetches "latest" deps. Once I downgrade to ansible-7.7.0 ansible-core-2.14.7, tests pass again. and keeping ansible at 7.7.0 and updating core to 2.15.1 (which pip does, yelling at me that this is incompatible), breaks the tests again.
so what changed in core between 2.14 and 2.15?!
So here is an alternative fix for the issue: https://github.com/theforeman/obal/pull/354
But I am still puzzled why it think that role was already included and is not required anymore (it clearly was not, as otherwise the variable would be defined, huh)
Thanks for the fix in #354 !
There is odd behaviour and failure for tests with Python 3.10+:
Where the
spec_file
role should be getting called as it's listed as a dependency of thesetup_sources
role. I am testing out a hard coded role import to see if it fixes things.