Skip to content

Commit

Permalink
Bump minimum version of psycopg2-binary to 2.9.7 (#45635)
Browse files Browse the repository at this point in the history
Seems that latest release of the Python Base image updated
to latest debian bookworm release which stopped working with older
releases of psycobg2-binary raising

```
_psycopg.cpython-311-x86_64-linux-gnu.so: undefined symbol: GENERAL_NAME_free
```

Bumoing minimum version to 2.9.7 should solve the problem.
  • Loading branch information
potiuk authored Jan 14, 2025
1 parent f007929 commit 1ab8f39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev/breeze/tests/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_get_old_documentation_package_path():
"apache-airflow-providers-common-sql>=1.20.0b0",
"apache-airflow>=2.9.0b0",
"asyncpg>=0.30.0",
"psycopg2-binary>=2.9.4",
"psycopg2-binary>=2.9.7",
""",
id="beta0 suffix postgres",
),
Expand All @@ -226,7 +226,7 @@ def test_get_old_documentation_package_path():
"apache-airflow-providers-common-sql>=1.20.0",
"apache-airflow>=2.9.0",
"asyncpg>=0.30.0",
"psycopg2-binary>=2.9.4",
"psycopg2-binary>=2.9.7",
""",
id="No suffix postgres",
),
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
"apache-airflow-providers-common-sql>=1.20.0",
"apache-airflow>=2.9.0",
"asyncpg>=0.30.0",
"psycopg2-binary>=2.9.4"
"psycopg2-binary>=2.9.7"
],
"devel-deps": [],
"plugins": [],
Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/postgres/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ versions:
dependencies:
- apache-airflow>=2.9.0
- apache-airflow-providers-common-sql>=1.20.0
- psycopg2-binary>=2.9.4
- psycopg2-binary>=2.9.7
- asyncpg>=0.30.0

additional-extras:
Expand Down

0 comments on commit 1ab8f39

Please sign in to comment.