Skip to content

chore(deps): update dependency python to 3.13#784

Merged
lgallard merged 3 commits intomasterfrom
renovate/python-3.x
Sep 2, 2025
Merged

chore(deps): update dependency python to 3.13#784
lgallard merged 3 commits intomasterfrom
renovate/python-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 15, 2025

This PR contains the following updates:

Package Type Update Change
python uses-with minor 3.12 -> 3.13

Release Notes

actions/python-versions (python)

v3.13.7: 3.13.7

Compare Source

Python 3.13.7

v3.13.6: 3.13.6

Compare Source

Python 3.13.6

v3.13.5: 3.13.5

Compare Source

Python 3.13.5

v3.13.4: 3.13.4

Compare Source

Python 3.13.4

v3.13.3: 3.13.3

Compare Source

Python 3.13.3

v3.13.2: 3.13.2

Compare Source

Python 3.13.2

v3.13.1: 3.13.1

Compare Source

Python 3.13.1

v3.13.0: 3.13.0

Compare Source

Python 3.13.0


Configuration

📅 Schedule: Branch creation - "before 6am on monday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated continuous integration to use Python 3.13 for test execution.
    • No changes to app features or behavior; this is a maintenance update to keep the build pipeline current.

@renovate renovate Bot requested a review from a team as a code owner April 15, 2025 02:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2025

💰 Infracost report

Monthly estimate generated

Estimate details (includes details of unsupported resources and skipped projects due to errors)
──────────────────────────────────
140 projects have no cost estimate changes.
Run the following command to see their breakdown: infracost breakdown --path=/path/to/code

──────────────────────────────────
2752 cloud resources were detected:
∙ 628 were estimated
∙ 2004 were free
∙ 120 are not supported yet, see https://infracost.io/requested-resources:
  ∙ 50 x aws_identitystore_group_membership
  ∙ 33 x aws_identitystore_user
  ∙ 7 x aws_identitystore_group
  ∙ 5 x aws_guardduty_member
  ∙ 3 x aws_lakeformation_permissions
  ∙ 2 x aws_guardduty_detector
  ∙ 2 x aws_organizations_delegated_administrator
  ∙ 1 x aws_athena_workgroup
  ∙ 1 x aws_cloudtrail_organization_delegated_admin_account
  ∙ 1 x aws_ecr_registry_scanning_configuration
  ∙ 1 x aws_efs_backup_policy
  ∙ 1 x aws_eks_access_entry
  ∙ 1 x aws_fms_admin_account
  ∙ 1 x aws_guardduty_organization_admin_account
  ∙ 1 x aws_guardduty_organization_configuration
  ∙ 1 x aws_organizations_organization
  ∙ 1 x aws_redshift_parameter_group
  ∙ 1 x aws_redshift_snapshot_copy
  ∙ 1 x aws_redshift_subnet_group
  ∙ 1 x aws_redshiftdata_statement
  ∙ 1 x aws_securityhub_configuration_policy
  ∙ 1 x aws_securityhub_configuration_policy_association
  ∙ 1 x aws_securityhub_finding_aggregator
  ∙ 1 x aws_securityhub_organization_admin_account
  ∙ 1 x aws_securityhub_organization_configuration
This comment will be updated when code changes.

@renovate renovate Bot force-pushed the renovate/python-3.x branch 6 times, most recently from a1bf2b8 to 7b70397 Compare April 21, 2025 16:09
@renovate renovate Bot force-pushed the renovate/python-3.x branch 3 times, most recently from 7e4f37e to 6de9b94 Compare April 22, 2025 12:58
@arbb-binbash
Copy link
Copy Markdown
Contributor

This PR will be on hold until the leverage CLI fully support Python v3.13

@renovate renovate Bot force-pushed the renovate/python-3.x branch 6 times, most recently from 3e7c2a3 to c3f0307 Compare April 29, 2025 21:09
@renovate renovate Bot force-pushed the renovate/python-3.x branch 12 times, most recently from 2a5f05f to 7191fc3 Compare May 7, 2025 12:20
@renovate renovate Bot force-pushed the renovate/python-3.x branch 6 times, most recently from 95c9941 to d61532b Compare June 26, 2025 13:42
@renovate renovate Bot force-pushed the renovate/python-3.x branch from d61532b to c418a70 Compare July 1, 2025 18:27
@opentaco-cloud
Copy link
Copy Markdown

opentaco-cloud Bot commented Jul 1, 2025

❌ Error loading digger config: error loading digger.yml: error cloning and loading config could not read the file both digger.yml and digger.yaml are missing: open /tmp/repo3993690970/digger.yaml: no such file or directory

@renovate renovate Bot force-pushed the renovate/python-3.x branch from c418a70 to 215c37c Compare July 1, 2025 19:23
@opentaco-cloud
Copy link
Copy Markdown

opentaco-cloud Bot commented Jul 1, 2025

❌ Error loading digger config: error loading digger.yml: error cloning and loading config error parsing '/tmp/repo1343761206/digger.yml': yaml: unmarshal errors:
line 23: cannot unmarshal !!seq into digger_config.GenerateProjectsConfigYaml

@renovate renovate Bot force-pushed the renovate/python-3.x branch 4 times, most recently from fc7b58c to be67760 Compare July 8, 2025 17:39
@binbashdevops
Copy link
Copy Markdown
Contributor

Plan Error

parsing atlantis.yaml: repo config not allowed to set 'workflow' key: server-side config needs 'allowed_overrides: [workflow]'

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 11, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

Updated the GitHub Actions workflow to use Python 3.13 instead of 3.12 in the setup-python step. No other workflow logic or steps were modified.

Changes

Cohort / File(s) Summary
CI Workflow
.github/workflows/leverage-cli-test.yml
Bumped setup-python runtime from 3.12 to 3.13; all other steps unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

I hop through YAML fields with glee,
From 3.12 to 3.13 I flee,
Pip wheels spin, the runners sing,
A minor hop, a tidy spring,
CI’s carrots crisp and clean,
Rabbits cheer: “Long live Thirteen!” 🥕🐇


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@lgallard lgallard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the automated dependency update! 🤖

We're currently investigating Python 3.13 compatibility with the Leverage CLI before proceeding with this update. The Leverage CLI currently supports Python versions up to 3.12, and we want to ensure our CI/CD infrastructure testing workflow remains stable.

We'll update this PR once we've verified compatibility or coordinate the update with Leverage CLI Python 3.13 support.

@lgallard
Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 15, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 2ca6d9c and c4fe75f.

📒 Files selected for processing (1)
  • .github/workflows/leverage-cli-test.yml (1 hunks)

Comment thread .github/workflows/leverage-cli-test.yml
@exequielrafaela
Copy link
Copy Markdown
Member

@lgallard to be checked with @angelofenoglio binbashar/leverage#310 but I think the only pending is to release the latest Leverage CLI release with Python support 💪🏼

CC: @diego-ojeda-binbash

exequielrafaela
exequielrafaela previously approved these changes Sep 1, 2025
Copy link
Copy Markdown
Member

@exequielrafaela exequielrafaela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lgallard
Copy link
Copy Markdown
Contributor

lgallard commented Sep 2, 2025

🔍 Dependency Update Analysis - PR #784

📋 Summary

This Renovate PR updates Python from 3.12 to 3.13 in the GitHub Actions workflow. The April hold is no longer valid as the Leverage CLI now officially supports Python 3.13.

🎯 Impact Assessment

Affected Components:

  • .github/workflows/leverage-cli-test.yml (CI workflow only)
  • No infrastructure layers affected
  • No Terraform/OpenTofu resources impacted

🏷️ Labels Applied

Applied labels: dependencies, minor (no previous labels existed)

✅ Leverage CLI Compatibility Update

The Leverage CLI pyproject.toml now includes: python = "~3.9 || ~3.10 || ~3.11 || ~3.12 || ~3.13"

Status: ✅ Python 3.13 is now fully supported by Leverage CLI

🔧 Test Failures Root Cause

Current failures are due to:

  1. Outdated actions/setup-python@v4 (should be @v5 for Python 3.13 compatibility)
  2. Missing pip cache configuration

💡 Recommended Fix

Based on @coderabbitai analysis, update the workflow:

- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
  with:
    python-version: '3.13'
+   cache: 'pip'

🚀 Terraform Validation Decision

SKIPPED ⏭️ - No infrastructure impact detected

  • Only affects CI/CD workflow
  • No Terraform/OpenTofu layers impacted
  • Meets skip criteria: workflow-only change + minor version update

🎛️ Next Steps

  1. Update actions/setup-python to v5 with pip cache
  2. Verify tests pass with updated action
  3. Remove outdated hold status
  4. Ready for merge once tests pass

Infrastructure Impact: None
Breaking Changes: None
Security Impact: None

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 2, 2025

.

🔍 Current State Confirmed

From examining the workflow file:

  • Currently using actions/setup-python@v4
  • Python version correctly updated to '3.13'
  • Missing pip caching as you identified
  • No other Python version references found in YAML files

💡 Your Recommended Fix is Perfect

- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
  with:
    python-version: '3.13'
+   cache: 'pip'

This addresses both issues:

  1. Compatibility: v5 has full Python 3.13 support
  2. Performance: Pip caching will speed up CI runs

🚀 Additional Observations

  • Your decision to skip Terraform validation is correct - this is purely a CI workflow change
  • The infrastructure impact assessment is accurate
  • Label application (dependencies, minor) is appropriate
  • The hold removal timing aligns with Leverage CLI's updated Python support

Your analysis demonstrates thorough understanding of the dependency chain and impact assessment. The recommended fix should resolve the test failures and future-proof the workflow.

Ready for implementation

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Update actions/setup-python from v4 to v5 to resolve Python 3.13 installation
issues in the CI workflow. The v5 action includes proper support for Python 3.13
and resolves the test failures.
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Sep 2, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

lgallard
lgallard previously approved these changes Sep 2, 2025
- Update actions/setup-python from v4 to v5 for Python 3.13 compatibility
- Update Leverage CLI version from 1.13.0 to 2.1.1 for Python 3.13 support
- Fix trailing whitespace issues detected by pre-commit hooks

Resolves the CI test failures by ensuring both GitHub Actions and
Leverage CLI properly support Python 3.13.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants