opnsense-ports/net-im/py-matrix-synapse/files/patch-pyproject.toml
Franco Fichtner d99f41fff7 */*: sync with upstream
Taken from: FreeBSD
2023-11-14 11:02:03 +01:00

29 lines
1.2 KiB
TOML

--- pyproject.toml.orig 2023-10-31 14:05:31 UTC
+++ pyproject.toml
@@ -216,17 +216,6 @@ packaging = ">=20.0"
# 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"
-
-
# Optional Dependencies
# ---------------------
matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
@@ -381,7 +370,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.7.0", "setuptools_rust>=1.3,<=1.7.0"]
+requires = ["poetry-core>=1.1.0,<=1.7.0", "setuptools_rust>=1.3,<=1.8.1"]
build-backend = "poetry.core.masonry.api"