Bump Python 3 to 3.12#18212
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. |
83757b3 to
8fd0064
Compare
|
The |
|
The |
spencergilbert
left a comment
There was a problem hiding this comment.
Approved for ADEL owned files
2511ab6
| version = ["19.9", "20.1"] | ||
| python = ["3.12"] | ||
| # v22 of gunicorn is the first that supports python 3.12 | ||
| version = ["22", "23"] |
There was a problem hiding this comment.
wild, I thought we fixed this on master 🤯
* bump py version to 3.12 * update dbm dev container * update builders and build deps * fix python string * Build lxml dependencies for linux x64 (#18467) * fix rmq version * fix gunicorn tests * Fix lock file generation * comment out if clause to force dep resolution * bump python to 3.12.6 * fix python on Windows sha * remove DD_PYTHON2 unbound variable * fix hatch errors * remove setup.py files * fix CI * revert datadog_checks_test_helper --------- Co-authored-by: Alex Lopez <alex.lopez.zorzano@gmail.com> Co-authored-by: Ilia Kurenkov <ilia.kurenkov@datadoghq.com> Co-authored-by: Alex Lopez <alex.lopez@datadoghq.com> 69cffd9
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-7.58.x 7.58.x
# Navigate to the new working tree
cd .worktrees/backport-7.58.x
# Create a new branch
git switch --create backport-18212-to-7.58.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 69cffd9e02ffbdc3015294a2c39c9215c0df637a
# Push it to GitHub
git push --set-upstream origin backport-18212-to-7.58.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-7.58.xThen, create a pull request where the |
* bump py version to 3.12 * update dbm dev container * update builders and build deps * fix python string * Build lxml dependencies for linux x64 (#18467) * fix rmq version * fix gunicorn tests * Fix lock file generation * comment out if clause to force dep resolution * bump python to 3.12.6 * fix python on Windows sha * remove DD_PYTHON2 unbound variable * fix hatch errors * remove setup.py files * fix CI * revert datadog_checks_test_helper --------- Co-authored-by: Alex Lopez <alex.lopez.zorzano@gmail.com> Co-authored-by: Ilia Kurenkov <ilia.kurenkov@datadoghq.com> Co-authored-by: Alex Lopez <alex.lopez@datadoghq.com> (cherry picked from commit 69cffd9)
* Bump Python 3 to 3.12 (#18212) * bump py version to 3.12 * update dbm dev container * update builders and build deps * fix python string * Build lxml dependencies for linux x64 (#18467) * fix rmq version * fix gunicorn tests * Fix lock file generation * comment out if clause to force dep resolution * bump python to 3.12.6 * fix python on Windows sha * remove DD_PYTHON2 unbound variable * fix hatch errors * remove setup.py files * fix CI * revert datadog_checks_test_helper --------- Co-authored-by: Alex Lopez <alex.lopez.zorzano@gmail.com> Co-authored-by: Ilia Kurenkov <ilia.kurenkov@datadoghq.com> Co-authored-by: Alex Lopez <alex.lopez@datadoghq.com> (cherry picked from commit 69cffd9) * fix build-deps.yaml * Fix dependency build for macOS (#18581) * Add workflow file to cache key on macos job * Remove reference to DD_PYTHON2 which is no longer set * Trigger the build in master when the workflow file changes * remove changelog entries --------- Co-authored-by: Alex Lopez <alex.lopez.zorzano@gmail.com>
What does this PR do?
Bump the Python version from py3.11 to py3.12
Motivation
https://datadoghq.atlassian.net/browse/AI-4081
Additional Notes
Docs PR: DataDog/documentation#24492
Review checklist (to be filled by reviewers)
qa/skip-qalabel if the PR doesn't need to be tested during QA.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged