Skip to content

Commit

Permalink
chore(ci): upgrade pyenv, upgrade python versions, add 3.13-dev (#9665)
Browse files Browse the repository at this point in the history
The one major change here is setting Python 3.12 as the default for the
image instead of the existing 3.10.

I cannot remember why we have 3.10 as the default, so it felt harmless
to change this to 3.12.

## Checklist

- [x] Change(s) are motivated and described in the PR description
- [x] Testing strategy is described if automated tests are not included
in the PR
- [x] Risks are described (performance impact, potential for breakage,
maintainability)
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] [Library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
are followed or label `changelog/no-changelog` is set
- [x] Documentation is included (in-code, generated user docs, [public
corp docs](https://github.com/DataDog/documentation/))
- [x] Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))
- [x] If this PR changes the public interface, I've notified
`@DataDog/apm-tees`.

## Reviewer Checklist

- [ ] Title is accurate
- [ ] All changes are related to the pull request's stated goal
- [ ] Description motivates each change
- [ ] Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- [ ] Testing strategy adequately addresses listed risks
- [ ] Change is maintainable (easy to change, telemetry, documentation)
- [ ] Release note makes sense to a user of the library
- [ ] Author has acknowledged and discussed the performance implications
of this PR as reported in the benchmarks PR comment
- [ ] Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
  • Loading branch information
brettlangdon authored Jul 12, 2024
1 parent 4aa314e commit c7e92f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions docker/.python-version
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
3.10.11
3.7.16
3.8.16
3.9.16
3.11.3
3.12.0
3.12
3.7
3.8
3.9
3.10
3.11
3.13-dev
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain stable -y

# Install pyenv and necessary Python versions
RUN git clone --depth 1 --branch v2.3.33 https://github.com/pyenv/pyenv "${PYENV_ROOT}" \
RUN git clone --depth 1 --branch v2.4.2 https://github.com/pyenv/pyenv "${PYENV_ROOT}" \
&& cd /root \
&& pyenv local | xargs -L 1 pyenv install \
&& cd -
Expand Down

0 comments on commit c7e92f6

Please sign in to comment.