Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 09:41:50 +0000
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: acf2f7784643 - main - devel/py-dj52-strawberry-graphql: Update to 0.314.3
Message-ID:  <69e897de.37f3b.d52b2b3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=acf2f77846437ff52d4858b1cfc6e35044edbfba

commit acf2f77846437ff52d4858b1cfc6e35044edbfba
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-04-22 09:39:07 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-04-22 09:39:55 +0000

    devel/py-dj52-strawberry-graphql: Update to 0.314.3
    
    * Add APOLLO-FEDERATION option, which has been introduced with the
      0.314.0 release, and keep it non-default like the other options to
      keep the dependencies at a minimum.
    
    * Relax the version requirements for py-uv-build as well to be able to
      build the port in the quarterly branch, where py-uv-build is present
      at version 0.10.10.
    
    Changelog since 0.312.4:
    
    https://github.com/strawberry-graphql/strawberry/blob/0.314.3/CHANGELOG.md
    
    MFH:            2026Q2
---
 devel/py-dj52-strawberry-graphql/Makefile                   |  8 +++++---
 devel/py-dj52-strawberry-graphql/distinfo                   |  6 +++---
 devel/py-dj52-strawberry-graphql/files/patch-pyproject.toml | 12 ++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/devel/py-dj52-strawberry-graphql/Makefile b/devel/py-dj52-strawberry-graphql/Makefile
index e021ada593df..d4cd2b1e5151 100644
--- a/devel/py-dj52-strawberry-graphql/Makefile
+++ b/devel/py-dj52-strawberry-graphql/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	strawberry-graphql
-DISTVERSION=	0.312.4
+DISTVERSION=	0.314.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj52-
@@ -12,7 +12,7 @@ WWW=		https://github.com/strawberry-graphql/strawberry
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uv-build>=0.10.10<0.12:devel/py-uv-build@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cross-web>=0.4.0:www/py-cross-web@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=23:devel/py-packaging@${PY_FLAVOR} \
@@ -26,10 +26,11 @@ CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=		AIOHTTP ASGI CHANNELS CLI DEBUG DJANGO \
+OPTIONS_DEFINE=		AIOHTTP APOLLO-FEDERATION ASGI CHANNELS CLI DEBUG DJANGO \
 			FASTAPI FLASK OPENTELEMETRY PYDANTIC
 
 AIOHTTP_DESC=		Basic AIOHTTP integration
+APOLLO-FEDERATION_DESC=	Apollo Federation GraphQL support
 ASGI_DESC=		Basic ASGI integration
 CHANNELS_DESC=		Support for Django Channels
 CLI_DESC=		Support for CLI commands
@@ -41,6 +42,7 @@ OPENTELEMETRY_DESC=	Generate Open Telemetry compatible tracing information
 PYDANTIC_DESC=		Support for Pydantic models
 
 AIOHTTP_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4<4:www/py-aiohttp@${PY_FLAVOR}
+APOLLO-FEDERATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>=3.20:devel/py-protobuf@${PY_FLAVOR}
 ASGI_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}multipart>=0.0.7:devel/py-multipart@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}starlette>=0.18.0:www/py-starlette@${PY_FLAVOR}
 CHANNELS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} \
diff --git a/devel/py-dj52-strawberry-graphql/distinfo b/devel/py-dj52-strawberry-graphql/distinfo
index ade84ac4d456..77918474ff6b 100644
--- a/devel/py-dj52-strawberry-graphql/distinfo
+++ b/devel/py-dj52-strawberry-graphql/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1776349056
-SHA256 (strawberry_graphql-0.312.4.tar.gz) = 02b2610ebe39fa6846511090630c5007f6ef4174e2003cb1aa914eddbbc9e0c9
-SIZE (strawberry_graphql-0.312.4.tar.gz) = 215575
+TIMESTAMP = 1776337364
+SHA256 (strawberry_graphql-0.314.3.tar.gz) = 2a841c35af61e9d5df1e215ca991cfac364c00a05fc192d9f38d0733da163097
+SIZE (strawberry_graphql-0.314.3.tar.gz) = 222131
diff --git a/devel/py-dj52-strawberry-graphql/files/patch-pyproject.toml b/devel/py-dj52-strawberry-graphql/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f09f55de941a
--- /dev/null
+++ b/devel/py-dj52-strawberry-graphql/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+Relax version requirements for py-uv-build to be able to provide the port in
+the quarterly branch.
+
+--- pyproject.toml.orig	2026-04-20 12:43:47 UTC
++++ pyproject.toml
+@@ -408,5 +408,5 @@ formatter-cmds = ["ruff check --exit-zero --fix $file"
+ formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
+ 
+ [build-system]
+-requires = ["uv_build>=0.11,<0.12"]
++requires = ["uv_build>=0.10.10,<0.12"]
+ build-backend = "uv_build"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e897de.37f3b.d52b2b3>