Skip to content

Commit

Permalink
net-im/py-matrix-synapse: Allow build with py-poetry-core 1.9.0 and p…
Browse files Browse the repository at this point in the history
…y-setuptools-rust 1.9.0
  • Loading branch information
sunpoet committed Mar 9, 2024
1 parent e4fdf41 commit be25bb2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions net-im/py-matrix-synapse/Makefile
Expand Up @@ -13,8 +13,8 @@ WWW= https://www.matrix.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<=1.8.1:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<=1.8.1_99:devel/py-setuptools-rust@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<1.9.0_99:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<1.9.0_99:devel/py-setuptools-rust@${PY_FLAVOR}
# Keep the RUN_DEPENDS layout similar to the pyproject.toml file
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}immutabledict>=2.0:devel/py-immutabledict@${PY_FLAVOR} \
Expand Down
13 changes: 11 additions & 2 deletions net-im/py-matrix-synapse/files/patch-pyproject.toml
@@ -1,6 +1,6 @@
--- pyproject.toml.orig 2023-10-31 14:05:31 UTC
--- pyproject.toml.orig 2023-12-12 15:52:05 UTC
+++ pyproject.toml
@@ -216,17 +216,6 @@ packaging = ">=20.0"
@@ -216,17 +216,6 @@ pydantic = ">=1.7.4, <3"
# See https://github.com/matrix-org/synapse/issues/15858
pydantic = ">=1.7.4, <3"

Expand All @@ -18,3 +18,12 @@
# Optional Dependencies
# ---------------------
matrix-synapse-ldap3 = { version = ">=0.1", optional = true }
@@ -382,7 +371,7 @@ furo = ">=2022.12.7,<2024.0.0"
# 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.8.1", "setuptools_rust>=1.3,<=1.8.1"]
+requires = ["poetry-core>=1.1.0,<=1.9.0", "setuptools_rust>=1.3,<=1.9.0"]
build-backend = "poetry.core.masonry.api"


2 changes: 1 addition & 1 deletion net-im/py-matrix-synapse/files/patch-setup.py
@@ -1,6 +1,6 @@
--- setup.py.orig 1970-01-01 00:00:00 UTC
+++ setup.py
@@ -175,7 +175,6 @@ install_requires = \
@@ -172,7 +172,6 @@ install_requires = \
'pydantic>=1.7.4,<3',
'pymacaroons>=0.13.0',
'service-identity>=18.1.0',
Expand Down

0 comments on commit be25bb2

Please sign in to comment.