Skip to content

Saleor Core: the high performance, composable, headless commerce API.

fix: use non-binary psycopg2 distribution (#9397)

Johan Bergström969ccb83d87b
diff --git a/poetry.lock b/poetry.lock
index 311d0cf9d1..ed76e59a92 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1715,7 +1715,7 @@ optional = false
python-versions = ">=3.5"
[[package]]
-name = "psycopg2-binary"
+name = "psycopg2"
version = "2.9.3"
description = "psycopg2 - Python-PostgreSQL Database Adapter"
category = "main"
diff --git a/pyproject.toml b/pyproject.toml
index f2e60cefd1..8b7638b7a4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,7 +39,7 @@ documentation = "https://docs.saleor.io/"
opentracing = "^2.3.0"
phonenumberslite = "^8.12.25"
prices = "^1.0"
- psycopg2-binary = "^2.8.3"
+ psycopg2 = "^2.8.3"
razorpay = "^1.2"
requests = "^2.22"
sentry-sdk = "^1.0"
diff --git a/requirements.txt b/requirements.txt
index dc4f2e2a73..9979d920fa 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -97,7 +97,7 @@ promise==2.3
prompt-toolkit==3.0.28; python_full_version >= "3.6.2" and python_version >= "3.7"
proto-plus==1.20.3; python_version >= "3.6"
protobuf==3.19.4
-psycopg2-binary==2.9.3; python_version >= "3.6"
+psycopg2==2.9.3; python_version >= "3.6"
pyasn1-modules==0.2.8; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7"
pyasn1==0.4.8; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7") or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7")
pybars3==0.9.7
diff --git a/requirements_dev.txt b/requirements_dev.txt
index 8000f0a422..c33788102f 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -132,7 +132,7 @@ promise==2.3; python_version >= "3.6" and python_version < "4.0"
prompt-toolkit==3.0.28; python_full_version >= "3.6.2" and python_version >= "3.7"
proto-plus==1.20.3; python_version >= "3.6"
protobuf==3.19.4
-psycopg2-binary==2.9.3; python_version >= "3.6"
+psycopg2==2.9.3; python_version >= "3.6"
py==1.11.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version >= "3.7" and python_version < "4.0"
pyasn1-modules==0.2.8; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7"
pyasn1==0.4.8; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7") or python_full_version >= "3.6.0" and python_version >= "3.7" and python_version < "4" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7")