Merge ~michal-maloszewski99/ubuntu/+source/mako:fix-pkg-resources-mako into ubuntu/+source/mako:ubuntu/devel

Proposed by Michał Małoszewski
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merged at revision: 7086dd121d7f1a752f695ff973328a061ec70d1f
Proposed branch: ~michal-maloszewski99/ubuntu/+source/mako:fix-pkg-resources-mako
Merge into: ubuntu/+source/mako:ubuntu/devel
Diff against target: 37 lines (+9/-2)
2 files modified
debian/changelog (+6/-0)
debian/control (+3/-2)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
git-ubuntu bot Approve
Robie Basak Approve
Canonical Server Reporter Pending
Canonical Server Pending
Canonical Server Core Reviewers Pending
Michał Małoszewski Pending
Review via email: mp+425243@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robie Basak (racb) wrote :

Minor comments inline. I didn't notice these when we were cleaning up your branch for submission together. Sorry!

review: Needs Fixing
Revision history for this message
Robie Basak (racb) wrote :

+1, but can I also get a look from another team member please, to confirm that the approach I suggested to Michał here seems reasonable to you?

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

Approvers: racb, michal-maloszewski99
Uploaders: racb
MP auto-approved

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

> +1, but can I also get a look from another team member please, to confirm that
> the approach I suggested to Michał here seems reasonable to you?

I think this is fine, simple, and works.

review: Approve
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

LGTM.

From the dh-python code, I see that if we wanted to get the dependency through setup.py, adding "setuptools" to the install requires would do the trick.

This looks good enough though, given mako 1.2.0 will no longer need that dependency.

It would be worth to add a note regarding the dependency being dropped in mako 1.2.0 to aid the next person touching the package in a future potential sync (this could go in the commit message).

While forwarding this to Debian may not make much sense in case the maintainer is planing on packaging the new 1.2.0 version of mako soon, it would be nice to mention the fix in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010237 after it lands in kinetic.

Revision history for this message
Robie Basak (racb) wrote :

Uploaded.

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 49aad96..b4267ac 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+mako (1.1.3+ds1-3ubuntu1) kinetic; urgency=medium
7+
8+ * Add dependency on python3-pkg-resources (LP: #1970153).
9+
10+ -- Michał Małoszewski <michal.maloszewski@canonical.com> Wed, 22 Jun 2022 14:22:19 +0000
11+
12 mako (1.1.3+ds1-3) unstable; urgency=medium
13
14 [ Sandro Tosi ]
15diff --git a/debian/control b/debian/control
16index ba0de08..c28d200 100644
17--- a/debian/control
18+++ b/debian/control
19@@ -1,7 +1,8 @@
20 Source: mako
21 Section: python
22 Priority: optional
23-Maintainer: Piotr Ożarowski <piotr@debian.org>
24+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
25+XSBC-Original-Maintainer: Piotr Ożarowski <piotr@debian.org>
26 Uploaders: Debian Python Team <team+python@tracker.debian.org>
27 Testsuite: autopkgtest-pkg-python
28 Rules-Requires-Root: no
29@@ -18,7 +19,7 @@ Vcs-Browser: https://salsa.debian.org/python-team/packages/mako
30
31 Package: python3-mako
32 Architecture: all
33-Depends: ${python3:Depends}, ${misc:Depends}
34+Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
35 Breaks: python-mako (<< 1.1.0+ds1-1)
36 Replaces: python-mako (<< 1.1.0+ds1-1)
37 Suggests: ${python3:Suggests}, python3-beaker, python-mako-doc <!nodoc>

Subscribers

People subscribed via source and target branches