Skip to content
Merged
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 .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ABMC831 @Zejnilovic @oto-macenauer-absa @petr-pokorny-absa
* @ABMC831 @Zejnilovic @oto-macenauer-absa @petr-pokorny-absa @tmikula-dev
2 changes: 1 addition & 1 deletion .github/workflows/check_pr_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/setup-python@v5.1.1
with:
python-version: '3.11'
python-version: '3.13'

- name: Check presence of release notes in PR description
uses: AbsaOSS/release-notes-presence-check@v0.2.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: actions/setup-python@v5.1.1
with:
python-version: '3.11'
python-version: '3.13'

- name: Check format of received tag
id: check-version-tag
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
cache: 'pip'

- name: Install dependencies
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.1.0
with:
python-version: '3.11'
python-version: '3.13'
cache: 'pip'

- name: Install dependencies
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:

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

- name: Install Python dependencies
Expand All @@ -102,7 +102,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.1.0
with:
python-version: '3.11'
python-version: '3.13'
cache: 'pip'

- name: Install dependencies
Expand Down
5 changes: 5 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ git clone https://github.com/AbsaOSS/EventGate.git
cd EventGate
```

## Prerequisites
- Python 3.13 (current required runtime)
- PostgreSQL client dev package
- For local development, you may temporarily switch to the commented `psycopg2-binary==2.9.10` in `requirements.txt`.

## Set Up Python Environment
```shell
python3 -m venv .venv
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py311']
target-version = ['py313']
# force-exclude = '''test'''

[tool.coverage.run]
Expand All @@ -10,7 +10,7 @@ omit = ["tests/*"]
check_untyped_defs = true
exclude = "tests"
ignore_missing_imports = true
python_version = "3.11"
python_version = "3.13"
packages = ["src"]
explicit_package_bases = true
disable_error_code = ["import-untyped"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ PyJWT==2.10.1
requests==2.32.5
boto3==1.40.25
confluent-kafka==2.11.1
# psycopg2-binary==2.9.10 # Ideal for local development, but not for long-term production use
psycopg2==2.9.10
2 changes: 1 addition & 1 deletion terraform/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_lambda_function" "event_gate_lambda" {
role = var.lambda_role_arn
architectures = ["x86_64"]
timeout = 60
runtime = "python3.11"
runtime = "python3.13"
package_type = var.lambda_package_type

s3_bucket = var.lambda_package_type == "Zip" ? var.lambda_src_s3_bucket : null
Expand Down
Loading