integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

Add pyproject.toml upgrade support to upgrade-python command

Open lucia-sb opened this issue 2 months ago • 3 comments

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-qa label 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

lucia-sb avatar Oct 15 '25 08:10 lucia-sb

⚠️ 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

github-actions[bot] avatar Oct 15 '25 08:10 github-actions[bot]

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.

codecov[bot] avatar Oct 15 '25 09:10 codecov[bot]

⚠️ Tests

⚠️ Warnings

🧪 5 Tests failed

test_disk_storage_query from test_queries.py (Datadog) (✨ Fix with BitsAI)
RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]
test_host_resources_query from test_queries.py (Datadog) (✨ Fix with BitsAI)
RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]
test_license_audits_query from test_queries.py (Datadog) (✨ Fix with BitsAI)
RetryError[<Future at 0x7f23fe96ead0 state=finished raised SubprocessError>]
View all

ℹ️ 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!

datadog-official[bot] avatar Oct 15 '25 09:10 datadog-official[bot]