Skip to content

Commit e716883

Browse files
committed
Repository upgraded into python 313
1 parent 1095a0b commit e716883

8 files changed

Lines changed: 16 additions & 10 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @ABMC831 @Zejnilovic @oto-macenauer-absa @petr-pokorny-absa
1+
* @ABMC831 @Zejnilovic @oto-macenauer-absa @petr-pokorny-absa @tmikula-dev

.github/workflows/check_pr_release_notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/setup-python@v5.1.1
1414
with:
15-
python-version: '3.11'
15+
python-version: '3.13'
1616

1717
- name: Check presence of release notes in PR description
1818
uses: AbsaOSS/release-notes-presence-check@v0.2.1

.github/workflows/release_draft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-python@v5.1.1
2222
with:
23-
python-version: '3.11'
23+
python-version: '3.13'
2424

2525
- name: Check format of received tag
2626
id: check-version-tag

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.11'
21+
python-version: '3.13'
2222
cache: 'pip'
2323

2424
- name: Install dependencies
@@ -52,7 +52,7 @@ jobs:
5252
- name: Set up Python
5353
uses: actions/setup-python@v5.1.0
5454
with:
55-
python-version: '3.11'
55+
python-version: '3.13'
5656
cache: 'pip'
5757

5858
- name: Install dependencies
@@ -80,7 +80,7 @@ jobs:
8080

8181
- uses: actions/setup-python@v5
8282
with:
83-
python-version: '3.11'
83+
python-version: '3.13'
8484
cache: 'pip'
8585

8686
- name: Install Python dependencies
@@ -102,7 +102,7 @@ jobs:
102102
- name: Set up Python
103103
uses: actions/setup-python@v5.1.0
104104
with:
105-
python-version: '3.11'
105+
python-version: '3.13'
106106
cache: 'pip'
107107

108108
- name: Install dependencies

DEVELOPER.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ git clone https://github.com/AbsaOSS/EventGate.git
1616
cd EventGate
1717
```
1818

19+
## Prerequisites
20+
- Python 3.13 (current required runtime)
21+
- PostgreSQL client dev package
22+
- For local development, you may temporarily switch to the commented `psycopg2-binary==2.9.10` in `requirements.txt`.
23+
1924
## Set Up Python Environment
2025
```shell
2126
python3 -m venv .venv

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 120
3-
target-version = ['py311']
3+
target-version = ['py313']
44
# force-exclude = '''test'''
55

66
[tool.coverage.run]
@@ -10,7 +10,7 @@ omit = ["tests/*"]
1010
check_untyped_defs = true
1111
exclude = "tests"
1212
ignore_missing_imports = true
13-
python_version = "3.11"
13+
python_version = "3.13"
1414
packages = ["src"]
1515
explicit_package_bases = true
1616
disable_error_code = ["import-untyped"]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ PyJWT==2.10.1
1212
requests==2.32.5
1313
boto3==1.40.25
1414
confluent-kafka==2.11.1
15+
# psycopg2-binary==2.9.10 # Ideal for local development, but not for long-term production use
1516
psycopg2==2.9.10

terraform/lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ resource "aws_lambda_function" "event_gate_lambda" {
2222
role = var.lambda_role_arn
2323
architectures = ["x86_64"]
2424
timeout = 60
25-
runtime = "python3.11"
25+
runtime = "python3.13"
2626
package_type = var.lambda_package_type
2727

2828
s3_bucket = var.lambda_package_type == "Zip" ? var.lambda_src_s3_bucket : null

0 commit comments

Comments
 (0)