Project

Profile

Help

Issue #8925

closed

psycopg2 2.9 is causing pulp_installer source installs to fail

Added by mdepaulo@redhat.com over 3 years ago. Updated over 3 years ago.

Status:
MODIFIED
Priority:
Normal
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

Related to Pulp - Issue #8926: psycopg2 2.9 is causing database migrations to fialCLOSED - CURRENTRELEASEdaviddavisActions
Actions #1

Updated by mdepaulo@redhat.com over 3 years ago

  • Description updated (diff)

Added by Mike DePaulo over 3 years ago

Revision 3f1b084f | View on GitHub

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 over 3 years ago

Revision 3f1b084f | View on GitHub

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

Actions #2

Updated by pulpbot over 3 years ago

  • Status changed from NEW to POST
Actions #3

Updated by Anonymous over 3 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by mdepaulo@redhat.com over 3 years ago

  • Related to Issue #8926: psycopg2 2.9 is causing database migrations to fial added

Added by Mike DePaulo over 3 years ago

Revision 173fa9d2 | View on GitHub

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 over 3 years ago

Revision 173fa9d2 | View on GitHub

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

Also available in: Atom PDF