Add pyproject.toml upgrade support to upgrade-python command
What does this PR do?
Adds a method that upgrades the integrations-core/pyproject.toml file when running the upgrade-python ddev command.
Motivation
The mypy Python version was added to the pyproject.toml file, but the upgrade-python command didn’t include functionality to update that file. This PR ensures that the command upgrades the Python versions specified in pyproject.toml.
Review checklist (to be filled by reviewers)
- [ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
- [ ] Add the
qa/skip-qalabel if the PR doesn't need to be tested during QA. - [ ] If you need to backport this PR to another branch, you can add the
backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged
⚠️ The qa/skip-qa label has been added with shippable changes
The following files, which will be shipped with the agent, were modified in this PR and
the qa/skip-qa label has been added.
You can ignore this if you are sure the changes in this PR do not require QA. Otherwise, consider removing the label.
List of modified files that will be shipped with the agent
pyproject.toml
Codecov Report
:x: Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 91.10%. Comparing base (57337eb) to head (52b2b06).
:warning: Report is 15 commits behind head on master.
Additional details and impacted files
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
⚠️ Warnings
🧪 5 Tests failed
test_disk_storage_queryfromtest_queries.py(Datadog) (✨ Fix with BitsAI)RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]
test_host_resources_queryfromtest_queries.py(Datadog) (✨ Fix with BitsAI)RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]View all
test_license_audits_queryfromtest_queries.py(Datadog) (✨ Fix with BitsAI)RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]
ℹ️ Info
❄️ No new flaky tests detected
This comment will be updated automatically if new data arrives.🔗 Commit SHA: 52b2b06 | Docs | Was this helpful? Give us feedback!