Actions
Issue #8925
closedpsycopg2 2.9 is causing pulp_installer source installs to fail
Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
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
Actions
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