File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- * @ ABMC831 @ Zejnilovic @ oto-macenauer-absa @ petr-pokorny-absa
1+ * @ ABMC831 @ Zejnilovic @ oto-macenauer-absa @ petr-pokorny-absa @ tmikula-dev
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
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
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ git clone https://github.com/AbsaOSS/EventGate.git
1616cd 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
2126python3 -m venv .venv
Original file line number Diff line number Diff line change 11[tool .black ]
22line-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/*"]
1010check_untyped_defs = true
1111exclude = " tests"
1212ignore_missing_imports = true
13- python_version = " 3.11 "
13+ python_version = " 3.13 "
1414packages = [" src" ]
1515explicit_package_bases = true
1616disable_error_code = [" import-untyped" ]
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ PyJWT==2.10.1
1212requests == 2.32.5
1313boto3 == 1.40.25
1414confluent-kafka == 2.11.1
15+ # psycopg2-binary==2.9.10 # Ideal for local development, but not for long-term production use
1516psycopg2 == 2.9.10
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments