ports/net-im/py-matrix-synapse/files/patch-pyproject.toml
Po-Chuan Hsieh ec89a81d86
net-im/py-matrix-synapse: Allow build with py-poetry-core 1.7.0 and py-setuptools-rust 1.7.0
- While I'm here, remove blank lines among *_DEPENDS
2023-08-26 17:29:28 +08:00

29 lines
1.2 KiB
TOML

--- pyproject.toml.orig 2023-07-04 15:35:46 UTC
+++ pyproject.toml
@@ -210,17 +210,6 @@ importlib_metadata = { version = ">=1.4", python = "<3
# We are currently incompatible with >=2.0.0: (https://github.com/matrix-org/synapse/issues/15858)
pydantic = "^1.7.4"
-# 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"
-
-
# Optional Dependencies
# ---------------------
matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
@@ -370,7 +359,7 @@ furo = ">=2022.12.7,<2024.0.0"
# 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.6.0", "setuptools_rust>=1.3,<=1.6.0"]
+requires = ["poetry-core>=1.1.0,<=1.7.0", "setuptools_rust>=1.3,<=1.7.0"]
build-backend = "poetry.core.masonry.api"