facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.8k stars 2k forks source link

[python] set version of Python to 3.8 on GitHub Actions #1752

Closed jeremydubreil closed 1 year ago

jeremydubreil commented 1 year ago

This is already fixing the Linux CI job on GitHub. Still looking into why it does not work for macOS.

facebook-github-bot commented 1 year ago

@jvillard has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@jvillard merged this pull request in facebook/infer@7aa8621954576be2d6e48a654d8f037c88f5618a.

jvillard commented 1 year ago

Thanks, Jeremy! I'll look into gating running those tests based on the availability of python3.8, this should solve the osx issue.

jeremydubreil commented 1 year ago

@jvillard , Thanks! This would work. I was not able to fully look into why the paths are not the expected ones on macOS. There may be a way to fix this.

jvillard commented 1 year ago

Fixed now, the GitHub builds are green again.