Update tests for removal of python36 from Github Actions hostedtoolcache#19901
Merged
stuhood merged 2 commits intopantsbuild:mainfrom Sep 22, 2023
Merged
Conversation
Eric-Arellano
approved these changes
Sep 21, 2023
kaos
approved these changes
Sep 21, 2023
Member
kaos
left a comment
There was a problem hiding this comment.
Would be nice with a comment somewhere (next to the resource target in the BUILD file perhaps) mentioning how to generate these platform json files.. ;)
WorkerPants
pushed a commit
that referenced
this pull request
Sep 22, 2023
…cache (#19901) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches).
WorkerPants
pushed a commit
that referenced
this pull request
Sep 22, 2023
…cache (#19901) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches).
Member
|
I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants. ❌ 2.16.xI was unable to cherry-pick this PR to 2.16.x, likely due to merge-conflicts. Steps to Cherry-Pick locallyTo resolve:
Please note that I cannot re-run CI if a job fails. Please work with your PR approver(s) to re-run CI if necessary. ✔️ 2.17.xSuccessfully opened #19905. ✔️ 2.18.xSuccessfully opened #19904. When you're done manually cherry-picking, please remove the Thanks again for your contributions! |
stuhood
added a commit
to stuhood/pants
that referenced
this pull request
Sep 22, 2023
…cache (pantsbuild#19901) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches).
huonw
pushed a commit
that referenced
this pull request
Sep 22, 2023
…cache (Cherry-pick of #19901) (#19904) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches). Co-authored-by: Stu Hood <stuhood@gmail.com>
huonw
pushed a commit
that referenced
this pull request
Sep 22, 2023
…cache (Cherry-pick of #19901) (#19905) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches). Co-authored-by: Stu Hood <stuhood@gmail.com>
huonw
pushed a commit
that referenced
this pull request
Sep 22, 2023
…cache (Cherry-pick of #19901) (#19909) Github Actions recently removed `python3.6` from `/opt/hostedtoolcache`, which means that our [`pantsbuild/actions/expose-pythons` action](https://github.com/pantsbuild/actions/blob/main/expose-pythons/action.yml) does not expose it. This causes tests which require Python 3.6 to fail ([example](https://github.com/pantsbuild/pants/actions/runs/6265433640/job/17021049356?pr=19894)) on `main` (and in branches).
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Github Actions recently removed
python3.6from/opt/hostedtoolcache, which means that ourpantsbuild/actions/expose-pythonsaction does not expose it.This causes tests which require Python 3.6 to fail (example) on
main(and in branches).