Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim-bookworm
FROM python:3.10-slim-bookworm

ENV USERNAME demisto
ENV HOME /home/$USERNAME
Expand Down
282 changes: 198 additions & 84 deletions .github/github_workflow_scripts/skip_conditions.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-24.04 # using python 3.12
runs-on: ubuntu-22.04
permissions:
checks: write
pull-requests: write
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: .devcontainer/|.vscode|Pipfile.lock|.gitlab/ci/|docs
files: ''
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: v4.4.0
hooks:
- id: check-json
- id: check-yaml
Expand All @@ -21,14 +21,14 @@ repos:
exclude: Integrations/.*/README.md|Scripts/.*/README.md
- id: check-case-conflict
- repo: https://github.com/python-poetry/poetry
rev: 1.8.5
rev: 1.8.2
hooks:
- id: poetry-check
args:
- --lock
files: ^pyproject.toml$
- repo: https://github.com/hadialqattan/pycln
rev: v2.6.0
rev: v2.5.0
hooks:
- id: pycln
min_py_version: '3.7'
Expand Down
2 changes: 1 addition & 1 deletion .sourcery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ rule_settings:
- suggestion
- comment

python_version: "3.11"
python_version: "3.7"

rules: []

2,323 changes: 1,232 additions & 1,091 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "pypi-public"
url = "https://pypi.org/simple/"

[tool.poetry.dependencies]
python = ">=3.10,<3.15"
python = "^3.10,<3.12"

[tool.poetry.group.github-actions.dependencies]
packaging = "^24"
Expand All @@ -25,7 +25,7 @@ sendgrid = "^6.11"
slack_sdk = "^3.31.0"

[tool.poetry.group.dev.dependencies]
demisto-sdk = "1.39.0" # Only affects GitHub Actions. To control the SDK version elsewhere, modify the infra repo's pyproject file
demisto-sdk = "1.38.25" # Only affects GitHub Actions. To control the SDK version elsewhere, modify the infra repo's pyproject file
pytest = ">=7.1.2"
requests-mock = ">=1.9.3"
pytest-mock = ">=3.7.0"
Expand Down
Loading