Issue #8925
closedpsycopg2 2.9 is causing pulp_installer source installs to fail
Description
During database migrations:
File "/usr/local/lib/pulp/lib/python3.7/site-packages/django/db/backends/postgresql/utils.py", line 6, in utc_tzinfo_factory
raise AssertionError("database connection isn't set to UTC")
AssertionError: database connection isn't set to UTC
https://github.com/psycopg/psycopg2/issues/1293
It happens with 2.9 and 2.9.1.
Presumably 2.9.2 will fix it, many projects are affected.
Related issues
Added by Mike DePaulo 11 months ago
Added by Mike DePaulo 11 months ago
Problem: psycopg2 2.9 is causing pulp_installer
source installs to fail
Solution: Fix pulp_installer being unable to install pulpcore from source ("AssertionError: database connection isn't set to UTC" during "pulp_database_config : Run database migrations") by preventing the pulpcore dependency psycopg2 from being either version 2.9 or 2.9.1.
fixes: #8925
Updated by Anonymous 11 months ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|3f1b084f050975f42213fb0074d2f1fbd106a485.
Updated by mdepaulo@redhat.com 11 months ago
- Related to Issue #8926: psycopg2 2.9 is causing database migrations to fial added
Added by Mike DePaulo 11 months ago
Problem: psycopg2 2.9 is causing pulp_installer
source installs to fail
Solution: Fix pulp_installer being unable to install pulpcore from source ("AssertionError: database connection isn't set to UTC" during "pulp_database_config : Run database migrations") by preventing the pulpcore dependency psycopg2 from being either version 2.9 or 2.9.1.
fixes: #8925
Added by Mike DePaulo 11 months ago
Problem: psycopg2 2.9 is causing pulp_installer
source installs to fail
Solution: Fix pulp_installer being unable to install pulpcore from source ("AssertionError: database connection isn't set to UTC" during "pulp_database_config : Run database migrations") by preventing the pulpcore dependency psycopg2 from being either version 2.9 or 2.9.1.
fixes: #8925
Problem: psycopg2 2.9 is causing pulp_installer
source installs to fail
Solution: Fix pulp_installer being unable to install pulpcore from source ("AssertionError: database connection isn't set to UTC" during "pulp_database_config : Run database migrations") by preventing the pulpcore dependency psycopg2 from being either version 2.9 or 2.9.1.
fixes: #8925