Re: [Vincent Bernat] Re: [Python-modules-team] python-axiom REMOVED from testing

2008-01-25 Thread Bernd Zeimetz
Hi,

>> I attach  a diff for this change  using quilt. I have  also upgraded the
>> package to  the new  0.5.27. I  have added myself  to Uploaders.  I have
>> tried to commit this but I get this error:
>>  svn: Commit failed (details follow):
>>  svn: Authorization failed

the best way to take care of this is to join the python modules team on
alioth. Fastest way to get a sponsoring or answers to your questions is
to join us in #debian-python on the OFTC network.

Cheers,

Bernd

-- 
Bernd Zeimetz
<[EMAIL PROTECTED]> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Vincent Bernat] Re: [Python-modules-team] python-axiom REMOVED from testing

2008-01-25 Thread Tristan Seligmann
* Vincent Bernat <[EMAIL PROTECTED]> [2008-01-25 19:45:04 +0100]:

> I have posted  this message in python-modules-team mailing  list but got
> no answer. Looking  at the archives, it seems that  posting to this list
> is pretty rare (except for BTS). So, I post this message here too.

Thanks for the patch! As it so happens, I was planning on updating to
the latest upstream version this weekend, so I'll probably just use your
patch instead.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


signature.asc
Description: Digital signature


[Vincent Bernat] Re: [Python-modules-team] python-axiom REMOVED from testing

2008-01-25 Thread Vincent Bernat
Hi !

I have posted  this message in python-modules-team mailing  list but got
no answer. Looking  at the archives, it seems that  posting to this list
is pretty rare (except for BTS). So, I post this message here too.



pgpT2OmkrqqqT.pgp
Description: PGP signature
--- Begin Message ---
OoO Pendant le journal télévisé du jeudi 24 janvier 2008, vers 20:56, je
disais:

>> Previous version: 0.5.26-1
>> Current version:  (not in testing)
>> Hint: 
>> Bug #456832: python-axiom: FTBFS: exceptions.TypeError: 
>> set_progress_handler() takes exactly 2 arguments (1 given)

> This can be fixed by the following changeset:
>  http://divmod.org/trac/changeset/14739

> I attach  a diff for this change  using quilt. I have  also upgraded the
> package to  the new  0.5.27. I  have added myself  to Uploaders.  I have
> tried to commit this but I get this error:
>  svn: Commit failed (details follow):
>  svn: Authorization failed

Here  is an  updated patch  with  a manual  page for  axiomatic and  the
possibility to not run unittests on build.



pgpxKHwrrcEYV.pgp
Description: PGP signature
Index: debian/control
===
--- debian/control	(révision 4408)
+++ debian/control	(copie de travail)
@@ -2,13 +2,13 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <[EMAIL PROTECTED]>
-Uploaders: Stefano Zacchiroli <[EMAIL PROTECTED]>, Tristan Seligmann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python, python-support (>= 0.4)
+Uploaders: Stefano Zacchiroli <[EMAIL PROTECTED]>, Tristan Seligmann <[EMAIL PROTECTED]>, Vincent Bernat <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>= 5), cdbs (>= 0.4.43), python, python-support (>= 0.4), quilt, patchutils (>= 0.2.25)
 Build-Depends-Indep: python-twisted-core, python-twisted-conch, python-epsilon, python-pysqlite2
 Homepage: http://www.divmod.org/trac/wiki/DivmodAxiom
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-axiom/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-axiom/trunk/?op=log
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 
 Package: python-axiom
 Architecture: all
Index: debian/TODO.Debian
===
--- debian/TODO.Debian	(révision 4408)
+++ debian/TODO.Debian	(copie de travail)
@@ -1 +0,0 @@
-- run unit tests at build time
Index: debian/changelog
===
--- debian/changelog	(révision 4408)
+++ debian/changelog	(copie de travail)
@@ -1,9 +1,18 @@
-python-axiom (0.5.26-2) UNRELEASED; urgency=low
+python-axiom (0.5.27-1) UNRELEASED; urgency=low
 
+  [ Vincent Bernat ]
+  * New upstream release.
+  * Bump Standards-Version
+  * Fix failing unittests that were calling set_progress_handler() without
+a second argument (Closes: #456832).
+  * Do not run unittests if nocheck is present in DEB_BUILD_OPTIONS
+  * Provide a manual page for axiomatic command
+  
+  [ Sandro Tosi ]
   * debian/control
 - uniforming Vcs-Browser field
 
- -- Sandro Tosi <[EMAIL PROTECTED]>  Thu, 03 Jan 2008 11:59:15 +0100
+ -- Vincent Bernat <[EMAIL PROTECTED]>  Thu, 24 Jan 2008 20:31:45 +0100
 
 python-axiom (0.5.26-1) unstable; urgency=low
 
Index: debian/patches/progresshandler-fix.patch
===
--- debian/patches/progresshandler-fix.patch	(révision 0)
+++ debian/patches/progresshandler-fix.patch	(révision 0)
@@ -0,0 +1,90 @@
+This patch is stolen from changeset 14739:
+ http://divmod.org/trac/changeset/14739
+See bug #2468:
+ http://divmod.org/trac/ticket/2468
+It fixes the Debian bug #456832
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456832
+
+Index: Axiom/axiom/test/util.py
+===
+--- Axiom/axiom/test/util.py (revision 10861)
 Axiom/axiom/test/util.py (revision 14739)
+@@ -98,9 +98,8 @@
+ if sph is None:
+ raise SkipTest(
+-"Your version of PySQLite does not expose the "
+-"set_progress_handler API.  A patch which does so "
+-"is available from "
+-"http://initd.org/tracker/pysqlite/ticket/182";)
+-sph(self.progressHandler)
++"QueryCounter requires PySQLite 2.4 or newer, or a patch "
++"(see ) to "
++"expose the set_progress_handler API.")
++sph(self.progressHandler, 1)
+ 
+ def progressHandler(self):
+Index: Axiom/axiom/test/test_query.py
+===
+--- Axiom/axiom/test/test_query.py (revision 13104)
 Axiom/axiom/test/test_query.py (revision 14739)
+@@ -7,4 +7,5 @@
+ from axiom.store import Store, ItemQuery
+ from axiom.item import Item, Placeholder
++from axiom.test.util