[Bug 893091] Re: Port dbus-python to Python 3

2012-02-03 Thread Bug Watch Updater
** Changed in: python-dbus
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 893091] Re: Port dbus-python to Python 3

2012-01-20 Thread Barry Warsaw
Hi Jason,

On Jan 19, 2012, at 11:54 PM, Jason Gerard DeRose wrote:

I'm trying to back-port this to Oneiric to deliver in the Novacut Stable
PPA.  This will allow us to maintain compatibility with Oneiric for a
bit longer, and I figure help this shiny new port get more testing.

I think that's great.  I see no reason why the port shouldn't work on Oneiric.
In fact, I started the work there, before I upgraded my machines to Precise.

So my question is: do you think this is a reasonable thing to do, or is
this too risky/invasive?  Would having this tested on Oneiric be of any
use in the first place?

I think it would be great to have in a PPA.  I can't think of any risks.  It's
not an SRU candidate though.

If you think this is a bad idea, we'll drop support for Oneiric this
month... porting the Dmedia DBus service to python3-dbus went
wonderfully smooth, and I'm not turning back! Thanks for the fantastic
port!

Awesome!

BTW, I get some test failures when building on Oneiric, although I'm not
sure if this is reason for much concern:

https://launchpad.net/~novacut/+archive/daily/+build/3106062

https://launchpad.net/~novacut/+archive/daily/+build/3106063

Yep, these are known, and actually caused by some buggy packaging of dbus.  In
order to move the dbus binaries to /bin from /usr/bin, an unfortunate bug
crept into the packaging.  The debug version of dbus-launch ends up in the
production deb.

The effect of that is that when dbus gets a warning and DBUS_FATAL_WARNINGS is
enabled, dbus-launch will abort.  That's the signal 6 you're seeing.  In
practice this doesn't seem to affect anything because that envar is never
enabled afaict.  It *is* enabled in the dbus-python test suite, which is why
the builds are failing.

https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/913991

It's fixed in Precise of course. :)

My suggestion is to comment out this line in dbus-python's
dbus/test/run-test.sh script:

export DBUS_FATAL_WARNINGS=1

Your PPA should then build just fine.

Cheers!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 893091] Re: Port dbus-python to Python 3

2012-01-20 Thread Scott Kitterman
On Friday, January 20, 2012 07:18:20 PM you wrote:
 https://launchpad.net/~novacut/+archive/daily/+build/3106062
 
 https://launchpad.net/~novacut/+archive/daily/+build/3106063
 
 Yep, these are known, and actually caused by some buggy packaging of
 dbus.  In order to move the dbus binaries to /bin from /usr/bin, an
 unfortunate bug crept into the packaging.  The debug version of dbus-launch
 ends up in the production deb.

That looks like it might be SRU worthy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 893091] Re: Port dbus-python to Python 3

2012-01-20 Thread Barry Warsaw
On Jan 20, 2012, at 07:39 PM, Scott Kitterman wrote:

On Friday, January 20, 2012 07:18:20 PM you wrote:
 https://launchpad.net/~novacut/+archive/daily/+build/3106062
 
 https://launchpad.net/~novacut/+archive/daily/+build/3106063
 
 Yep, these are known, and actually caused by some buggy packaging of
 dbus.  In order to move the dbus binaries to /bin from /usr/bin, an
 unfortunate bug crept into the packaging.  The debug version of dbus-launch
 ends up in the production deb.

That looks like it might be SRU worthy.

I'm open to that.  I don't think it's a critical problem since in practice
that environment variable won't usually be set.  OTOH, it should be a totally
safe change.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-19 Thread Jason Gerard DeRose
Barry,

I'm trying to back-port this to Oneiric to deliver in the Novacut Stable
PPA.  This will allow us to maintain compatibility with Oneiric for a
bit longer, and I figure help this shiny new port get more testing.

So my question is: do you think this is a reasonable thing to do, or is
this too risky/invasive?  Would having this tested on Oneiric be of any
use in the first place?

If you think this is a bad idea, we'll drop support for Oneiric this
month... porting the Dmedia DBus service to python3-dbus went
wonderfully smooth, and I'm not turning back! Thanks for the fantastic
port!

BTW, I get some test failures when building on Oneiric, although I'm not
sure if this is reason for much concern:

https://launchpad.net/~novacut/+archive/daily/+build/3106062

https://launchpad.net/~novacut/+archive/daily/+build/3106063

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~barry/ubuntu/precise/dbus-python/python3-from-
upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-12 Thread Launchpad Bug Tracker
This bug was fixed in the package dbus-python - 0.84.0-2ubuntu1

---
dbus-python (0.84.0-2ubuntu1) precise; urgency=low

  * debian/patches:
- since-0.84.0.patch: Upstream unreleased changes from git tag
  dbus-python-0.84.0 to HEAD.  This is a precursor to the following.
- python3-support.patch: Upstream unreleased changes from git
  `python3` branch for supporting Python 3. (LP: #893091)
  * debian/rules: Enable the test suite.
 -- Barry Warsaw ba...@ubuntu.com   Thu, 12 Jan 2012 14:47:33 +0100

** Changed in: dbus-python (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/dbus-python

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 893091] Re: Port dbus-python to Python 3

2012-01-10 Thread Barry Warsaw
On Jan 07, 2012, at 10:08 PM, Jason Gerard DeRose wrote:

Barry, another little packaging issue I found: looks like the
`dbus._compat` module isn't being included:

 import dbus
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.7/dist-packages/dbus/__init__.py, line 69, in 
 module
from dbus._compat import is_py2
ImportError: No module named _compat

Same issue under Python3.

Hi Jason.  Thanks so much for testing the PPA.  This will be fixed in ~ppa4.
I forgot to update Makefile.am with the new dbus/_compat.py file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 893091] Re: Port dbus-python to Python 3

2012-01-10 Thread Barry Warsaw
On Jan 07, 2012, at 09:04 PM, Jason Gerard DeRose wrote:

Barry, awesome, exciting stuff!

I just tried upgrading to the package in your PPA, and got this error:

dpkg: error processing 
/var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb 
(--unpack):
 trying to overwrite '/usr/include/dbus-1.0/dbus/dbus-python.h', which is also 
 in package python-dbus 0.84.0-2build1
Preparing to replace python-dbus 0.84.0-2build1 (using 
.../python-dbus_0.84.0-2ubuntu1~ppa3_amd64.deb) ...
Unpacking replacement python-dbus ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb

Doing a `sudo apt-get install -f` afterward fixed it though.  Looks like
the problem is it's trying to install python-dbus-common before
upgrading the old python-dbus, which I think this would fix:

Package: python-dbus-common
Conflicts: python-dbus ( ${source:Version})

Good catch!  I just uploaded ~ppa4 which adds this (and fixes the _compat.py
problem).  Please test it again when the PPA eventually builds. ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-07 Thread Jason Gerard DeRose
Barry, awesome, exciting stuff!

I just tried upgrading to the package in your PPA, and got this error:

dpkg: error processing 
/var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb 
(--unpack):
 trying to overwrite '/usr/include/dbus-1.0/dbus/dbus-python.h', which is also 
in package python-dbus 0.84.0-2build1
Preparing to replace python-dbus 0.84.0-2build1 (using 
.../python-dbus_0.84.0-2ubuntu1~ppa3_amd64.deb) ...
Unpacking replacement python-dbus ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb

Doing a `sudo apt-get install -f` afterward fixed it though.  Looks like
the problem is it's trying to install python-dbus-common before
upgrading the old python-dbus, which I think this would fix:

Package: python-dbus-common
Conflicts: python-dbus ( ${source:Version})

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-07 Thread Jason Gerard DeRose
Barry, another little packaging issue I found: looks like the
`dbus._compat` module isn't being included:

 import dbus
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.7/dist-packages/dbus/__init__.py, line 69, in module
from dbus._compat import is_py2
ImportError: No module named _compat

Same issue under Python3.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-07 Thread Dmitry Shachnev
** Also affects: python-dbus via
   https://bugs.freedesktop.org/show_bug.cgi?id=26420
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-dbus/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-06 Thread Colin Watson
** Summary changed:

- Port to Python 3
+ Port dbus-python to Python 3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-python/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 893091] Re: Port dbus-python to Python 3

2012-01-06 Thread Barry Warsaw
An update for the new year: here is the upstream issue tracking progress

https://bugs.freedesktop.org/show_bug.cgi?id=26420

Current status is that I have a working github branch (linked to above)
addressing the issues brought up by the upstream maintainer.  It is
currently under review.  Many of the smaller preparatory changes needed
have already been merged upstream, and the github branch has a few more
before the bigger Python 3 revision.

I also have the entire diff as a patch to the Precise source branch and
I'm working out the packaging issues needed to provide python3 packages
for everything.  This includes splitting out the common stuff into a
python-dbus-common package.  I don't quite have the packaging working
yet, but this will go into ppa:barry/python when it's ready, hopefully
later today.

I'll also point out another bug concerning dbus-python on Ubuntu as of
11.10+ which I'm tracking too:

https://bugs.freedesktop.org/show_bug.cgi?id=43303

This causes dbus-launch to SIGABRT when DBUS_FATAL_WARNINGS=1 (as it is
in the dbus-python test suite).  We're still trying to figure out the
cause of this.


** Bug watch added: freedesktop.org Bugzilla #26420
   https://bugs.freedesktop.org/show_bug.cgi?id=26420

** Bug watch added: freedesktop.org Bugzilla #43303
   https://bugs.freedesktop.org/show_bug.cgi?id=43303

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893091

Title:
  Port dbus-python to Python 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-python/+bug/893091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs