Skip to content

Commit

Permalink
Pinning psycopg2 < 2.9 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacesm committed Jul 6, 2021
1 parent 9aa8954 commit e5e11c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/scripts.d/21_eoxs_psycopg2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ info "Installing psycopg2 (Python-PostgreSQL Database Adapter) ... """
yum --assumeyes install $PG_DEVEL_PACKAGE

activate_venv "$VIRES_VENV_ROOT"
pip install --force-reinstall --no-binary :all: psycopg2
# psycopg2<2.9 see https://github.com/ESA-VirES/VirES/issues/83
pip install --force-reinstall --no-binary :all: 'psycopg2 < 2.9'
3 changes: 2 additions & 1 deletion scripts/scripts.d/21_oauth_psycopg2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ info "Installing psycopg2 (Python-PostgreSQL Database Adapter) ... """
yum --assumeyes install $PG_DEVEL_PACKAGE

activate_venv "$OAUTH_VENV_ROOT"
pip install --force-reinstall --no-binary :all: psycopg2
# psycopg2<2.9 see https://github.com/ESA-VirES/VirES/issues/83
pip install --force-reinstall --no-binary :all: 'psycopg2 < 2.9'

0 comments on commit e5e11c8

Please sign in to comment.