summaryrefslogtreecommitdiff
path: root/net-im/py-matrix-synapse/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/py-matrix-synapse/files')
-rw-r--r--net-im/py-matrix-synapse/files/patch-pyproject.toml25
-rw-r--r--net-im/py-matrix-synapse/files/patch-setup.py10
2 files changed, 4 insertions, 31 deletions
diff --git a/net-im/py-matrix-synapse/files/patch-pyproject.toml b/net-im/py-matrix-synapse/files/patch-pyproject.toml
index 60bb6796fffe..2857504b7fe5 100644
--- a/net-im/py-matrix-synapse/files/patch-pyproject.toml
+++ b/net-im/py-matrix-synapse/files/patch-pyproject.toml
@@ -1,28 +1,11 @@
---- pyproject.toml.orig 2024-12-03 16:00:50 UTC
+--- pyproject.toml.orig 2025-02-23 20:55:48 UTC
+++ pyproject.toml
-@@ -215,16 +215,6 @@ pydantic = ">=1.7.4, <3"
- # See https://github.com/matrix-org/synapse/issues/15858
- pydantic = ">=1.7.4, <3"
-
--# This is for building the rust components during "poetry install", which
--# currently ignores the `build-system.requires` directive (c.f.
--# https://github.com/python-poetry/poetry/issues/6154). Both `pip install` and
--# `poetry build` do the right thing without this explicit dependency.
--#
--# This isn't really a dev-dependency, as `poetry install --no-dev` will fail,
--# but the alternative is to add it to the main list of deps where it isn't
--# needed.
--setuptools_rust = ">=1.3"
--
- # This is used for parsing multipart responses
- python-multipart = ">=0.0.9"
-
-@@ -370,7 +360,7 @@ tomli = ">=1.2.3"
+@@ -370,7 +370,7 @@ tomli = ">=1.2.3"
# runtime errors caused by build system changes.
# We are happy to raise these upper bounds upon request,
# provided we check that it's safe to do so (i.e. that CI passes).
--requires = ["poetry-core>=1.1.0,<=1.9.1", "setuptools_rust>=1.3,<=1.8.1"]
-+requires = ["poetry-core>=1.1.0,<=2.0.1", "setuptools_rust>=1.3,<=1.10.2"]
+-requires = ["poetry-core>=1.1.0,<=1.9.1", "setuptools_rust>=1.3,<=1.10.2"]
++requires = ["poetry-core>=1.1.0,<=2.1.1", "setuptools_rust>=1.3,<=1.10.2"]
build-backend = "poetry.core.masonry.api"
diff --git a/net-im/py-matrix-synapse/files/patch-setup.py b/net-im/py-matrix-synapse/files/patch-setup.py
deleted file mode 100644
index 39649d8e5d13..000000000000
--- a/net-im/py-matrix-synapse/files/patch-setup.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.py.orig 1970-01-01 00:00:00 UTC
-+++ setup.py
-@@ -179,7 +179,6 @@ install_requires = \
- 'pymacaroons>=0.13.0',
- 'python-multipart>=0.0.9',
- 'service-identity>=18.1.0',
-- 'setuptools_rust>=1.3',
- 'signedjson>=1.1.0,<2.0.0',
- 'sortedcontainers>=1.5.2',
- 'treq>=15.1',