Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem: psycopg2 2.9 is causing pulp_installer
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mikedep333 committed Jun 18, 2021
1 parent caace8a commit 173fa9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/8925.bugfix
@@ -0,0 +1 @@
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.
1 change: 1 addition & 0 deletions roles/pulp_common/defaults/main.yml
Expand Up @@ -21,6 +21,7 @@ pulp_pip_editable: yes
pulp_use_system_wide_pkgs: false
prereq_pip_packages:
- Jinja2
- "psycopg2!=2.9,!=2.9.1"
pulp_rhel_codeready_repo:
- codeready-builder-for-rhel-8-x86_64-rpms
- rhui-codeready-builder-for-rhel-8-rhui-rpms
Expand Down

0 comments on commit 173fa9d

Please sign in to comment.