[PR #5014/5e305abc backport][stable-4.9] fix galaxykit: command not found on CI #5016
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #5014 as merged into master (5e305ab).
Problem:
^ this fails on github actions ( https://github.com/ansible/ansible-hub-ui/actions/runs/8903369393/job/24450997489?pr=5003 ), but works locally for me, both with Python 3.11 and Python 3.10.
Likely related to ansible/galaxykit#104
Solution:
trying to see if explicitly installing python 3.11 helps
... it does
Successfully installed attrs-23.2.0 certifi-2024.2.2 charset-normalizer-3.3.2 galaxykit-0.14.0 idna-3.7 orionutils-0.1.7 pyyaml-6.0.1 requests-2.31.0 simplejson-3.19.2 urllib3-2.2.1
.. not sure why yet...Ah...
pre-installed 3.10 uses pip 22 - and breaks
explicitly installed 3.10 uses pip 23 - and works
3.11 uses pip 24 - and works