BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/310052

Change subject: debian: Explictly manage python dependencies
......................................................................

debian: Explictly manage python dependencies

We live in a wacky world where we are trying to support precise, trusty and
jessie hosts with a single package. We are also using build tooling that
doesn't exist in the precise universe. This combination leads to bad
automatically computed dependencies for generated deb packages due to minor
version differences between the trusty hosts that can build the package from
source and the precise hosts where we would like to install. I couldn't find
any method of hinting to the dh-python tooling that fills in the
${python:Depends} macro that we really are ok with any python 2.7.x revision
as a runtime dependency.

Bug: T145326
Change-Id: I87976fc0bf965cb98f1321c33bcd52b7e3b31e45
---
M debian/changelog
M debian/control
2 files changed, 9 insertions(+), 4 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/software/tools-webservice 
refs/changes/52/310052/1

diff --git a/debian/changelog b/debian/changelog
index 7db2f84..36d8c3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+toollabs-webservice (0.27) trusty; urgency=medium
+
+  * Fix package dependencies to work with Precise hosts
+
+ -- bd808 <[email protected]>  Mon, 12 Sep 2016 17:27:09 +0000
+
 toollabs-webservice (0.26) trusty; urgency=medium
 
   * Add webservice warning for lighttpd-precise
@@ -8,13 +14,13 @@
 
   * Fix generic webservices on gridengine
 
- -- yuvipanda <yuvipanda@picard>  Fri, 19 Aug 2016 09:32:54 -0700
+ -- yuvipanda <[email protected]>  Fri, 19 Aug 2016 09:32:54 -0700
 
 toollabs-webservice (0.24) trusty; urgency=medium
 
   * Fix tcl webservice type to use lighttpd plain than PHP
 
- -- yuvipanda <yuvipanda@picard>  Mon, 15 Aug 2016 13:58:17 -0700
+ -- yuvipanda <[email protected]>  Mon, 15 Aug 2016 13:58:17 -0700
 
 toollabs-webservice (0.23) trusty; urgency=low
 
diff --git a/debian/control b/debian/control
index 54740f9..71d4fd2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,11 @@
 Section: python
 Priority: optional
 Build-Depends: python-setuptools, python-all, debhelper (>= 9), dh-python
-Depends: python-jsonpatch, python-six, python-requests, python-yaml, 
python-pykube
 Standards-Version: 3.9.5
 
 Package: toollabs-webservice
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: python-jsonpatch, python-six, python-requests, python-yaml, 
python-pykube, ${misc:Depends}, python:any (<< 2.8), python:any (>= 2.7), python
 Description: Infrastructure for running webservices on tools.wmflabs.org
  Provides scripts and a python package for running and controlling
  user provided webservices on tools.wmflabs.org.

-- 
To view, visit https://gerrit.wikimedia.org/r/310052
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87976fc0bf965cb98f1321c33bcd52b7e3b31e45
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/tools-webservice
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to