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.
Changes:
ci-cd.yml
workflow back toubuntu-latest
(see fix: reintroduce ubuntu-22 as workflow version #9127)s3cmd
version 2.4.0 (current latest) and Python 3.12 (the latest Python that is officially compatible withs3cmd
2.4.0)Reasoning:
GHA's
ubuntu-latest
tag recently moved from Ubuntu 22 to Ubuntu 24. GHA'subuntu-24.04
image includes several versions of Python, but it defaults to Python 3.12 (and does not include Python 3.5). This caused our deploys to stop working for at least two reasons:pip
via a script that was designed specifically for Python 3.5pip
version 21.0.1, specificallypip
to installs3cmd
at version 2.3.0, specificallys3cmd
is no longer compatible with Python 3.12We fixed the
pip
installation issue with #9123, which exposed thes3cmd
incompatibility.For the sake of getting our in-progress deploy to work, we temporarily specified
ubuntu-22.04
(see #9127).The changes in this new PR move
ci-cd.yml
back to Unbuntu 24 by changingruns-on
back toubuntu-latest
. We still use thesetup-python
action as introduced by #9123, but we now specify Python 3.12 exactly. We also getpip
for free.Upgrading
s3cmd
to version 2.4.0 adds Python 3.12 compatibility. Combined with Python 3.12 from above, this means our deploys should work again.