Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(general): initial support for python 3.13 #6962

Merged
merged 15 commits into from
Jan 23, 2025
Merged

Conversation

tjwald
Copy link
Contributor

@tjwald tjwald commented Jan 20, 2025

User description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

Add Python 3.13 support to Checkov

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [] I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

Generated description

Below is a concise technical summary of the changes proposed in this PR:

Adds support for Python 3.13 by updating dependencies, modifying CI workflows, and adjusting test cases. The changes include updating package versions, modifying Python version specifications, and adjusting test assertions to accommodate differences between Python 3.12 and 3.13.

TopicDetails
Python 3.13 Support Adds initial support for Python 3.13 by updating dependencies and modifying CI workflows
Modified files (5)
  • README.md
  • setup.py
  • .github/workflows/pr-test.yml
  • Pipfile
  • Pipfile.lock
Latest Contributors(2)
UserCommitDate
tsmithv11chore-secrets-bump-det...December 19, 2024
omriyoffe-panwfeat-serverless-Server...December 04, 2024
Code Refinements Makes minor code improvements and type annotations updates
Modified files (5)
  • checkov/bicep/graph_builder/local_graph.py
  • checkov/common/parsers/json/decoder.py
  • checkov/common/parallelizer/parallel_runner.py
  • checkov/secrets/scan_git_history.py
  • checkov/arm/checks/resource/AKSMaxPodsMinimum.py
Latest Contributors(2)
UserCommitDate
omryMenchore-secrets-bump-det...November 21, 2024
lirshindalmanfeat-arm-add-variable-...October 22, 2024
Test Adjustments Modifies test cases to accommodate differences between Python 3.12 and 3.13
Modified files (2)
  • tests/sca_package_2/test_output_reports.py
  • tests/common/checks/test_base_check.py
Latest Contributors(2)
UserCommitDate
MaryArmalychore-sca-CLI-remove-t...April 14, 2024
AdamVarsan@gmail.comfix-graph-remove-SCA-r...February 11, 2024
This pull request is reviewed by Baz. Join @tjwald and the rest of your team on (Baz).

@tjwald tjwald force-pushed the support-python-3.13 branch from e41e333 to 23f248c Compare January 20, 2025 13:53
@tjwald tjwald force-pushed the support-python-3.13 branch from 0ecf2a6 to 58f6f43 Compare January 22, 2025 11:09
Pipfile Outdated Show resolved Hide resolved
checkov/common/parallelizer/parallel_runner.py Outdated Show resolved Hide resolved
.github/workflows/pr-test.yml Show resolved Hide resolved
Pipfile Show resolved Hide resolved
@tsmithv11
Copy link
Collaborator

Great job! Can you also update the README?

@tjwald tjwald merged commit 8c7cd69 into main Jan 23, 2025
47 checks passed
@tjwald tjwald deleted the support-python-3.13 branch January 23, 2025 09:34
Saarett pushed a commit that referenced this pull request Jan 23, 2025
* initial support for python 3.13

* revert pipenv

* update workflow

* fix mypy

* make parallel run fail instead of returning none

* fix mypy

* fix parallel run failure state

* revert mypy pinning

* fix mypy

* fix mypy

* revert

* fix mypy

* try to keep traceback

* update README.md

* remove asserts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants