Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python: ["3.8", "3.9"]
python: ["3.9"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
prisma-tests:
runs-on: [ self-hosted, public, linux, x64 ]
env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v4
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python: ["3.8", "3.9"]
python: ["3.9"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true # for now it is ok to fail
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
- name: Set up Python ${{ env.PYTHON_VERSION }}
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
id-token: write
timeout-minutes: 30
env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
environment: release
env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
permissions:
contents: write
env:
PYTHON_VERSION: "3.8"
PYTHON_VERSION: "3.9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
with:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
if: needs.github-release.outputs.upload_url != ''
runs-on: [self-hosted, public, linux, arm64]
container:
image: arm64v8/python:3.8
image: arm64v8/python:3.9
permissions:
contents: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}
run: |
# Just making sure the API key tests don't run on PRs
bash -c './integration_tests/prepare_data.sh ${{ matrix.os }} 3.8'
bash -c './integration_tests/prepare_data.sh ${{ matrix.os }} 3.9'
- name: Run integration tests
run: |
pipenv run pytest integration_tests -k 'not api_key'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_forbidden_values(self) -> List[Any]:
return ["dotnetcore3.1", "nodejs12.x", "python3.6", "python2.7", "dotnet5.0", "dotnetcore2.1", "ruby2.5",
"nodejs10.x", "nodejs8.10", "nodejs4.3", "nodejs6.10", "dotnetcore1.0", "dotnetcore2.0",
"nodejs4.3-edge", "nodejs", "java8", "python3.7", "go1.x", "provided", "ruby2.7", "nodejs14.x",
"nodejs16.x", "python3.8", "dotnet7", "dotnet6"
"nodejs16.x", "python3.9", "dotnet7", "dotnet6"
# , "nodejs18.x" # Uncomment on Sept 1, 2025
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 2025
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_forbidden_values(self) -> List[Any]:
return ["dotnetcore3.1", "nodejs12.x", "python3.6", "python2.7", "dotnet5.0", "dotnetcore2.1", "ruby2.5",
"nodejs10.x", "nodejs8.10", "nodejs4.3", "nodejs6.10", "dotnetcore1.0", "dotnetcore2.0",
"nodejs4.3-edge", "nodejs", "java8", "python3.7", "go1.x", "provided", "ruby2.7", "nodejs14.x",
"nodejs16.x", "python3.8", "dotnet7", "dotnet6"
"nodejs16.x", "python3.9", "dotnet7", "dotnet6"
# , "nodejs18.x" # Uncomment on Sept 1, 2025
# , "provided.al2" # Uncomment on Jun 30, 2026
# , "python3.9" # Uncomment on Nov 3, 2025
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/prepare_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ else

fi

if [[ "$2" == "3.8" && "$1" == "ubuntu-latest" ]]
if [[ "$2" == "3.9" && "$1" == "ubuntu-latest" ]]
then
pipenv run checkov -s -f terragoat/terraform/aws/s3.tf --repo-id checkov/integration_test --bc-api-key $BC_KEY > checkov_report_s3_singlefile_api_key_terragoat.txt
pipenv run checkov -s -d terragoat/terraform/azure/ --repo-id checkov/integration_test --bc-api-key $BC_KEY > checkov_report_azuredir_api_key_terragoat.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,5 +756,5 @@ Resources:

Handler: index.lambda_handler
Role: !GetAtt ScalingLambdaRole.Arn
Runtime: python3.8
Runtime: python3.9
Timeout: 10
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def test_build_graph_with_sam_resource(self):
self.assertEqual(['subnet-123', 'subnet-456'], function_1_vertex.attributes["VpcConfig"]["SubnetIds"])

self.assertEqual("src/", function_2_vertex.attributes["CodeUri"])
self.assertEqual("python3.8", function_2_vertex.attributes["Runtime"])
self.assertEqual("python3.9", function_2_vertex.attributes["Runtime"])
self.assertEqual(5, function_2_vertex.attributes["Timeout"])
self.assertEqual("Active", function_2_vertex.attributes["Tracing"])
self.assertEqual("Production", function_2_vertex.attributes["Environment"]["Variables"]["STAGE"])
Expand Down
6 changes: 3 additions & 3 deletions tests/github_actions/test_graph_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_build_def_context_1():
{
"name": "Setup Python",
"uses": "actions/setup-python@v3",
"with": {"python-version": "3.8", "__startline__": 14, "__endline__": 15},
"with": {"python-version": "3.9", "__startline__": 14, "__endline__": 15},
"__startline__": 11,
"__endline__": 15,
},
Expand Down Expand Up @@ -315,7 +315,7 @@ def test_build_def_context_1():
(11, " - name: Setup Python\n"),
(12, " uses: actions/setup-python@v3\n"),
(13, " with:\n"),
(14, " python-version: '3.8'\n"),
(14, " python-version: '3.9'\n"),
(15, " - name: Setup Poetry\n"),
(16, " uses: Green/setup-poetry@v7\n"),
(17, " - name: Install Python Dependencies\n"),
Expand Down Expand Up @@ -360,7 +360,7 @@ def test_build_def_context_1():
(11, " - name: Setup Python\n"),
(12, " uses: actions/setup-python@v3\n"),
(13, " with:\n"),
(14, " python-version: '3.8'\n"),
(14, " python-version: '3.9'\n"),
(15, " - name: Setup Poetry\n"),
(16, " uses: Green/setup-poetry@v7\n"),
(17, " - name: Install Python Dependencies\n"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: unsecure-worfklow
jobs:
my_job:
container:
image: python:3.8-alpine
image: python:3.9-alpine
env:
NODE_ENV: development
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ resource "aws_lambda_function" "pass_lambda" {
function_name = "lambda"
handler = "lambda.handler"
role = "aws_iam_role.lambda.arn"
runtime = "python3.8"
runtime = "python3.9"

vpc_config {
security_group_ids = [aws_security_group.pass_lambda.id]
Expand Down
Loading