Summary: | devel/py-dj50-strawberry-graphql: Build fails with CHANNELS enabled due to mixed Django versions | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | James TD Smith <ahktenzero+freebsd> | ||||
Component: | Individual Port(s) | Assignee: | Kai Knoblich <kai> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | kai:
maintainer-feedback+
kai: merge-quarterly+ |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | 283044 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
James TD Smith
2024-11-29 20:58:08 UTC
(In reply to James TD Smith from comment #0) Hi James, thanks for the report and the patch. Once bug #283044 is resolved the attached patch here can be committed then. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0390c7452bc8ec51e51f4e9cbd9db591bbe3746 commit c0390c7452bc8ec51e51f4e9cbd9db591bbe3746 Author: James TD Smith <ahktenzero+freebsd@mohorovi.cc> AuthorDate: 2024-12-14 16:53:52 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-12-14 16:55:45 +0000 devel/py-dj50-strawberry-graphql: Fix handling for CHANNELS option * The CHANNELS option, if enabled, installs www/py-channels, which pulls in www/py-django42. The latter one conflicts with the DJANGO option, which installs www/py-django50, if enabled. Fix this issue by adjusting the CHANNELS option use the recently added www/py-dj50-channels, which uses www/py-django50, as a dependency. * Bump PORTREVISION due changed dependencies. Co-authored-by: Kai Knoblich <kai@FreeBSD.org> PR: 283045 Reported by: James TD Smith MFH: 2024Q4 devel/py-dj50-strawberry-graphql/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3 commit 6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3 Author: James TD Smith <ahktenzero+freebsd@mohorovi.cc> AuthorDate: 2024-12-14 16:51:20 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-12-14 16:55:45 +0000 www/py-dj50-channels: New port Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and other async support to your code, using familiar Django design patterns and a flexible underlying framework that lets you not only customize behaviours but also write support for your own protocols and needs. Happy to pass this port to its maintainer who already maintain the Django 4.2 variant of it. Co-authored-by: Kai Knoblich <kai@FreeBSD.org> PR: 283044, 283045 [1] Reported by: James TD Smith MFH: 2024Q4 (required to fix [1]) www/Makefile | 1 + www/py-dj50-channels/Makefile (new) | 27 +++++++++++++++++++++++++++ www/py-dj50-channels/distinfo (new) | 3 +++ www/py-dj50-channels/pkg-descr (new) | 4 ++++ 4 files changed, 35 insertions(+) (In reply to James TD Smith from comment #0) Committed to the main branch. I'm going to merge the patch into the 2024Q4 branch. A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ca2026333e4328d05ef459760d6eb0b997d851d commit 5ca2026333e4328d05ef459760d6eb0b997d851d Author: James TD Smith <ahktenzero+freebsd@mohorovi.cc> AuthorDate: 2024-12-14 16:53:52 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-12-15 10:16:05 +0000 devel/py-dj50-strawberry-graphql: Fix handling for CHANNELS option * The CHANNELS option, if enabled, installs www/py-channels, which pulls in www/py-django42. The latter one conflicts with the DJANGO option, which installs www/py-django50, if enabled. Fix this issue by adjusting the CHANNELS option use the recently added www/py-dj50-channels, which uses www/py-django50, as a dependency. * Bump PORTREVISION due changed dependencies. Co-authored-by: Kai Knoblich <kai@FreeBSD.org> PR: 283045 Reported by: James TD Smith MFH: 2024Q4 (cherry picked from commit c0390c7452bc8ec51e51f4e9cbd9db591bbe3746) devel/py-dj50-strawberry-graphql/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=311edf3c656730e185745743c0f51d64f30de3e4 commit 311edf3c656730e185745743c0f51d64f30de3e4 Author: James TD Smith <ahktenzero+freebsd@mohorovi.cc> AuthorDate: 2024-12-14 16:51:20 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2024-12-15 10:14:24 +0000 www/py-dj50-channels: New port Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and other async support to your code, using familiar Django design patterns and a flexible underlying framework that lets you not only customize behaviours but also write support for your own protocols and needs. Happy to pass this port to its maintainer who already maintain the Django 4.2 variant of it. Co-authored-by: Kai Knoblich <kai@FreeBSD.org> PR: 283044, 283045 [1] Reported by: James TD Smith MFH: 2024Q4 (required to fix [1]) (cherry picked from commit 6e0d3b5fc73fd05df664b07c8b1ab3a8aa41c9e3) www/Makefile | 1 + www/py-dj50-channels/Makefile (new) | 27 +++++++++++++++++++++++++++ www/py-dj50-channels/distinfo (new) | 3 +++ www/py-dj50-channels/pkg-descr (new) | 4 ++++ 4 files changed, 35 insertions(+) (In reply to James TD Smith from comment #0) Committed to the main branch and MFH'ed into the 2024Q4 branch, all done. Thanks for your report and patch! |