Re: Numpy dh_python2

2012-03-19 Thread Sandro Tosi
On Sun, Mar 18, 2012 at 15:28, Julian Taylor
jtaylor.deb...@googlemail.com wrote:
 thanks for updating numpy and adding py3.
 There is a failure in the testsuite in experimental that doesn't occur
 in testing. The build only works because the result of the tests are
 ignored in rules (and it is not documented why).
 Is this known?

I think it was discussed recently, anyhow the reason is that numpy
tends to need several fixed on uncommon architectures when a new
upstream release, so I'm lazy and I leave the tests to not-fail, so I
can collect several errors and contact upstream in batch, instead of
fix a arch - reupload - another arch fail - ask upstream dance. It
just needs to check the log of the build...

 Running unit tests for numpy
 NumPy version 1.6.1
 NumPy is installed in
 /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
 Python version 2.7.3rc1 (default, Mar 10 2012, 00:01:06) [GCC 4.6.3]
 nose version 1.1.2
 .Debug memory block at address p=0xaa13400: API 'm'
    8 bytes originally requested
    The 3 pad bytes at p-3 are FORBIDDENBYTE, as expected.
    The 4 pad bytes at tail=0xaa13408 are FORBIDDENBYTE, as expected.
    The block was made by call #1026630 to debug malloc/realloc.
    Data at p: a3 03 00 00 00 00 00 00
 Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
 Running unit tests for numpy
 NumPy version 1.6.1
 NumPy is installed in
 /build/buildd-python-numpy_1.6.1-6-i386-lYkcLV/python-numpy-1.6.1/debian/tmp/usr/lib/python2.7/dist-packages/numpy
 Python version 2.7.3rc1 (default, Mar  9 2012, 23:29:14) [GCC 4.6.3]
 nose version 1.1.2
 Aborted

... which clearly I didn't this time :( could you please file a bug
about that? it fails on 2.7.3rc1 and on 3.2.3rc1 so I suspect it's
related to some recent upstream changes. i'm already opening a bug
upstream.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--
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/CAB4XWXxyLHowCjhVaytp02u80=akch4fjwouuyurukqog9-...@mail.gmail.com



Re: Numpy dh_python2

2012-03-17 Thread Sandro Tosi
On Sat, Mar 17, 2012 at 00:09, Sandro Tosi mo...@debian.org wrote:
 On Fri, Mar 16, 2012 at 15:05, Sandro Tosi mo...@debian.org wrote:
 Well, before I can say anything more I'll have to get my hands dirty.

 that I'm doing right away; I've committed your diff as you sent, and
 I'm working on polishing it a bit, something including:

 - include dirs for py3k
 - f2py for py3k
 - tests are not run for python 3 interpreters

 just minor stuff like that.

that stuff is done and the package is uploaded: Thanks for your contribution!

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


-- 
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/CAB4XWXyaBstPXT=udylybx0vq1rvv-koengcl0f-wdcrwft...@mail.gmail.com



Re: Numpy dh_python2

2012-03-17 Thread Thomas Kluyver
On 17 March 2012 15:00, Sandro Tosi mo...@debian.org wrote:
 that stuff is done and the package is uploaded: Thanks for your contribution!

Great, thanks for putting in the time to finalise it.

Thomas


-- 
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/caovn4qhbq4am5mdmrxh7wt+0zsastmo7ecr30-yghapowda...@mail.gmail.com



Re: Numpy dh_python2

2012-03-16 Thread Matthias Klose

On 16.03.2012 02:15, Thomas Kluyver wrote:

After some trial and error, I've got it building python3-numpy
(leaving python-support in place for Python 2) - a patch is attached.
I've checked that I can install and import the built package.

Changes and suggestions are welcome, and I expect there are better
ways to do bits of it. I'm away for the weekend, so it'll be a few
days before I can work on it again. For now, I've ignored the dh_numpy
and ABI/API versions, but I guess we'll want to make Py3 versions of
them.


thanks for the patch. I'll upload it next week, re-adding myself as an uploader, 
apparently silently removed.


  Matthias


--
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/4f6333db.6080...@debian.org



Re: Numpy dh_python2

2012-03-16 Thread Jakub Wilk

* Matthias Klose d...@debian.org, 2012-03-16, 13:36:

re-adding myself as an uploader, apparently silently removed.


Well, from my IRC log (2011-08-27):

22:43  jwilk morph_: Out of interest, did you ask the former Numpy 
co-maintainers if they are ok with removing them from Uploaders? :
22:43  morph_ jwilk: of course
22:43  jwilk Did they reply?
22:43  morph_ jwilk: no all of them, I gave 2 weeks of time to do that

(Presumably no all is a typo for none.)

Also, you surely received this mail, which is quite explicit:
http://lists.debian.org/debian-devel-changes/2011/09/msg01361.html

--
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/20120316132921.ga7...@jwilk.net



Re: Numpy dh_python2

2012-03-16 Thread Thomas Kluyver
On 16 March 2012 13:35, Sandro Tosi mo...@debian.org wrote:
 Thanks a lot for your work! I just gave it a quick look (i.e. reading
 the patch) and it seems that would work (at least for the packaging
 part). It would be also nice if you could post your patch at
 601...@bugs.debian.org, so also the BTS will be notified of the
 available patch.

Great, thanks Sandro, I'll post it to the bug. Let me know if there's
anything else I should be doing with it.

Best wishes,
Thomas


-- 
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/caovn4qgpt7vg32n0po1sag39li9qgl3td+kmgors8pya_yd...@mail.gmail.com



Re: Numpy dh_python2

2012-03-16 Thread Sandro Tosi
Hi Thomas,

On Fri, Mar 16, 2012 at 02:15, Thomas Kluyver tho...@kluyver.me.uk wrote:
 After some trial and error, I've got it building python3-numpy
 (leaving python-support in place for Python 2) - a patch is attached.
 I've checked that I can install and import the built package.

 Changes and suggestions are welcome, and I expect there are better
 ways to do bits of it. I'm away for the weekend, so it'll be a few
 days before I can work on it again. For now, I've ignored the dh_numpy
 and ABI/API versions, but I guess we'll want to make Py3 versions of
 them.

Thanks a lot for your work! I just gave it a quick look (i.e. reading
the patch) and it seems that would work (at least for the packaging
part). It would be also nice if you could post your patch at
601...@bugs.debian.org, so also the BTS will be notified of the
available patch.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


-- 
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/CAB4XWXyPKa_7MKa_rX368N=dDdMfynSFWaXfneM2=1n7j78...@mail.gmail.com



Re: Numpy dh_python2

2012-03-15 Thread Barry Warsaw
On Mar 15, 2012, at 10:11 AM, Scott Kitterman wrote:

Thomas Kluyver tak...@gmail.com wrote:
Sandro:
 I won't migrate to dh_python2, so it would be a waste of your time.

Why not? I thought python-support was deprecated, and everything was
supposed to move to dh_python2?

So, is it practical to usek dh_python3 for python 3 while keeping
python-support for python 2?

It's the maintainers choice. I'd encourage people to switch, but it's up to
them.

True, but to Thomas's question above, both python-support and python-central
are deprecated.

-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/20120315090140.3700f961@resist



Re: Numpy dh_python2

2012-03-15 Thread Thomas Kluyver
After some trial and error, I've got it building python3-numpy
(leaving python-support in place for Python 2) - a patch is attached.
I've checked that I can install and import the built package.

Changes and suggestions are welcome, and I expect there are better
ways to do bits of it. I'm away for the weekend, so it'll be a few
days before I can work on it again. For now, I've ignored the dh_numpy
and ABI/API versions, but I guess we'll want to make Py3 versions of
them.

Thanks,
Thomas


py3-numpy.patch
Description: Binary data