Package: patsy
Version: 0.2.1-2
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch trusty

Hello,

patsy's autopkgtest currently fails [1]:

| blame: arg:patsy_0.2.1-2.dsc dsc:patsy
| badpkg: Test Depends field contains an invalid dependency `'
| adt-run: erroneous package: Test Depends field contains an invalid
| dependency `'
| adt-run1: ** stop
| adt-run1: ** close,
| scratch=tb-scratch~/tmp/adt-run.9Ko5wG:-/|/tmp/adt-run.9Ko5wG/!
| Connection to localhost closed.
| 2013-10-25 04:55:17 PM: Failure: adt-run exited with status 12.

That's because autopkgtest does not currently support line-wrapped
dependencies.

After fixing that, the test still fails because it cannot import the
"patsy" python module. That's because currently debian/tests/control
pulls in python-pandas, I suppose that was a copy&paste error.

Attached debdiff fixes both, and the test works fine now in a pristine
VM with autopkgtest.

Thanks for considering,

Martin

[1] https://jenkins.qa.ubuntu.com/job/trusty-adt-patsy/1/?
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru patsy-0.2.1/debian/changelog patsy-0.2.1/debian/changelog
--- patsy-0.2.1/debian/changelog        2013-10-21 21:55:46.000000000 +0200
+++ patsy-0.2.1/debian/changelog        2013-10-28 09:06:59.000000000 +0100
@@ -1,3 +1,10 @@
+patsy (0.2.1-2ubuntu1) trusty; urgency=low
+
+  * Don't wrap test dependencies, autopkgtest does not currently support that.
+  * Actually test-depend on python[3]-patsy, not -pandas.
+
+ -- Martin Pitt <[email protected]>  Mon, 28 Oct 2013 08:59:47 +0100
+
 patsy (0.2.1-2) unstable; urgency=low
 
   * Initial official Debian package (Closes: #718429)
diff -Nru patsy-0.2.1/debian/tests/control patsy-0.2.1/debian/tests/control
--- patsy-0.2.1/debian/tests/control    2013-10-21 21:55:46.000000000 +0200
+++ patsy-0.2.1/debian/tests/control    2013-10-28 09:03:37.000000000 +0100
@@ -1,11 +1,5 @@
 Tests: unittests
-Depends: python-all,
-         python-nose,
-         python-numpy,
-         python-pandas,
+Depends: python-all, python-nose, python-numpy, python-patsy
 
 Tests: unittests3
-Depends: python3-all,
-         python3-nose,
-         python3-numpy,
-         python3-pandas,
+Depends: python3-all, python3-nose, python3-numpy, python3-patsy

Reply via email to