Remove --no-binary option for psycopg2 (#2798)

It was required in 2.7, but it's now the default in 2.8
This commit is contained in:
Bruno Alla 2020-09-07 15:10:57 +02:00 committed by GitHub
parent 0b3dd776c6
commit ffaec00084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Werkzeug==1.0.1 # https://github.com/pallets/werkzeug Werkzeug==1.0.1 # https://github.com/pallets/werkzeug
ipdb==0.13.3 # https://github.com/gotcha/ipdb ipdb==0.13.3 # https://github.com/gotcha/ipdb
{%- if cookiecutter.use_docker == 'y' %} {%- if cookiecutter.use_docker == 'y' %}
psycopg2==2.8.6 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 psycopg2==2.8.6 # https://github.com/psycopg/psycopg2
{%- else %} {%- else %}
psycopg2-binary==2.8.6 # https://github.com/psycopg/psycopg2 psycopg2-binary==2.8.6 # https://github.com/psycopg/psycopg2
{%- endif %} {%- endif %}

View File

@ -3,7 +3,7 @@
-r base.txt -r base.txt
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
psycopg2==2.8.6 --no-binary psycopg2 # https://github.com/psycopg/psycopg2 psycopg2==2.8.6 # https://github.com/psycopg/psycopg2
{%- if cookiecutter.use_whitenoise == 'n' %} {%- if cookiecutter.use_whitenoise == 'n' %}
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
{%- endif %} {%- endif %}