Merge ~lvoytek/ubuntu/+source/hyperkitty:add-django4-support-mantic into ubuntu/+source/hyperkitty:ubuntu/devel

Proposed by Lena Voytek
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: 6deeab9585d4ba522229aa4978cc4393d59b5591
Proposed branch: ~lvoytek/ubuntu/+source/hyperkitty:add-django4-support-mantic
Merge into: ubuntu/+source/hyperkitty:ubuntu/devel
Diff against target: 73 lines (+31/-2)
4 files modified
debian/changelog (+9/-0)
debian/control (+3/-2)
debian/patches/django4-compatibility.patch (+18/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Bryce Harrington (community) Approve
Canonical Server MOTU reviewers Pending
Canonical Server Reporter Pending
Review via email: mp+449116@code.launchpad.net

Description of the change

Allow builds against Django 4.2 for hyperkitty

PPA: https://launchpad.net/~lvoytek/+archive/ubuntu/django-4-mantic

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

Verified the PPA built ok, and packaging is all correct.
LGTM, +1.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: bryce, lvoytek
Uploaders: bryce
MP auto-approved

review: Approve
Revision history for this message
Lena Voytek (lvoytek) wrote :

Thanks Bryce! Would you be willing to sponsor this one too?

Revision history for this message
Bryce Harrington (bryce) wrote :

Upload sponsored:

 fixup_buildinfo hyperkitty_1.3.7-1ubuntu1.dsc hyperkitty_1.3.7-1ubuntu1_source.buildinfo
 signfile buildinfo hyperkitty_1.3.7-1ubuntu1_source.buildinfo A661100B3DAC1D4F2CAD8A54E603B2578FB8F0FB

 fixup_changes dsc hyperkitty_1.3.7-1ubuntu1.dsc hyperkitty_1.3.7-1ubuntu1_source.changes
 fixup_changes buildinfo hyperkitty_1.3.7-1ubuntu1_source.buildinfo hyperkitty_1.3.7-1ubuntu1_source.changes
 signfile changes hyperkitty_1.3.7-1ubuntu1_source.changes A661100B3DAC1D4F2CAD8A54E603B2578FB8F0FB

Successfully signed dsc, buildinfo, changes files
triage-mantic+23.10: ~/pkg/Hyperkitty/review-lp2022089/hyperkitty-gu$ grep ^Vcs ../hyperkitty_1.3.7-1ubuntu1_source.changes
Vcs-Git: https://git.launchpad.net/~bryce/ubuntu/+source/hyperkitty
Vcs-Git-Commit: 6deeab9585d4ba522229aa4978cc4393d59b5591
Vcs-Git-Ref: refs/heads/add-django4-support-mantic
triage-mantic+23.10: ~/pkg/Hyperkitty/review-lp2022089/hyperkitty-gu$ dput ubuntu ../hyperkitty_1.3.7-1ubuntu1_source.changes
D: Setting host argument.
Checking signature on .changes
gpg: ../hyperkitty_1.3.7-1ubuntu1_source.changes: Valid signature from E603B2578FB8F0FB
Checking signature on .dsc
gpg: ../hyperkitty_1.3.7-1ubuntu1.dsc: Valid signature from E603B2578FB8F0FB
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading hyperkitty_1.3.7-1ubuntu1.dsc: done.
  Uploading hyperkitty_1.3.7.orig.tar.gz: done.
  Uploading hyperkitty_1.3.7-1ubuntu1.debian.tar.xz: done.
  Uploading hyperkitty_1.3.7-1ubuntu1_source.buildinfo: done.
  Uploading hyperkitty_1.3.7-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index f9c4d02..fbb2d40 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+hyperkitty (1.3.7-1ubuntu1) mantic; urgency=medium
7+
8+ * Add Django 4.2 compatibility (LP: #2022089)
9+ - d/p/django4-compatibility.patch: Add Django 4.2 as a possible dependency
10+ in setup.py
11+ - d/control: Allow Django 4.2 as a dependency
12+
13+ -- Lena Voytek <lena.voytek@canonical.com> Mon, 14 Aug 2023 09:44:57 -0700
14+
15 hyperkitty (1.3.7-1) unstable; urgency=medium
16
17 * New upstream release 1.3.7
18diff --git a/debian/control b/debian/control
19index cb21195..11e44dc 100644
20--- a/debian/control
21+++ b/debian/control
22@@ -1,7 +1,8 @@
23 Source: hyperkitty
24 Section: python
25 Priority: optional
26-Maintainer: Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>
27+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
28+XSBC-Original-Maintainer: Debian Mailman Team <pkg-mailman-hackers@lists.alioth.debian.org>
29 Uploaders: Pierre-Elliott Bécue <peb@debian.org>,
30 Jonas Meurer <jonas@freesources.org>
31 Build-Depends: debhelper-compat (= 13),
32@@ -9,7 +10,7 @@ Build-Depends: debhelper-compat (= 13),
33 python3-all,
34 python3-bs4,
35 python3-django (>= 2:3.2),
36- python3-django (<< 3:4.2),
37+ python3-django (<< 3:4.3),
38 python3-django-compressor,
39 python3-django-extensions,
40 python3-django-gravatar2,
41diff --git a/debian/patches/django4-compatibility.patch b/debian/patches/django4-compatibility.patch
42new file mode 100644
43index 0000000..124f661
44--- /dev/null
45+++ b/debian/patches/django4-compatibility.patch
46@@ -0,0 +1,18 @@
47+Description: Mark Django versions 3.2 to 4.2 as compatible
48+Author: Mark Sapiro <mark@msapiro.net>
49+Origin: backport, https://gitlab.com/mailman/hyperkitty/-/commit/03e912622a56b8178d00ed872aa6218715d67f6e
50+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/hyperkitty/+bug/2022089
51+Last-Update: 2023-08-14
52+---
53+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
54+--- a/setup.py
55++++ b/setup.py
56+@@ -37,7 +37,7 @@
57+
58+ # Requirements
59+ REQUIRES = [
60+- "django>=3.2,<4.2",
61++ "django>=3.2,<4.3",
62+ "django_mailman3>=1.3.8",
63+ "django-gravatar2>=1.0.6",
64+ "djangorestframework>=3.0.0",
65diff --git a/debian/patches/series b/debian/patches/series
66index 41393d8..d8b65db 100644
67--- a/debian/patches/series
68+++ b/debian/patches/series
69@@ -1,3 +1,4 @@
70 0001_README_remove_embedded_images.patch
71 0002_Use_python3_by_default.patch
72 0003-run-sassc-at-build-time.patch
73+django4-compatibility.patch

Subscribers

People subscribed via source and target branches

to all changes: