Re: RFS: python-translitcodec , python-mongokit

2012-01-29 Thread Jakub Wilk

* Clint Byrum , 2012-01-28, 15:04:
scripts/update_table.py tries to call sys.exit(), though it never 
imports sys.


It should be:

   if not (os.path.exists('translitcodec') and os.path.exists('transtab'))

rather than:

   if not os.path.exists('translitcodec') and os.path.exists('transtab')



These seem like upstream bugs that should be opened up.


Right.


Why "Priority: extra"?
I interpreted this library to match the clause in the description in 
the policy manual "are only likely to be useful if you already know 
what they are".


Libraries, even the obscure ones, can be useful even when end users 
know exactly nothing about them.


Or in other words: if a library has priority "extra", then all the 
packages that depend on it must also have priority "extra". Is that what 
you want? :)


It would be nice to run tests with all supported Python versions, not 
only the default one.

Can you recommend a good package to look at to implement this?


python-messaging

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120129133423.ga4...@jwilk.net



Re: New python-qt4 upload to experimental

2012-01-29 Thread Simon McVittie
On 29/01/12 05:28, Scott Kitterman wrote:
> 2.  It builds a new python3-pyqt4-dbus (and dbg) package that needs python3-
> dbus which is only available in experimental at the moment.

Thanks, I'd meant to ask if you could get that working but you were
obviously way ahead of me :-)

Did you build-depend on python-dbus-dev in addition to python-dbus and
python3-dbus? If not, please do so in the next upload - at the moment
python-dbus depends on python-dbus-dev as a transitional thing, but I'd
like to stop doing that. Normally I'd wait til after wheezy, but the
dbus-python C API is pretty niche (main loop integration and nothing
else), so I believe python-qt4 is the only user of the header/pkgconfig
in that package.

Thanks,
S


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f25ab3f.1040...@debian.org



call for testing: dbus-python/experimental

2012-01-29 Thread Simon McVittie
As Scott Kitterman has already noticed, dbus-python in experimental
supports Python 3 (kudos to Barry Warsaw for making that happen).

This required changes to both C and Python code, and Python 2 uses the
same codebase (with some #ifdef stuff), so please test the new version
with Python 2 apps and report any regressions to Debian or upstream
(dbus-python is in the freedesktop.org bugzilla).

If you test a range of Python 2 apps and *don't* notice regressions,
please let me know (private mail is probably easiest) and I'll get it
into unstable sooner!

Thanks,
S


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f25acfa.4040...@debian.org



Re: New python-qt4 upload to experimental

2012-01-29 Thread Piotr Ożarowski
[Scott Kitterman, 2012-01-29]
> 2.  It builds a new python3-pyqt4-dbus (and dbg) package that needs python3-
> dbus which is only available in experimental at the moment.

why not python3-dbus.mainloop.qt?
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120129214610.gn19...@piotro.eu



Re: New python-qt4 upload to experimental

2012-01-29 Thread Scott Kitterman


"Piotr Ożarowski"  wrote:

>[Scott Kitterman, 2012-01-29]
>> 2.  It builds a new python3-pyqt4-dbus (and dbg) package that needs
>python3-
>> dbus which is only available in experimental at the moment.
>
>why not python3-dbus.mainloop.qt?

Because I didn't think it through when naming the package. Fortunately I messed 
up the upload and it got rejected, so I can change it (and fix the dbus depends 
too).

Scott K


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/e7567857-f45e-4c5b-a30c-d8d75c9b0...@email.android.com



Re: RFS: python-translitcodec , python-mongokit

2012-01-29 Thread Barry Warsaw
On Jan 28, 2012, at 03:04 PM, Clint Byrum wrote:

>Can you recommend a good package to look at to implement this?

You can look at the flufl.enum (or any of the flufl.*) packages for this
(among others, I'm sure).  I have enabled builds and tests for all supported
versions of Python, including both Python 2 and Python 3.  I think it's
representative of what you have to do today, at least for pure-Python
libraries.

Cheers,
-Barry


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120129173042.63bc5...@resist.wooz.org



Re: RFS: python-translitcodec , python-mongokit

2012-01-29 Thread Jakub Wilk

* Barry Warsaw , 2012-01-29, 17:30:

Can you recommend a good package to look at to implement this?

You can look at the flufl.enum


Why does it print "nocheck set, skipping tests" in every target 
(including e.g. clean) if DEB_BUILD_OPTIONS=nocheck is set? :)


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120129223837.ga2...@jwilk.net



Re: New python-qt4 upload to experimental

2012-01-29 Thread Scott Kitterman
On Sunday, January 29, 2012 08:25:35 PM Simon McVittie wrote:
> On 29/01/12 05:28, Scott Kitterman wrote:
> > 2.  It builds a new python3-pyqt4-dbus (and dbg) package that needs
> > python3- dbus which is only available in experimental at the moment.
> 
> Thanks, I'd meant to ask if you could get that working but you were
> obviously way ahead of me :-)
> 
> Did you build-depend on python-dbus-dev in addition to python-dbus and
> python3-dbus? If not, please do so in the next upload - at the moment
> python-dbus depends on python-dbus-dev as a transitional thing, but I'd
> like to stop doing that. Normally I'd wait til after wheezy, but the
> dbus-python C API is pretty niche (main loop integration and nothing
> else), so I believe python-qt4 is the only user of the header/pkgconfig
> in that package.

I had to re-upload it due to an error on my part, so I added this.

The binary name we ended up with is python3-dbus.mainloop.qt, so the python3-
dbus recommends will need updating in your next upload (your gues was quite 
reasonable given the python package name, but we're taking advantage of new 
packages in python3 to use Python pollicy compliant package naming (which the 
python ones aren't).

Scott K


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1913252.2lYPHvzTUo@scott-latitude-e6320



Re: New python-qt4 upload to experimental

2012-01-29 Thread Scott Kitterman
On Sunday, January 29, 2012 10:46:12 PM Piotr Ożarowski wrote:
> [Scott Kitterman, 2012-01-29]
> 
> > 2.  It builds a new python3-pyqt4-dbus (and dbg) package that needs
> > python3- dbus which is only available in experimental at the moment.
> 
> why not python3-dbus.mainloop.qt?

Fixed.  Thanks,

Scott K


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1442842.doPDCXjO8U@scott-latitude-e6320