Skip to content

chore: update default Python version to 3.10#712

Merged
jansegre merged 1 commit intomasterfrom
chore/update-default-python
Jul 24, 2023
Merged

chore: update default Python version to 3.10#712
jansegre merged 1 commit intomasterfrom
chore/update-default-python

Conversation

@jansegre
Copy link
Member

Also adds necessary tweaks to get it working with PyPy.

Motivation

For a while we've supported Python 3.9, 3.10 and 3.11, but the default has been stuck on 3.9, even though it's been running smoothly on 3.10 and 3.11 which have performance benefits.

Acceptance Criteria

  • Bump the default version for the docker image from Python 3.9 to Python 3.10
  • Update PyYaml version from 6.0.0 to 6.0.1 so it installs correctly on the PyPy docker image
  • Update the Docker build script to include Python 3.10 compatibility for PyPy

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre requested review from glevco and luislhl July 21, 2023 17:43
@jansegre jansegre self-assigned this Jul 21, 2023
@jansegre jansegre requested a review from msbrogli as a code owner July 21, 2023 17:43
@jansegre jansegre force-pushed the chore/update-default-python branch from e285f35 to 5ce5597 Compare July 21, 2023 17:44
glevco
glevco previously approved these changes Jul 21, 2023
luislhl
luislhl previously approved these changes Jul 21, 2023
And necessary tweaks to get it working with PyPy.
@jansegre jansegre dismissed stale reviews from luislhl and glevco via 5c04547 July 22, 2023 00:23
@jansegre jansegre force-pushed the chore/update-default-python branch from 5ce5597 to 5c04547 Compare July 22, 2023 00:23
@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Merging #712 (5c04547) into master (b826588) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #712      +/-   ##
==========================================
- Coverage   84.00%   84.00%   -0.01%     
==========================================
  Files         247      247              
  Lines       20625    20625              
  Branches     2784     2784              
==========================================
- Hits        17327    17326       -1     
  Misses       2719     2719              
- Partials      579      580       +1     

see 2 files with indirect coverage changes

@jansegre jansegre merged commit 02d3bf7 into master Jul 24, 2023
@jansegre jansegre deleted the chore/update-default-python branch July 24, 2023 18:27
@jansegre jansegre mentioned this pull request Jul 24, 2023
2 tasks
This was referenced Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants