mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-04 04:25:04 -04:00
Add experimental support for PyPy. (#9123)
* Adds proper dependencies. * Minor fixes in database layer.
This commit is contained in:
parent
b0f4119b8b
commit
2814028ce5
4 changed files with 15 additions and 8 deletions
|
@ -86,8 +86,12 @@ REQUIREMENTS = [
|
|||
|
||||
CONDITIONAL_REQUIREMENTS = {
|
||||
"matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
|
||||
# we use execute_values with the fetch param, which arrived in psycopg 2.8.
|
||||
"postgres": ["psycopg2>=2.8"],
|
||||
"postgres": [
|
||||
# we use execute_values with the fetch param, which arrived in psycopg 2.8.
|
||||
"psycopg2>=2.8 ; platform_python_implementation != 'PyPy'",
|
||||
"psycopg2cffi>=2.8 ; platform_python_implementation == 'PyPy'",
|
||||
"psycopg2cffi-compat==1.1 ; platform_python_implementation == 'PyPy'",
|
||||
],
|
||||
# ACME support is required to provision TLS certificates from authorities
|
||||
# that use the protocol, such as Let's Encrypt.
|
||||
"acme": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue