Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 98e8b39

Browse files
author
David Robertson
committed
Desperation: ditch PyPy for a sensible export
1 parent 5bc8eac commit 98e8b39

File tree

3 files changed

+5
-38
lines changed

3 files changed

+5
-38
lines changed

poetry.lock

+3-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ importlib_metadata = { version = ">=1.4", python = "<3.8" }
176176
# ---------------------
177177
matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
178178
psycopg2 = { version = ">=2.8", markers = "platform_python_implementation != 'PyPy'", optional = true }
179-
psycopg2cffi = { version = ">=2.8", markers = "platform_python_implementation == 'PyPy'", optional = true }
180-
psycopg2cffi-compat = { version = "==1.1", markers = "platform_python_implementation == 'PyPy'", optional = true }
181179
pysaml2 = { version = ">=4.5.0", optional = true }
182180
authlib = { version = ">=0.14.0", optional = true }
183181
# systemd-python is necessary for logging to the systemd journal via
@@ -199,7 +197,7 @@ parameterized = { version = ">=0.7.4", optional = true }
199197
# NB: Packages that should be part of `pip install matrix-synapse[all]` need to be specified
200198
# twice: once here, and once in the `all` extra.
201199
matrix-synapse-ldap3 = ["matrix-synapse-ldap3"]
202-
postgres = ["psycopg2", "psycopg2cffi", "psycopg2cffi-compat"]
200+
postgres = ["psycopg2"]
203201
saml2 = ["pysaml2"]
204202
oidc = ["authlib"]
205203
# systemd-python is necessary for logging to the systemd journal via
@@ -294,4 +292,4 @@ towncrier = ">=18.6.0rc1"
294292

295293
[build-system]
296294
requires = ["setuptools"]
297-
build-backend = "setuptools.build_meta"
295+
build-backend = "setuptools.build_meta"

synapse/python_dependencies.py

-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@
9999
"postgres": [
100100
# we use execute_values with the fetch param, which arrived in psycopg 2.8.
101101
"psycopg2>=2.8 ; platform_python_implementation != 'PyPy'",
102-
"psycopg2cffi>=2.8 ; platform_python_implementation == 'PyPy'",
103-
"psycopg2cffi-compat==1.1 ; platform_python_implementation == 'PyPy'",
104102
],
105103
"saml2": [
106104
"pysaml2>=4.5.0",

0 commit comments

Comments
 (0)