[FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-2 from Debian unstable (main)

Bug #525547 reported by Chris Halse Rogers
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Undecided
Unassigned

Bug Description

 affects ubuntu/ironpython
 subscribe motu-release

I'm filing this against the ironpython source package, as this sync will
supersede it.

Please sync dlr-languages from Debian NEW. This is the new source
package for the CLI Dynamic Language Runtime and the two official
dynamic languages: IronPython and IronRuby. In Debian it has taken over
the ironpython binary package with the consent of Matthias Klose, the
previous ironpython maintainer.

The benefits of this sync are:
*) A much newer IronPython, supporting Python 2.6
*) The new IronPython is now officially supported upstream by Microsoft
*) We get IronRuby

IronPython has no rdepends, so the risks within the archive are minimal.
As this updates IronPython from 1.1.3 which wasn't even CPython
2.5-compatible to 2.6 it's possible this will break some scripts for
users of IronPython, however.

Build, install & basic runtime logs attached.

Revision history for this message
Chris Halse Rogers (raof) wrote : [FFe] for dlr-languages sync from Debian NEW
Revision history for this message
StefanPotyra (sistpoty) wrote :

while I think the risk is pretty low, it still would need to go through new. If you can find an archive admin willing to take the job, I'm ok with getting it in.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 525547] Re: [FFe] for dlr-languages sync from Debian NEW

I'd like an explicit ack from doko that we want this.

Revision history for this message
C.J. Collier (cjcollier) wrote :

SYN

On Sat, 2010-03-06 at 22:38 +0000, Scott Kitterman wrote:
> I'd like an explicit ack from doko that we want this.
>

Revision history for this message
Matthias Klose (doko) wrote : Re: [FFe] for dlr-languages sync from Debian NEW

last time the package was rejected by Debian's ftp-masters; maybe wait until the packge is accepted. there's no reason to have it not in lcuid.

Revision history for this message
C.J. Collier (cjcollier) wrote :

Thanks doko.

The last rejection was due to my lack of complete licensing information, btw. It's been updated and has had a bit more review this time around. My fingers are crossed for a go-ahead from ftp-masters.

Revision history for this message
C.J. Collier (cjcollier) wrote :

dlr-languages is now in NEW

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481431#18

I assume that the next step is to petition an archive admin?

Revision history for this message
C.J. Collier (cjcollier) wrote :

er, the package has been ACCEPTED, I mean ;)

Revision history for this message
Savvas Radevic (medigeek) wrote :

It has landed in unstable: http://packages.qa.debian.org/d/dlr-languages.html
Should I rename it to "Please sync"?

Revision history for this message
C.J. Collier (cjcollier) wrote : Re: [Bug 525547] Re: [FFe] for dlr-languages sync from Debian NEW

Yes, please do.

On Sun, 2010-03-14 at 08:42 +0000, Savvas Radevic wrote:
> It has landed in unstable: http://packages.qa.debian.org/d/dlr-languages.html
> Should I rename it to "Please sync"?
>

summary: - [FFe] for dlr-languages sync from Debian NEW
+ [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian
+ unstable (main)
Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

Is a test case required? It's successfully built in an experimental PPA, here's the buildlog:
http://launchpadlibrarian.net/40936830/buildlog_ubuntu-lucid-i386.dlr-languages_20090805%2Bgit.e6b28d27%2Bdfsg-1~lucid1_FULLYBUILT.txt.gz

Revision history for this message
C.J. Collier (cjcollier) wrote :

I can put together hello world tests for ipy, ir, irake, igem, and a few tests for calling into .NET libs if you'd like.

Revision history for this message
C.J. Collier (cjcollier) wrote :

$ cat hello.py ; echo '---' ; ipy hello.py
import clr
clr.AddReference('System')
from System import Console
Console.WriteLine("Hello, World!")
---
Hello, World!

$ cat hello.rb ; echo '---' ; ir hello.rb
System::Console::WriteLine("Hello, World");
---
Hello, World

$ echo "" > Rakefile ; irake -T && echo $?
(in /usr/src/git/colliertech/dlr-examples)
0

$ igem --version
1.3.5

Revision history for this message
Chris Halse Rogers (raof) wrote :

Ok. So, this has made it through Debian NEW, thus fulfilling doko's precondition. It looks like this should be sync'd after beta freeze.

I'll prod again after Beta if it hasn't been dealt with.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 525547] Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

The freeze doesn't affect Universe.

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

I backported ironpython (2.6 Beta 2 DEBUG (2.6.0.20)) for karmic and lucid and tested it on both ubuntu 9.10 and daily build of future 10.04. I noticed two "bugs" (inconveniences might be a better word):

1. The command "import sys; print(sys.path)" doesn't contain python-2.6 directories by default. The older ironpython (1.1.1) does. Is this deliberate?

2. In the interactive shell, ctrl-z doesn't close the app anymore, I have to use "killall -9 ipy" as well. However, "import sys; sys.exit()" works! This reply in a bug report saved the day: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516396#15

The log for the first point:
$ ipy
IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['.', '/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/ironpython/DLLs', '/usr/lib/ironpython']
>>> sys.exit()

$ apt-cache policy ironpython
ironpython:
  Installed: 2.6~beta2-1~karmic1
  Candidate: 2.6~beta2-1~karmic1
  Version table:
 *** 2.6~beta2-1~karmic1 0
        100 /var/lib/dpkg/status
     1.1.1-3 0
        500 http://archive.ubuntu.com karmic/universe Packages

[ After downgrading to 1.1.1 ]

$ ipy
IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.path
['/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/python2.4', '/usr/lib/python2.4/site-packages']
>>>

Other than that, it looks pretty stable to me!

Revision history for this message
Savvas Radevic (medigeek) wrote :

> The older ironpython (1.1.1) does.
I mean it includes the path to python-2.4, not python-2.6

Revision history for this message
C.J. Collier (cjcollier) wrote : Re: [Bug 525547] Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

Dino,

Can you answer #1 below?

Cheers,

C.J.

On Wed, 2010-03-17 at 14:20 +0000, Savvas Radevic wrote:
> I backported ironpython (2.6 Beta 2 DEBUG (2.6.0.20)) for karmic and
> lucid and tested it on both ubuntu 9.10 and daily build of future 10.04.
> I noticed two "bugs" (inconveniences might be a better word):
>
> 1. The command "import sys; print(sys.path)" doesn't contain python-2.6
> directories by default. The older ironpython (1.1.1) does. Is this
> deliberate?
>
> 2. In the interactive shell, ctrl-z doesn't close the app anymore, I
> have to use "killall -9 ipy" as well. However, "import sys; sys.exit()"
> works! This reply in a bug report saved the day: http://bugs.debian.org
> /cgi-bin/bugreport.cgi?bug=516396#15
>
> The log for the first point:
> $ ipy
> IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.path
> ['.', '/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/ironpython/DLLs', '/usr/lib/ironpython']
> >>> sys.exit()
>
> $ apt-cache policy ironpython
> ironpython:
> Installed: 2.6~beta2-1~karmic1
> Candidate: 2.6~beta2-1~karmic1
> Version table:
> *** 2.6~beta2-1~karmic1 0
> 100 /var/lib/dpkg/status
> 1.1.1-3 0
> 500 http://archive.ubuntu.com karmic/universe Packages
>
>
> [ After downgrading to 1.1.1 ]
>
> $ ipy
> IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1433
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> import sys
> >>> sys.path
> ['/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/python2.4', '/usr/lib/python2.4/site-packages']
> >>>
>
>
> Other than that, it looks pretty stable to me!
>
> ** Bug watch added: Debian Bug tracker #516396
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516396
>

Revision history for this message
C.J. Collier (cjcollier) wrote : Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

cjac@calcifer:/usr/src/git/alioth/dlr-languages$ git log 5b4d1b3b603fe1ef0fddca9ac5938574c1318f0c..HEAD
commit bda28bf1b8ae90a7879b8206b6a35f94cd2b78f1
Author: C.J. Adams-Collier <email address hidden>
Date: Wed Mar 17 10:15:33 2010 -0700

    passing -X:TabCompletion argument so that ^D<enter> exits the REPL

commit db4af09e5b1ef5c65967ca1e90d71f82f143bb59
Author: C.J. Adams-Collier <email address hidden>
Date: Wed Mar 17 10:04:01 2010 -0700

    * modified IRONPYTHONPATH to include the python standard library
    * added Suggests: python2.6-minimal to debian/control
cjac@calcifer:/usr/src/git/alioth/dlr-languages$ ipy
IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['/usr/src/git/alioth/dlr-languages', '/usr/lib/python2.6', '/usr/lib/ironpython/Lib', '/usr/lib/ironpython/DLLs', '/usr/lib/ironpython']
>>> ^D
cjac@calcifer:/usr/src/git/alioth/dlr-languages$

Revision history for this message
C.J. Collier (cjcollier) wrote : RE: [Bug 525547] Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

I've made a pretty simple alteration to the wrapper script at Michael
Foord's suggestion:

index 702e8be..57b1a08 100644
--- a/debian/ipy
+++ b/debian/ipy
@@ -4,5 +4,8 @@ if [ "$1" = "--debug" ]; then
        MONO_OPTIONS="--debug"
        shift
 fi
+
+IRONPYTHONPATH=$IRONPYTHONPATH:/usr/lib/python2.6
+export IRONPYTHONPATH

 /usr/bin/mono $MONO_OPTIONS /usr/lib/ironpython/ipy.exe "$@"

On Wed, 2010-03-17 at 17:29 +0000, Dino Viehland wrote:
> This most have been a modification made to IronPython 1.1.1. I would guess
> the Ubuntu site.py has been modified to append these directories and a
> similar change would need to be made for Ipy 2.6. But someone could have
> modified the Ipy source to include these directories as well.
>
> > -----Original Message-----
> > From: C.J. Adams-Collier [mailto:<email address hidden>]
> > Sent: Wednesday, March 17, 2010 8:48 AM
> > To: Bug 525547; Dino Viehland
> > Subject: Re: [Bug 525547] Re: [FFe] Please sync dlr-languages
> > 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)
> >
> > Dino,
> >
> > Can you answer #1 below?
> >
> > Cheers,
> >
> > C.J.
> >
> >
> > On Wed, 2010-03-17 at 14:20 +0000, Savvas Radevic wrote:
> > > I backported ironpython (2.6 Beta 2 DEBUG (2.6.0.20)) for karmic and
> > > lucid and tested it on both ubuntu 9.10 and daily build of future 10.04.
> > > I noticed two "bugs" (inconveniences might be a better word):
> > >
> > > 1. The command "import sys; print(sys.path)" doesn't contain
> > > python-2.6 directories by default. The older ironpython (1.1.1) does.
> > > Is this deliberate?
> > >
> > > 2. In the interactive shell, ctrl-z doesn't close the app anymore, I
> > > have to use "killall -9 ipy" as well. However, "import sys; sys.exit()"
> > > works! This reply in a bug report saved the day:
> > > http://bugs.debian.org
> > > /cgi-bin/bugreport.cgi?bug=516396#15
> > >
> > > The log for the first point:
> > > $ ipy
> > > IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433 Type
> > > "help", "copyright", "credits" or "license" for more information.
> > > >>> import sys
> > > >>> sys.path
> > > ['.', '/home/forger', '/usr/lib/ironpython/Lib',
> > > '/usr/lib/ironpython/DLLs', '/usr/lib/ironpython']
> > > >>> sys.exit()
> > >
> > > $ apt-cache policy ironpython
> > > ironpython:
> > > Installed: 2.6~beta2-1~karmic1
> > > Candidate: 2.6~beta2-1~karmic1
> > > Version table:
> > > *** 2.6~beta2-1~karmic1 0
> > > 100 /var/lib/dpkg/status
> > > 1.1.1-3 0
> > > 500 http://archive.ubuntu.com karmic/universe Packages
> > >
> > >
> > > [ After downgrading to 1.1.1 ]
> > >
> > > $ ipy
> > > IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1433 Copyright (c)
> > > Microsoft Corporation. All rights reserved.
> > > >>> import sys
> > > >>> sys.path
> > > ['/home/forger', '/usr/lib/ironpython/Lib', '/usr/lib/python2.4',
> > > '/usr/lib/python2.4/site-packages']
> > > >>>
> > >
> > >
> > > Other than that, it looks pretty stable to me!
> > >
> > > ** Bug watch added: Debian Bug tracker #516396
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516396
> > >
>

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian unstable (main)

Works like a charm!

ubuntu@ubuntu:~$ ipy
IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> random.random()
0.95889185227402107
>>> ^D

[pressed enter]

ubuntu@ubuntu:~$

Revision history for this message
C.J. Collier (cjcollier) wrote :

I've submitted a RFS to get the changes uploaded. I don't know how I would go about making a 1ubuntu1, but I would be willing to do this as well, if my co-maintainers agree.

Revision history for this message
Savvas Radevic (medigeek) wrote :

I think the universe repository freezes on April 10th, but I'm not 100% sure.

> I don't know how I would go about making a 1ubuntu1
I don't believe that is necessary, if you upload it in time for Debian. I'm not an expert in packaging, nor a MOTU, but I think the package is OK as it is and should work as expected in Ubuntu. :)

Revision history for this message
Martin Pitt (pitti) wrote :

Setting to "confirmed", this got already approved.

Changed in ironpython (Ubuntu):
status: New → Confirmed
Revision history for this message
Jo Shields (directhex) wrote :

Just uploaded the -2 package with Savvas's suggested fixes to Sid. So this should be syncable after the 3PM dinstall run

Revision history for this message
Savvas Radevic (medigeek) wrote :

Thanks! It's not yet in unstable, but I thought to prepare the bug title :)

summary: - [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-1 from Debian
+ [FFe] Please sync dlr-languages 20090805+git.e6b28d27+dfsg-2 from Debian
unstable (main)
Revision history for this message
C.J. Collier (cjcollier) wrote :

$ lsb_release -c ; apt-cache show ironpython | grep -m 1 Source
Codename: sid
Source: dlr-languages (20090805+git.e6b28d27+dfsg-2)

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

2010-03-26 17:14:53 INFO - <dlr-languages_20090805+git.e6b28d27+dfsg.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
[Updating] dlr-languages (0 [Ubuntu] < 20090805+git.e6b28d27+dfsg-2 [Debian])
 * Trying to add dlr-languages...
2010-03-26 17:14:55 INFO - <dlr-languages_20090805+git.e6b28d27+dfsg-2.diff.gz: downloading from http://ftp.debian.org/debian/>
2010-03-26 17:14:55 INFO - <dlr-languages_20090805+git.e6b28d27+dfsg-2.dsc: downloading from http://ftp.debian.org/debian/>
I: dlr-languages [universe] -> ironpython_1.1.1-3 [universe].

affects: ironpython (Ubuntu) → ubuntu
Changed in ubuntu:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.