Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.9 #160

Merged
merged 19 commits into from
Mar 31, 2021
Merged

Add support for Python 3.9 #160

merged 19 commits into from
Mar 31, 2021

Conversation

ChrisCummins
Copy link
Contributor

@ChrisCummins ChrisCummins commented Mar 30, 2021

This patchset adds support for Python 3.9. Although no code changes were required, several dependencies had to be updated and the build requirements have been updated:

  • Bumped the bazel dependency version from 3.1.0 to 4.0.0.
  • Changed the recommended means of installing bazel from conda to bazelisk, as conda does not have a recent-enough version of bazel.
  • Updated the GRPC dependency from version 1.34.0 to 1.36.0.
  • Added zlib to the list of system dependencies for macOS as it is required to build Pillow from source.
  • Added libjpeg-dev to the list of system dependencies on linux as it is required to build Pillow from source.
  • Added Python 3.9 to the version matrix for CI tests.
  • Switch CI fuzz/install-test/pre-commit jobs to use Python 3.9.

If you are building from source and upgrading from an older version, your build environment will need to be updated. The easiest way to do that is to remove your existing conda environment using conda remove --name compiler_gym --all and to repeat the building from source set up process.

Fixes #162.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 30, 2021
@ChrisCummins ChrisCummins changed the title WIP: Add support for Python 3.9 Add support for Python 3.9 Mar 31, 2021
@ChrisCummins ChrisCummins marked this pull request as ready for review March 31, 2021 00:40
@ChrisCummins ChrisCummins merged commit c201ed2 into development Mar 31, 2021
@ChrisCummins ChrisCummins deleted the py3.9 branch March 31, 2021 12:34
@ChrisCummins ChrisCummins mentioned this pull request Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Python 3.9
2 participants