Merge ~lucaskanashiro/ubuntu/+source/python-seamicroclient:merge into ubuntu/+source/python-seamicroclient:debian/sid

Proposed by Lucas Kanashiro
Status: Merged
Merge reported by: Lucas Kanashiro
Merged at revision: 8f7310021f9c319ff57f93eb04df0bd2b019841a
Proposed branch: ~lucaskanashiro/ubuntu/+source/python-seamicroclient:merge
Merge into: ubuntu/+source/python-seamicroclient:debian/sid
Diff against target: 165 lines (+104/-2)
4 files modified
debian/changelog (+70/-0)
debian/control (+2/-2)
debian/patches/add-pkg-info.patch (+31/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Ubuntu Server Developers Pending
Review via email: mp+381513@code.launchpad.net

Description of the change

It FTBFS in focal at the moment and it was fixed in Debian. The delta was kept:

    - d/control: Drop Build-Depends on python-hacking since we don't use pep8 testing.
    - d/p/add-pkg-info.patch: Add PKG-INFO in top level dir to set egg version
      [Updated version and DEP3 header]

Here is my PPA with the proposed package built:

https://launchpad.net/~lucaskanashiro/+archive/ubuntu/focal-python-seamicroclient-fix-ftbfs/+packages

P.S.: for more info about the FTBFS issue check the previous MP here:

https://code.launchpad.net/~lucaskanashiro/ubuntu/+source/python-seamicroclient/+git/python-seamicroclient/+merge/381474

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Re-review - yes as merge it LGTM.
+1

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Actually the changelog is too wide, but I can fix this up on upload

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

And you copy&pasted it from bryce :-)

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/python-seamicroclient
 * [new tag] upload/0.4.0+2016.05.20.git.40ee44c664-3ubuntu1 -> upload/0.4.0+2016.05.20.git.40ee44c664-3ubuntu1

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading python-seamicroclient_0.4.0+2016.05.20.git.40ee44c664-3ubuntu1.dsc: done.
  Uploading python-seamicroclient_0.4.0+2016.05.20.git.40ee44c664.orig.tar.xz: done.
  Uploading python-seamicroclient_0.4.0+2016.05.20.git.40ee44c664-3ubuntu1.debian.tar.xz: done.
  Uploading python-seamicroclient_0.4.0+2016.05.20.git.40ee44c664-3ubuntu1_source.buildinfo: done.
  Uploading python-seamicroclient_0.4.0+2016.05.20.git.40ee44c664-3ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

It already migrated to focal.

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 b786443..a2487cf 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,9 +1,27 @@
6+python-seamicroclient (0.4.0+2016.05.20.git.40ee44c664-3ubuntu1) focal; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - d/control: Drop Build-Depends on python-hacking since we don't use pep8 testing.
10+ - d/p/add-pkg-info.patch: Add PKG-INFO in top level dir to set egg version
11+ [Updated version and DEP3 header]
12+
13+ -- Lucas Kanashiro <lucas.kanashiro@canonical.com> Wed, 01 Apr 2020 11:39:54 -0300
14+
15 python-seamicroclient (0.4.0+2016.05.20.git.40ee44c664-3) unstable; urgency=medium
16
17 * Fixup calling unit tests, which fixes FTBFS (Closes: #950044).
18
19 -- Thomas Goirand <zigo@debian.org> Fri, 31 Jan 2020 16:34:57 +0100
20
21+python-seamicroclient (0.4.0+2016.05.20.git.40ee44c664-2ubuntu1) eoan; urgency=medium
22+
23+ * Merge with Debian unstable. Remaining changes:
24+ - d/control: Drop Build-Depends on python-hacking since we don't use pep8 testing.
25+ - d/p/add-pkg-info.patch: Add PKG-INFO in top level dir to set egg version
26+ [Updated version and DEP3 header]
27+
28+ -- Bryce Harrington <bryce@canonical.com> Tue, 06 Aug 2019 16:49:39 -0700
29+
30 python-seamicroclient (0.4.0+2016.05.20.git.40ee44c664-2) unstable; urgency=medium
31
32 [ Ondřej Nový ]
33@@ -43,6 +61,22 @@ python-seamicroclient (0.4.0+2016.05.20.git.40ee44c664-1) experimental; urgency=
34
35 -- Thomas Goirand <zigo@debian.org> Tue, 26 Mar 2019 11:05:49 +0100
36
37+python-seamicroclient (0.4.0-1ubuntu1) xenial; urgency=low
38+
39+ * Merge from Debian unstable. Remaining changes:
40+ - Add python3 support:
41+ + debian/rules: Build/test with python3
42+ + debian/patches/python3-support.patch.
43+ + debian/control: Add build-deps/package for python3.
44+ - Drop Build-Depends on python-hacking since we don't use pep8 testing.
45+ * debian/patches:
46+ - fix-tests.patch: Drop. No longer needed.
47+ - skip-tests.patch: Drop. No longer needed.
48+ - add-pkg-info.patch: Add PKG-INFO in top level dir so it doesn't FTBFS.
49+ - debian/control: Depends on python3-mock and python3-requests.
50+
51+ -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 03 Feb 2016 12:49:38 +0100
52+
53 python-seamicroclient (0.4.0-1) experimental; urgency=medium
54
55 * New upstream release.
56@@ -51,6 +85,42 @@ python-seamicroclient (0.4.0-1) experimental; urgency=medium
57
58 -- Thomas Goirand <zigo@debian.org> Tue, 08 Sep 2015 00:08:05 +0200
59
60+python-seamicroclient (0.2.1-0ubuntu2) xenial; urgency=medium
61+
62+ * Add python3 support.
63+ * debian/patches/python3-support.patch
64+
65+ -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 17 Nov 2015 09:15:22 -0500
66+
67+python-seamicroclient (0.2.1-0ubuntu1) trusty-proposed; urgency=medium
68+
69+ * New upstream bugfix release.
70+ - This release only fixes connection issues when trying to power on/off
71+ multiple nodes at the same time. (LP: #1311140)
72+ * debian/patches/fix-tests.patch: Fix tests.
73+
74+ -- Andres Rodriguez <andreserl@ubuntu.com> Tue, 22 Apr 2014 12:18:19 -0400
75+
76+python-seamicroclient (0.2.0-0ubuntu1) trusty; urgency=medium
77+
78+ * New upstream release (LP: #1305220)
79+ - Remove use of auth_token for REST API. Fixes concurrent access by
80+ using user/password each time instead of auth_token (LP: #1302828)
81+ * debian/watch: Updated to include correct URL link.
82+
83+ -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 09 Apr 2014 13:37:27 -0400
84+
85+python-seamicroclient (0.1.0-2ubuntu1) trusty; urgency=medium
86+
87+ * debian/control:
88+ - Drop Build-Depends on python-hacking since we don't use pep8 testing.
89+ - Add Build-Depends on python-requests.
90+ * debian/rules: Run tests with testr instead.
91+ * debian/patches/skip-tests.patch: Skip various tests as they require to
92+ have actual hardware to test against.
93+
94+ -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 28 Mar 2014 12:17:18 -0400
95+
96 python-seamicroclient (0.1.0-2) unstable; urgency=medium
97
98 * Added missing build-depends: openstack-pkg-tools (Closes: #741539).
99diff --git a/debian/control b/debian/control
100index 3ca59fa..18729ec 100644
101--- a/debian/control
102+++ b/debian/control
103@@ -1,7 +1,8 @@
104 Source: python-seamicroclient
105 Section: python
106 Priority: optional
107-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
108+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
109+XSBC-Original-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
110 Uploaders:
111 Thomas Goirand <zigo@debian.org>,
112 Build-Depends:
113@@ -16,7 +17,6 @@ Build-Depends-Indep:
114 python3-babel,
115 python3-coverage,
116 python3-fixtures,
117- python3-hacking,
118 python3-iso8601,
119 python3-keyring,
120 python3-mock,
121diff --git a/debian/patches/add-pkg-info.patch b/debian/patches/add-pkg-info.patch
122new file mode 100644
123index 0000000..b8b97cf
124--- /dev/null
125+++ b/debian/patches/add-pkg-info.patch
126@@ -0,0 +1,31 @@
127+Description: Adds PKG-INFO for the package
128+ Without this, the egg is incorrectly set to version 0.0.1.dev10.
129+ For version <= 0.4.0, also fixed FTBS with python setup.py build.
130+Author: Andres Rodriguez <andreserl@ubuntu.com>
131+Origin: vendor
132+Reviewed-By: Bryce Harrington <bryce@canonical.com>
133+Last-Updated: 2019-08-05
134+
135+--- /dev/null
136++++ python-seamicroclient-0.4.0/PKG-INFO
137+@@ -0,0 +1,20 @@
138++Metadata-Version: 1.1
139++Name: python-seamicroclient
140++Version: 0.4.0+2016.05.20.git.40ee44c664
141++Summary: Client library for Seamicro chassis API
142++Home-page: https://github.com/seamicro/python-seamicroclient
143++Author: AMD
144++Author-email: rohan.kanade@izeltech.com
145++License: Apache License, Version 2.0
146++Description: Python client for consuming SeaMicro REST API v2.0
147++
148++
149++Platform: UNKNOWN
150++Classifier: Development Status :: 4 - Beta
151++Classifier: Environment :: Console
152++Classifier: Environment :: Web Environment
153++Classifier: Intended Audience :: Developers
154++Classifier: Intended Audience :: Information Technology
155++Classifier: License :: OSI Approved :: Apache Software License
156++Classifier: Operating System :: OS Independent
157++Classifier: Programming Language :: Python
158diff --git a/debian/patches/series b/debian/patches/series
159index 2438367..ca7c4bf 100644
160--- a/debian/patches/series
161+++ b/debian/patches/series
162@@ -1,2 +1,3 @@
163 fix-requirements.txt.patch
164 removed-failing-tests.patch
165+add-pkg-info.patch

Subscribers

People subscribed via source and target branches